Michael Wetherell
f2555abd7a
Fix uses of wxUSE_METAFILE, patch 1262723 Paul Cornett
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 13:48:24 +00:00
Vadim Zeitlin
a351409ef2
compilation fix for wxUnivGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-18 22:16:52 +00:00
Mattia Barbon
b0b2263b50
Fix the condition to always #define wxMOTIF_NEW_FONT_HANDLING
...
(currently always defined to 0 for safety).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-18 00:41:18 +00:00
Mart Raudsepp
f26623c817
[wxGTK2] gtk+-2.8.0 compatibility. Removed the usage of pango_x_get_context to not depend on a fully deprecated
...
pangox library, which is not pulled in with gtk+-2.8.0. The pango_x_get_context call was (arguably) making font
drawing on top of a wxDC slightly faster on (especially remote) X11 in case of non-antialiased fonts (I was unable to
find a non-antialiased font that actually returns true for GetNoAntiAliasing()).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 21:40:44 +00:00
Vadim Zeitlin
befb44cf2e
added GetCurrentSelection() which is the same as GetSelection() for Mac but needed for compatibility with the other ports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 14:24:28 +00:00
Vadim Zeitlin
40eb3606eb
added GetCurrentSelection(); made GetSelection() behave as documented (and not as before); don't send TEXT_UPDATED events until the combobox is closed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 14:22:41 +00:00
Vadim Zeitlin
bb8051f2fd
hacked around wxGTK wxStaticText which doesn't derive from wxStaticTextBase (argh): declare and define Wrap() directly in wxStaticText for this port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 13:47:35 +00:00
Vadim Zeitlin
6ba93d23bf
made wxChoice and wxComboBox::GetSelection() return only completed selection in wxMSW; added GetCurrentSelection() with the old behaviour and documented it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 13:30:33 +00:00
Vadim Zeitlin
644e896d3f
don't take wxID_NONE inside #if wxABI_VERSION check: it's (going to be) used inside the library itself and, anyhow, there is no harm in letting even the user code compiled with lower than current wxABI_VERSION to see it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 12:56:21 +00:00
Jouk Jansen
51c742ddf8
Committing in .
...
Solves link problem of wxMOTIF on OpenVMS
Modified Files:
wxWidgets/include/wx/vms_x_fix.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 06:55:33 +00:00
Vadim Zeitlin
dec48aa578
hacked around wxGTK wxStaticText which doesn't derive from wxStaticTextBase (argh): declare and define Wrap() directly in wxStaticText for this port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 00:01:35 +00:00
Vadim Zeitlin
5d1b49193b
added wxStaticText::Wrap()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-16 23:14:34 +00:00
Włodzimierz Skiba
bd33d4acf6
Public access to MSWWindowProc() for wxQTMediaBackend::QTWndProc() under wxUnivMSW.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-16 20:32:31 +00:00
Vadim Zeitlin
442a79c0b4
fixed warning about mismatching dlldecl when building as DLL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-16 10:06:35 +00:00
Julian Smart
992b3f1da4
Fixed dangling pointers bug; radio button was not removing itself from
...
the cycle when deleted, so when deleting and then adding a radio button, we
get a crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-13 09:48:29 +00:00
Vadim Zeitlin
6bbe97b71d
force update of MDI client window size after the MDI parent frame is iconized and restored, otherwise all kinds of bad things (changes in MDI children positions; possibility to move them above the toolbar and below the status bar; wrong repaining) happen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-11 13:24:56 +00:00
Vadim Zeitlin
952f2aaa86
added wxSIZE_FORCE flag for SetSize()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-11 13:21:45 +00:00
Vadim Zeitlin
749870835d
check that wxUSE_DC_CACHEING is defined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-11 13:10:09 +00:00
Michael Wetherell
7147aa4780
#define wxUSE_STD_STRING to 0 rather than #undef it, patch 1255570 from Jan van Dijk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-10 21:24:42 +00:00
Michael Wetherell
8b9e1f439b
Comment typo fixes from Vince Harron
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 22:05:05 +00:00
Vadim Zeitlin
de1b0aeb6c
removed mentions of wxUSE_OWNER_DRAWN: unless I miss something, this doesn't make any sense for Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 21:49:22 +00:00
Vadim Zeitlin
592a746534
fix problems with __POWERPC__ being redefined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-07 15:53:22 +00:00
Julian Smart
4a3a0eada4
Compatibility settings corrected
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-06 17:55:56 +00:00
Vadim Zeitlin
86e3091191
don't remember size passed to SetSize() as pending position/size for TLW as deferred move is not used for them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 17:35:38 +00:00
Chris Elliott
fa776a5809
apply SF patch 1252602 to remove warnings in bcc and watcom
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 15:23:38 +00:00
Vadim Zeitlin
f3cb0d85b4
compilation fix for WXWIN_COMPATIBILITY_2_2 (bug 1252476)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 11:48:43 +00:00
Vadim Zeitlin
3df732cd47
removed wxUSE_MENU_CALLBACK references: the code inside the #if couldn't compile anyhow as wxFunction isn't defined in wx since quite some time now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 20:35:09 +00:00
Vadim Zeitlin
85fa5d02d8
removed (unused since quite some time) wxUSE_ITSY_BITSY
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 20:31:11 +00:00
Vadim Zeitlin
91ebae296d
removed wxUSE_PENWINDOWS (and its misspellings), it didn't work and wasn't used/defined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 20:28:00 +00:00
Vadim Zeitlin
16f10340da
define wxUSE_MFC as 0 if it's not defined (fixes gcc -Wundef warning)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 20:21:49 +00:00
Julian Smart
550f38d743
More settings restored.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 14:51:40 +00:00
Julian Smart
e7c240da70
Switched loads of settings back on
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 10:28:19 +00:00
Julian Smart
b7972e1fa8
Resolved CVS conflict
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 10:05:41 +00:00
Vadim Zeitlin
52ca5b5941
define wxFsync() as fsync() under Unix not as (not existing) commit()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 01:05:26 +00:00
Vadim Zeitlin
2ff3507939
define wxUSE_IPV6 as 0 to avoid -Wundef warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 00:28:58 +00:00
Vadim Zeitlin
187202106f
NEED_GTK_ICON_SIZE_LOOKUP was incorrectly tested using #if instead of #ifdef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 00:25:20 +00:00
Vadim Zeitlin
25e6c06102
due to a typo in #if condition, validation was disabled for wizard pages -- fixed now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 00:22:47 +00:00
Vadim Zeitlin
39de6d6ca1
define wxUSE_LINE_IN_LISTBOOK to avoid -Wundef warnings (but define it as 0 so thje line is still disabled by default)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 00:16:43 +00:00
Vadim Zeitlin
494c7caa78
define WXWIN_COMPATIBILITY_EVENT_TYPES as 0 if it's not defined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 23:44:05 +00:00
Vadim Zeitlin
498919ddcd
test for __MWERKS__ with #ifdef, not #if (fixes a -Wundef gcc warning)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 20:08:14 +00:00
Vadim Zeitlin
376a8ce2d4
get rid of wxUSE_COMPATIBLE_COORD_TYPES, it is not used nor defined anywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 20:06:28 +00:00
Michael Wetherell
94c7b08817
Add import/export attributes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 00:53:09 +00:00
Michael Wetherell
20123d4958
Add import/export attributes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-02 22:58:06 +00:00
Michael Wetherell
5b12cceef8
Expand tabs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-02 20:57:54 +00:00
Michael Wetherell
968eb2ef39
Add import/export macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-02 18:16:51 +00:00
Mattia Barbon
996994c714
Allow displaying Japanese character with wxMotif/ANSI under a
...
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
2005-07-31 09:42:16 +00:00
Mattia Barbon
6603071a99
Make wxBase compiled for wxMotif compatible with wxbase compiled
...
with all the other Unix-ish ports. Thanks to Ian Brown for nagging
about this.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 17:17:32 +00:00
Vadim Zeitlin
b55c37167d
moved MSW-specific stuff to wx/msw/chkconf.h, this also means that MSW-specific checks are not done for WinCE build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 12:48:40 +00:00
Vadim Zeitlin
7ecb668390
define wxUSE_UNICODE_MSLU as 0 unconditionally, CE doesn't support nor need MSLU
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 12:46:11 +00:00
Julian Smart
7bccea09a7
Define wxUSE_UNICODE_MSLU or chkconf.h complains
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 11:51:07 +00:00