Japanese EUC-JP locale:
- add a #define (wxMOTIF_NEW_FONT_HANDLING) defaulting to
off
- factor the code for getting text extents in a central
wxGetTextExtent function
- when the new font handling is enabled load a fontset instead of
a single font. For non-Japanese locales this should load a fontset
containing a single font.
- on a Japanese locale set the default point size to 15: the Japanese
fonts I have are much more readable like this.
- do not set the wordwrap property for multiline wxTextCtrl with
OpenMotif 2.1, otherwise it crashes when text is added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
creates one ApplicationShell per display, and makes top
level windows popup childs of the ApplicationShell.
Removed a couple of unused variables from wxApp.
Replaced some calls to wxGetDisplay with XtDisplay(widget)
or event.xany.display, and some others with wxGlobalDisplay
(the latter changes are just eyecandy).
Used wxFlushEvents where appropriate.
Fixed (hopefully) wxFindAcceleratorText and wxFindAccelerator;
for now the new version is still disabled, awaiting further testing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
in wxMotif; solves various bugs related to wxMask
handling (and effectively adds a lot of wxMask
functionality previously missing).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
by one index, and a crash (probably a Motif bug).
Improved wxSpinButton appearance.
Fixed some build warnings here and there in the samples,
removed use of deprecated wxList methods in prntdlgg.cpp, fixed
aot-of-range ID in tipdlg.cpp, fixed some errors detected by
valgrind.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
is 2.0 or higher.
Now Motif 2.0 or better (but not Lesstif) uses XmRenderTable instead
of the deprecated XmFontList. This allows underlined text in controls.
Miscellaneous cleanup; used wxXmString in some more places.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
style from sunken to the default Motif style.
Added some convenience macros for checking Motif/Lesstif version.
Fixed the bug that caused wxStaticBox size to change when label text
was changed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
wxTextCtrl, and used it when wxSize(-1, -1) is passed to Create, to set
the initial size.
Added wxDoChangeFont and wxXmStringToString helper functions, removed
the use of m_stringList in native wxComboBox, removed some duplicated code
in wxWindow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
from Ian Brown, with some modifications; this patch replaces the (GPL)
Motif ComboBox with an implementation based on the native (for Motif 2.0)
ComboBox. The old ComboBox is still used as a fallback for older Motif
versions. My modifications include some method's implementation and
some workarounds for LessTif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
wxWindow::DoPopupMenu and for the application main loop.
Implemented wxWakeUpIdle.
Fixed crash when a popup menu entry is used to close/destroy the parent
window of the menu.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
a) tear off menus
b) native dialogs
c) crash in ~wxWindow fixed
d) compilation and linking fixes
2. test code removed from minimal sample, text one compiles without clipboard
3. wxAppBase/wxApp small fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775