Włodzimierz Skiba
faa49bfd39
Get/SetTitle only for wxTopLevelWindow (wxMSW part).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 16:47:29 +00:00
Julian Smart
1ca78aa1dc
Applied patch [ 1307056 ] [wxMSW] Focus showing fix for Win2k/XP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 10:53:16 +00:00
Vadim Zeitlin
c358ea4147
filter out duplicate mouse move events too; moved last mouse event info from wxWindow class to static variables (there is only one mouse in the system after all, no need to duplicate this data in all windows)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 13:04:40 +00:00
Vadim Zeitlin
3ef092d63b
(blind) fix for keyboard cues display under XP (bug 1298512)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-27 11:08:42 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Vadim Zeitlin
d7e0024b09
fix showing keyboard cues under Win2k/XP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-03 23:00:22 +00:00
Vadim Zeitlin
f7040b5fe6
added IsSizeDeferred() (part of patch 1199639)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 16:19:45 +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
Vadim Zeitlin
7d86a2d45c
replaced wxMoveWindowDeferred() with wxWindow::DoMoveSibling()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 00:01:51 +00:00
Julian Smart
ce0e1aacbc
Applied patch [ 1218833 ] [wxMSW] wxListBox optimisation for XP
...
Also removed temporary fix to hardwire listbox background colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 15:36:48 +00:00
Robin Dunn
67644c1dd8
Moved the pending pos and size into wxWindowMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-19 22:17:01 +00:00
Michael Wetherell
fa61fec500
Another attempt at a compilation fix for VC++ 5 and 6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-14 22:01:09 +00:00
Michael Wetherell
595e2858d9
Reverting previous commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-14 21:30:23 +00:00
Michael Wetherell
22423eac8b
Compilation fix for VC++ 5 and 6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-14 21:18:12 +00:00
Julian Smart
55079b432b
Removed previous broken fix for deferred positioning bug, and added
...
fix using sizers, which works better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-29 18:58:38 +00:00
Julian Smart
8e44f3caab
Worked around an apparent bug in Windows whereby some deferred positioning
...
failed: specifically when changing a position from x, to y, to x again.
Added deferred positioning to wxRadioBox, wxSlider and wxSpinCtrl and thereby
eliminated some refresh glitches when resizing.
Eliminated further refresh glitches caused by wxRadioBox (to nearby controls)
by refreshing parent when the radio box moves.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-28 14:45:09 +00:00
Vadim Zeitlin
1a784dfc80
after latest changes background of radio buttons _not_ inside the notebook wasn't redrawn at all, fixed this
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 14:41:36 +00:00
Vadim Zeitlin
2bae4332e7
extended wxWindow::MSWGetBgBrush() and wxControl::MSWControlColor() to work for arbitrary HWNDs and not just wxWindows: this allows us to draw proper background for slider labels and other subcontrols
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 21:55:12 +00:00
Vadim Zeitlin
c3732409ac
simplifications and corrections to background drawing:
...
1. removed ApplyParentThemeBackground() not used any longer
2. removed ProvidesBackground() which is synonymous with
!HasTransparentBackground()
3. removed a whole bunch of unused MSWXXX() methods
4. moved MSWControlColor() from wxWindow up to wxControl
results:
1. the gradient is still shown properly for static/radio boxes in notebooks
2. correct background colour is used for the static boxes
3. code is shorter and better commented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 15:23:08 +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
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
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
Vadim Zeitlin
3b72cd917f
don't include wx/msw/wrapwin.h in public header; corrected the m_hDWP type instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 22:46:32 +00:00
Włodzimierz Skiba
fa9a4f7f81
Error fix after recent changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 18:32:29 +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
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
Włodzimierz Skiba
e951b8e4e6
Move unused values into 2.4 compatibility. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-15 12:22:51 +00:00
Vadim Zeitlin
bdd1a35ddc
(blind) wxUniv compilation fix: define the method using wxWindow out of line, i.e. after wxWindow is defined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 19:42:35 +00:00
Vadim Zeitlin
c5bd3c6268
rewrote and virtualized the background erasing logic: each window may now
...
specify which background brush should be used for its children and each child
may also choose to use either background brush or (solid) background colour
wxWindow::OnEraseBackground() and wxControl::MSWControlColor() now use the
same code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 00:09:54 +00:00
Vadim Zeitlin
48fa6bd38a
replaced OnCtlColor(7 params) with MSWControlColor(1 param)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:40:31 +00:00
Vadim Zeitlin
01c500af65
removed (unused) nCtlColor parameter of OnCtlColor(); added MSWControlColor(); implemented it to use tab control background if applicable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 18:37:42 +00:00
Vadim Zeitlin
8681b0940e
restored OnEraseBackground(), we do need it but only for the cases when the window has a non default background colour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 18:10:48 +00:00
Vadim Zeitlin
e2c49e5cd2
don't always erase the background ourselves as this is incompatible with XP themed appearance (replaces patch 1046164)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 14:43:51 +00:00
Włodzimierz Skiba
373a5fb355
Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 13:36:41 +00:00
Vadim Zeitlin
ed4780ea6e
added As/DissociateHandle() and implemented it for MSW (modified patch 972356)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-11 22:17:22 +00:00
Włodzimierz Skiba
27d2dbbcca
Source cleaning: -1/wxID_ANY/wxDefaultCoord, ::, !!/!IsEmpty(), TRUE/true. FALSE/false, tabs, whitespaces.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-07 11:11:05 +00:00
David Elliott
79099b80ad
wxWindowMSW::OnInitDialog is only implemented for WinCE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-28 19:34:19 +00:00
Julian Smart
d26e1ab206
Worked around static box opaqueness problem on WinCE by setting the
...
z-order in OnInitDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-28 09:34:25 +00:00
Vadim Zeitlin
a494b2bc2c
added IsFrozen() (part of patch 925808)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:30:08 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Mattia Barbon
54d73f3d78
wxUniversal compilation fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 16:56:16 +00:00
Mattia Barbon
40ad34262a
wxUniversal compilation fix. The fix is ok because this ash
...
is a wxMSW data structure, and can only contain wxMSW windows.
Compilation tested with and without wxUniversal and with and without
WXWIN_COMPATIBILITY_2_4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 10:19:14 +00:00
Vadim Zeitlin
824a614c4e
removed HandleSysCommand() and don't generate duplicate events for frame maximization/iconization
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 10:05:33 +00:00
Vadim Zeitlin
cbc8c6ee97
moved wxWinHandleHash below wxWindow declaration as otherwise the dtor of forward declared wxWindow is not called inside WX_DECLARE_HASH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-22 18:06:23 +00:00
Vadim Zeitlin
ff79234425
distinguish between main keyboard and numeric enter keys (fixes 902095)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-21 23:13:50 +00:00
Vadim Zeitlin
a1037371af
wxWindow::Freeze()/Thaw() can now be nested
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 18:15:00 +00:00
Julian Smart
c140b7e7c9
Applied patch [ 903619 ] Win64 and Itanium support
...
by Brian Palmer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-25 10:45:02 +00:00