Julian Smart
f219764488
Fix for WinCE - no delayed sizing for now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 16:30:14 +00:00
Włodzimierz Skiba
521bf4ff3e
Include order is wxprec.h=>defs.h=>platform.h=>setup.h so remove explicit setup.h inclusion not touched by chckconf.h.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 16:50:23 +00:00
Włodzimierz Skiba
11f104e5c1
Warning fixes after recent commits.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 15:29:58 +00:00
Jamie Gadd
dc497201eb
Calculate correct client size for windows that are using deferred sizing.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-25 23:40:20 +00:00
Robin Dunn
f57f984cc0
Switched wxCheckWindowWndProc to always use the window class name for
...
comparisons.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-25 20:26:59 +00:00
Vadim Zeitlin
c72b1ad70a
no changes but more comments in DoSetClientSize() (explains the change of rev 1.624 and also why we can't use AdjustWindowRect here)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-24 02:04:53 +00:00
Jamie Gadd
5004c3adef
Improve extended key handling code readability.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-23 10:01:46 +00:00
Jamie Gadd
413553cc60
Distinguish numpad extended keys. Fixes bug #1327720
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-22 05:04:31 +00:00
Julian Smart
55a667b658
Applied patch [ 1382329 ] [msw] SetScrollbar: Set thumbsize before triggering events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-18 10:12:31 +00:00
Vadim Zeitlin
0d7f75df79
return correct client size for child window which are being defer-resized
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-13 22:07:44 +00:00
Vadim Zeitlin
c70ffbdbf0
fixed crash with ownerdrawn menu items accelerators (Perry Miller)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-13 21:03:19 +00:00
Jamie Gadd
dd28827a04
Repainting fixes/improvements. Use SWP_NOCOPYBITS for statusbars, don't activate when using DeferWindowPos and remove WM_WINDOWPOSCHANGED code (no longer necessary).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-10 21:37:16 +00:00
Robin Dunn
7dd40b6f4b
Added wxGetMouseState which returns the current state of the mouse.
...
Returns an instance of a wxMouseState object that contains the current
position of the mouse pointer in screen coordinants, as well as
boolean values indicating the up/down status of the mouse buttons and
the modifier keys. Implemented for wxMSW, wxGTK and wxMac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-05 04:31:27 +00:00
Włodzimierz Skiba
a71d815bbe
__WIN95__ removed (used to differ win3.1 vs. 'modern' 95 look, nowadays always defined for WXMSW so useless). Minor cleanings and corrections for correct #includes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 10:47:44 +00:00
Chris Elliott
e795e8b56f
fix Borland bug http://news.gmane.org/find-root.php?message_id=%3c43A0B07F.8010204%40as.ro%3e
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-15 15:07:36 +00:00
Mart Raudsepp
90e572f1e5
Spelling fixes from Andreas Mohr (patch #1360064 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-19 01:07:56 +00:00
Kevin Hock
2175898cf6
Remove always moving window to the top of the Z-order on on Show
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 14:38:20 +00:00
Włodzimierz Skiba
41e155b43e
eVC4 warning fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-06 20:44:43 +00:00
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
Włodzimierz Skiba
7b504551c2
Pressing build-in joystick on WinCE phones fires wxEVT_JOY_BUTTON_DOWN event.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-29 12:48:07 +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
Dimitri Schoolwerth
2b053ae90a
fixed MSVC6 compilation error ("C2639: compiler generated default constructor required by unnamed class")
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-11 15:01:50 +00:00
Vadim Zeitlin
a068160f9f
don't call ::ShowWindow() if don't have HWND yet
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 16:52:41 +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
Kevin Hock
cff58b5299
Send mouse leave events in HandleMouseMove if HAVE_TRACKMOUSEEVENT is defined and the window has captured the mouse. This used to be done in OnInternalIdle, which now only sends leave events when HAVE_TRACKMOUSEEVENT is *not* defined. Patch from Jamie Gadd, posted 9/10/2005 on wx-dev.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-11 19:54:58 +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
42b1fb630d
generate mouse events for all static controls, not just wxStaticLine (patch 1276413 by Jamie Gadd)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-30 13:54:29 +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
3147bb585a
pressing enter now activates the default button even when the focus is on a checkbox or radio button
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-25 19:27:43 +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
4a712ba3cf
fix wxGetMessageName() in Unicode build (patch 1250662)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-06 21:30:24 +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
a7e0e432a2
account for client area origin when returning pending position from DoGetPosition()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-31 18:58:39 +00:00
Vadim Zeitlin
11cfa8ef8d
return pending position/size if any, not the current one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 00:02:55 +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
Vadim Zeitlin
3c29734862
position of wxEVT_MOUSEWHEEL events is now in client, not screen, coordinates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-21 10:14:36 +00:00
Vadim Zeitlin
a3dc1da946
check whether there is a critical window and don't process events then (this is needed as sometimes window proc is called directly without passing by wxEventLoop)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-15 23:01:05 +00:00
Vadim Zeitlin
f55fee08e9
moved Esc processing from wxWindow to wxDialog where it belongs; use the -- to be implemented in 2.7 -- GetEscapeId() to decide what to do when Esc is pressed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-14 23:09:00 +00:00
Vadim Zeitlin
b0268dafc1
fixed DoSetClientSize() to use ::MoveWindow() instead of deferred sizing which never updated the client size we were checking here
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-02 22:22:20 +00:00
Włodzimierz Skiba
0c0d1521c0
Helpers in disabling warnings for unused params.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-01 13:39:03 +00:00
Julian Smart
e5a870a20f
Applied [ 1223122 ] [wxMSW] Proper repainting when resizing - take 2
...
Jamie Gadd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-21 16:06:45 +00:00
Julian Smart
e3c93a3225
Fix for eVC++ 3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 10:18:07 +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
Julian Smart
3103e8a97e
Typo correction patch [ 1208110 ] Lots of typo corrections
...
Olly Betts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:20:43 +00:00
Włodzimierz Skiba
65172406d2
Simpler fix for Borland.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-25 13:02:59 +00:00
Włodzimierz Skiba
82e3664e59
Fixes for Borland access to members in MSWUniv.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-25 12:49:59 +00:00
Julian Smart
e5dbcb50a4
Suppressed error when loading colour bitmap since there's fallback code
...
(patch 1206066)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-21 16:36:49 +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