Commit Graph

15460 Commits

Author SHA1 Message Date
Vadim Zeitlin
cb0791531f added debug/release DLL configurations so that VC++ chooses the right one when building wx as DLL (should close 877037)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 02:11:03 +00:00
Vadim Zeitlin
1b965a9cfb call gdk_flush() in Update() (see discussion of patch 1047642)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 01:24:22 +00:00
Vadim Zeitlin
89448b5dd7 use different image for pressed button state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 00:10:56 +00:00
Vadim Zeitlin
7cf3223a80 implementation of wxRendererXP::DrawComboBoxDropButton() (patch 1144845)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 00:04:24 +00:00
Robert Roebling
e04507df82 Changed wxFopen() calls to use c_str
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 20:50:17 +00:00
Robert Roebling
ef00dc0917 Applied patch to allow resizing the popup window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 20:46:37 +00:00
Robert Roebling
4fcfa27cb3 Added LDOWN handler for wxListBox so that it wil
deselect a selected item if clicke upon. This is
   actually not the native GTK+ behaviour, but the
   native behaviour seems just broken.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 20:39:51 +00:00
Robert Roebling
4adb6d28f7 Commited fix for wrong background colour in TLWs. I don't
know if this will play well with themes. Alternatively,
   one could change one of the few lines below to parent == this;


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 19:35:40 +00:00
Vadim Zeitlin
50e768b95a removed explicit calls to gtk_glwindow_(realized/map)_callback() as they should be called by GTK+ itself anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 18:58:53 +00:00
Julian Smart
008881c3f0 Font correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 16:41:49 +00:00
Stefan Csomor
64f553a486 toggle corrected for click as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 16:41:09 +00:00
Stefan Csomor
d351c8ee8f added missing files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 16:27:19 +00:00
Stefan Csomor
9954f65067 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 16:26:10 +00:00
Stefan Csomor
f572d6495f changing include type for XCode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 16:24:35 +00:00
Vadim Zeitlin
f420a70918 wxUniv compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 15:09:20 +00:00
Vadim Zeitlin
4e5c6c33c5 cleanup of TrackMouseEvent() code (use a single #ifdef instead of 3 different ones to test for the same thing)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 15:07:19 +00:00
Vadim Zeitlin
8067659371 compilation fix for wxUSE_STL==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 14:38:17 +00:00
Vadim Zeitlin
a91bcd3b54 removed wxLoadBitmap() introduced in 1.37 -> 1.38; just use DIBs under Windows CE as well, we surely shouldn't duplicate system functions _especially_ on a platform with limited resources such as CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 12:07:25 +00:00
Julian Smart
71f2ad997a Don't repaint window if hidden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 10:39:50 +00:00
Julian Smart
8ee64db5c1 Fix for compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 10:35:51 +00:00
Ryan Norton
16c81607bf if wxUSE_XXX fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 09:33:04 +00:00
Ryan Norton
a6900d1083 use on cocoa without fontmapper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 08:45:29 +00:00
David Elliott
7e00fd890f Don't build when __WXMAC__ is defined but __WXMAC_OSX__ is not (i.e. CFM).
FIXME: We really ought to put this (as well as the existing __WXWINCE__ check)
into files.bkl but I have no idea how to do it cleanly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 03:45:11 +00:00
Kevin Hock
a3b8b891fb Color dialog sliders make more sense inverted, with 0 at the bottom (slide the scale UP to add color, consistent with other "generic" color dialogs in other programs).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 03:22:54 +00:00
Vadim Zeitlin
bc13e77252 use native gtk_paint_expander() to implement DrawTreeItemButton() under GTK+ 2.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 01:54:51 +00:00
Dimitri Schoolwerth
28d90b8963 minor textual fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 01:54:32 +00:00
Vadim Zeitlin
a8ac548ed0 trying to draw transparent arrow instead of opaque one but it doesn't seem to change anything
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 01:33:03 +00:00
Vadim Zeitlin
e1befae3d2 yet more corrections to drop down button drawing: don't draw a border around the arrow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 01:06:42 +00:00
Vadim Zeitlin
9d9e32a07a don't use invalid font in wxDC used for measuring text extent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 00:52:49 +00:00
Vadim Zeitlin
b49f58fe12 compilation fix after last patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 00:45:10 +00:00
Vadim Zeitlin
afad4a880e added OnSysColourChanged() (modified patch 1103439)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 00:12:01 +00:00
Robin Dunn
719493e14b On wxMac don't call Refresh from FullPaint as that is the biggest
cause of the performance problems.  Instead call refresh when the
AutoComp window is displayed or hidden to ensure that borders,
etc. are drawn/erased as needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 23:45:18 +00:00
Vadim Zeitlin
94ac840b49 oops, fixed crash introduced in last check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 22:53:22 +00:00
Vadim Zeitlin
a6ed2b09a3 set string length to 0 in AllocBeforeWrite() just to be tidy (replaces patch 1123226)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 22:46:06 +00:00
Vadim Zeitlin
298ca00cdc added wxNavigationEvent::FromTab flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 21:59:21 +00:00
Vadim Zeitlin
7ff1b620e8 fix (with unknown but apparently beneficial effects) for TAB navigation in radio buttons (patch 1038330)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 21:58:48 +00:00
Vadim Zeitlin
828f093601 added InitAlpha() (replaces patch 991168)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 21:51:37 +00:00
Vadim Zeitlin
1dfd425a8c reenable WS_TABSTOP (patch 1045547)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 21:09:49 +00:00
Vadim Zeitlin
78a87a5d73 process CBN_SELENDOK and not only CBN_SELCHANGE (patch 1083907)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 20:57:50 +00:00
Vadim Zeitlin
964f23b70e fix for Create(wxDateInvalidDate)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 20:52:38 +00:00
Vadim Zeitlin
8008807eb1 we don't need to use solid colour for background drawing when we're inside notebook any longer, so no need to override MSWGetBgBrushForSelf()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 20:50:59 +00:00
Vadim Zeitlin
07c1932792 added MSWPrintChild() for drawing child background (replaces patch 1108389)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 20:49:50 +00:00
Robin Dunn
31059a74bd Fixed compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 20:16:37 +00:00
Stefan Csomor
08c8555e0b guarding against non supported logical modes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 20:04:05 +00:00
Stefan Csomor
69342052a4 use theme drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 19:56:23 +00:00
Stefan Csomor
d108f23649 adapt to mac l&f
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 19:55:18 +00:00
Vadim Zeitlin
4bd6ae0fad extracted check for wxListCtrl in WM_PRINT handler to wxListCtrl itself, base class shouldn't have to worry about its derived classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 19:24:46 +00:00
Stefan Csomor
2480cf888f Adding theme drawing for list header under 10.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 17:43:50 +00:00
Stefan Csomor
e604288b3e EVT_CHAR_HOOK added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 17:37:45 +00:00
Vadim Zeitlin
26f60eb6a4 don't steal EVT_RIGHT_UP in rich edit controls for context menu (patch 1143823)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 17:27:30 +00:00