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
Vadim Zeitlin
51d2fa37c4
more visual improvements to owner-drawn menus (patch 1143785)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 17:25:37 +00:00
Vadim Zeitlin
0afa5859ab
wxGenericListCtrl::SetItemState(-1) now changes the state of all items (patch 1101650)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 17:07:17 +00:00
Vadim Zeitlin
50f65637a8
added more icons (for GTK only) (patch 1097684)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 16:56:13 +00:00
Vadim Zeitlin
62d9eab60c
fixed hash collisions in ZIP files (patch 1082026)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 16:53:49 +00:00
Vadim Zeitlin
f260c476e4
wxCommandProcessor::MarkAsSaved() and IsDirty() added (modified patch 1062556)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 16:52:08 +00:00
Vadim Zeitlin
07d0abae96
document GetOptionInt() as returning 0 for the options which are not present
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 16:33:38 +00:00
Vadim Zeitlin
fe9308c639
more options for JPEG and TIFF handlers (slightly modified patch 1044470)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 16:32:29 +00:00
Vadim Zeitlin
a4622f29d8
draw drop down button using native calls (patch 1144389)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 15:54:07 +00:00
Vadim Zeitlin
3e15dde396
added wxMBConv parameter for wxFFile::ReadAll() and documented it (improved patch 1041642)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 15:53:04 +00:00
Stefan Csomor
b2f3b00bd2
switching to IconRefs for menu bitmaps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 15:42:37 +00:00
Stefan Csomor
a8f234d2a9
cleaning up, adding support for Quartz / Themeing before 10.3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 15:34:35 +00:00
Stefan Csomor
4a63451be5
fixes, adding paint handler for non OSX case toplevel window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 15:30:16 +00:00
Stefan Csomor
431c82e03e
adding PICT conversion for IconRef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 15:24:13 +00:00
Vadim Zeitlin
f52c3131bf
VK_MENU is WXK_ALT, notWXK_MENU (patch 1119601)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 15:08:36 +00:00
Vadim Zeitlin
930fb29eb8
fixes for MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 14:25:21 +00:00
Vadim Zeitlin
407020995e
1. undid the "simplification" of patch 1096066 which resulted in a crash
...
(see this patch discussion)
2. check that all views agree to close before starting to delete them
3. commented the code so that the next poor soul looking at it will know
that deleting a view can delete the document which deletes -- surely
wasn't obvious to me...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 13:45:31 +00:00
David Elliott
6177576129
include wx/setup.h and check to make sure it's not the configure created
...
setup.h before doing anything specific for Metrowerks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 08:27:01 +00:00