Julian Smart
16d652a54c
Use InvalidateRect for Smartphone.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 08:33:10 +00:00
Włodzimierz Skiba
480e9098a2
Smartphone fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 08:09:28 +00:00
Vadim Zeitlin
d181e05329
changed wxWindow::Refresh() to refresh the window children as well (as wxGTK already did); documented this as correct behaviour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 16:32:48 +00:00
Vadim Zeitlin
dc993cbfc6
do nothing in Freeze/Thaw() if the window is hidden, otherwise the window is not redrawn correctly after being eventually shown
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-25 23:49:48 +00:00
Włodzimierz Skiba
d53e5a41d3
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-25 17:40:31 +00:00
Vadim Zeitlin
bd87d59d57
reversed disabling of deferred resizing in the last check in
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-25 11:45:24 +00:00
Julian Smart
85d8df29aa
Switch deferred sizing off by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 09:28:51 +00:00
Vadim Zeitlin
44353523d8
document (and check for it with assert) that wxGetKeyState(WXK_[LMR]BUTTON) doesn't work (patch 1156279)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 23:05:16 +00:00
Julian Smart
afafd942a1
Added WXK_SPECIAL... keycodes for special hardware buttons
...
Made (Un)RegisterHotKey WinCE-aware.
Added wxEVT_HIBERNATE event.
Now fakes wxEVT_ACTIVATE_APP to be symmetrical with wxEVT_HIBERNATE.
Added wxTE_CAPITALIZE for CAPEDIT controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 14:26:57 +00:00
Włodzimierz Skiba
01d2bf4def
Correct sending of wxW event from wxChoice on MS Smartphone.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-13 15:32:30 +00:00
Vadim Zeitlin
c7e1d00462
slightly clarified msw.window.no-clip-children test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-09 00:02:55 +00:00
Vadim Zeitlin
04bea5f8fd
removed unused wxDirToWinStyle() (part of patch 1159289)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 20:11:06 +00:00
Vadim Zeitlin
040e5f77e6
harmless warning fixes for WinCE (mostly unused parameters)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 19:50:06 +00:00
Włodzimierz Skiba
e5ecf1fc24
In MSWUniv wxWindow and wxWindowMSW are different classes so we can't access some of protected members (catched only by Borland). Therefore some of the flags related to background needs reading API.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-02 10:57:08 +00:00
Robin Dunn
03cef64339
Oops, checked in wrong file by mistake. Reverted last change.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 19:34:13 +00:00
Robin Dunn
a0c70b7642
Don't build the old versions of OGL or iewin by default anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 19:19:25 +00:00
Stefan Csomor
fb7e28db37
XTI fix for VC 7.1 (VC 8.0 didn't complain)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 16:33:22 +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
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
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
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
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
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
Włodzimierz Skiba
c47addef10
wxPoint/Size/Rect() causes the same code with (0,0) initialization and is incomparably more readable and clear.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-16 20:34:34 +00:00
Julian Smart
c0aadc6f40
Absolutely no idea what DisableAutomaticSETranslator is but
...
WinCE doesn't like it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-15 22:54:38 +00:00
Włodzimierz Skiba
8b5d5223d1
Various cleanings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 10:42:05 +00:00
Włodzimierz Skiba
c0ae5ebe05
wxWindow::GetClientAreaOrigin duplicated wxWindowBase method.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-10 10:27:12 +00:00
Julian Smart
c6430ed0ae
Can now set msw.window.no-clip-children to 1 to eliminate weird
...
refresh behaviour (delays between a window being erased and repainted,
giving a ghostly gradual-redraw effect). May be a temporary 'fix'
until properly fixed before 2.6.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 20:03:35 +00:00
Vadim Zeitlin
5e67eb9737
- use CreateWindowEx(), please explain why CreateWindow() is needed if it is
...
- use window name if it has no title (patch 1106877)
- corrected error message when window creation fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-31 23:45:52 +00:00
Vadim Zeitlin
3f48c8e275
moved Begin/EndDeferWindowPos() calls to WM_SIZE handler itself, don't use WM_WINDOWPOSCHANGING/ED as they sometimes don't come in pairs (slightly modified patch 1107147)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-30 15:39:05 +00:00
Robin Dunn
19a6943a67
Don't use the parent's defered sizing handle if the window in question
...
is a top-level window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 01:24:40 +00:00
Vadim Zeitlin
51e4e26670
reenabled WM_MOUSELEAVE event handling (patch 1104551); moved duplicated code in its handler in a new GenerateMouseLeave() method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 02:31:09 +00:00
Kevin Hock
687706f5e7
Use event modifiers and accessors rather than m_ variables directly, which are now protected rather than public with 2.4 compatibility disabled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 15:08:15 +00:00
Vadim Zeitlin
e4d03677b9
reset m_hDWP to NULL after calling EndDeferWindowPos()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-12 12:58:59 +00:00
Vadim Zeitlin
8d075f8d86
corrected bg colour inheritance once again: only immediate transparent children should inherit non inheritable parent bg colour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 20:06:28 +00:00
Vadim Zeitlin
52c3e064c7
don't ignore the background colour set for the dialog, even although it is a standard control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 17:10:30 +00:00
Vadim Zeitlin
accbb1e758
use HasTransparentBackground() to correctly draw the background of static text/box on a window with non-inheritable (== own) background set
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 16:59:48 +00:00
Vadim Zeitlin
c581abbcad
extracted background painting in a separate function so that it could be called from derived classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 14:38:07 +00:00
Włodzimierz Skiba
e32d4b8f07
wxMSWUniv wxWindowMSW vs. wxWindow fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 18:39:48 +00:00
Włodzimierz Skiba
5c64f8d44f
MS Smartphone fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 10:47:50 +00:00
Vadim Zeitlin
220f77b0d2
restored using DeferWindowPos() for moving all windows at once (this does help with flicker somewhat) but now call EndDeferWindowPos() from WM_WINDOWPOSCHANGED handler, not WM_SIZE one which is never generated for the dialogs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-04 18:57:41 +00:00
Włodzimierz Skiba
eb3e6de33b
Fixes to FIXME about stock IDs usage.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-29 21:15:57 +00:00
Vadim Zeitlin
48d597ed96
last fix resulted in wrongly inheriting bg colour from the parent with m_inheritBgCol == false, fixed the fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 23:27:49 +00:00
Vadim Zeitlin
b55ff31e20
fixes fo inheriting colours set with SetOwnBackround()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 21:09:01 +00:00
Vadim Zeitlin
57be9aac75
reverted use of DeferWindowPos() instead of MoveWindow()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 01:05:13 +00:00
Vadim Zeitlin
9b6ae4506e
use DeferWindowPos() instead of MoveWindow() if possible; always use WS_CLIPCHILDREN; never use WS_CLIPSIBLINGS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-19 22:08:47 +00:00
Vadim Zeitlin
cf8ff92f83
moved wxWindow::m_hMenu to wxFrame, it is not needed in the base class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-19 20:56:38 +00:00
Vadim Zeitlin
24cb401947
only use our background for children if it's inheritable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-19 20:39:36 +00:00
Robin Dunn
fc32cd4a59
Only test the high order bit from GetKeyState, otherwise we can have
...
bogus readings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 16:31:14 +00:00