Robin Dunn
376b7bd99e
wxCHECK for valid menu in DoPopupMenu (SF Bug# 722230)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-23 21:11:32 +00:00
Václav Slavík
89b6b3cccb
applied patch to fix tooltips charset
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 18:40:48 +00:00
Robin Dunn
d1af2c3470
Send the wxWindowDestroyEvent for all ports (binary compatible backport)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 03:07:41 +00:00
Julian Smart
ca827deb02
Applied patch [ 652336 ] Add tooltip support to wxUniv on Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 12:14:59 +00:00
Julian Smart
de9e98335d
Must insert WM_QUIT back into the message queue if eaten
...
by wxYieldForCommandsOnly. Cures the taskbar sample GPF.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-29 17:40:38 +00:00
Julian Smart
368e6e1002
Fixed bug [ 635990 ] wxFindWindowAtPointer - mousepos not set
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 09:55:19 +00:00
Vadim Zeitlin
3095762276
don't overrun 80 char buffer boundaries in HandleTooltipNotify()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-28 20:03:50 +00:00
Julian Smart
829fe079bc
Patch [ 626532 ] Fix default item/tab traversal problem
...
This patch fixes a problem that occurs when you have a
panel containing controls inside a dialog/frame with a
default item (i.e. default button). Currently,
<Return/Enter> is processed incorreclty as a <tab>
even if there is a default item in a parent. This patch
causes a window not to handle the VK_RETURN key if
it is not a top level window and doesn't have a default
item of it's own.
Derry Bryson
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-22 21:38:25 +00:00
Robin Dunn
e771b7e4ac
Allow WM_SYSKEYDOWN to still be processed by MSWDefWindowProc, even if
...
it was handled by an event handler. This allows the magic Windows
keys (such as Alt-space for the system menu, Alt or F10 to activate
the menu bar, Alt-F4 to send WM_CLOSE, etc.) to still work properly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-21 22:19:07 +00:00
Vadim Zeitlin
4fe82ce139
kbd traversal code now knows that DLGC_WANTALLKEYS implies DLGC_WANTTAB/ARROWS; this fixes the problem with editing a list/tree ctrl item in place -- you could TAB out of it before
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-05 22:24:12 +00:00
Vadim Zeitlin
51dbcf35ff
call SetFocus() in WM_LBUTTONDOWN handler for the wxWindows controls (not standard ones)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-05 21:33:01 +00:00
Julian Smart
b2162f4c83
Fixed bug [ 597643 ] SashWindow-borders cause sticky arrow
...
Needed an OnSetCursor as per splitter window, for MSW only.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 14:16:24 +00:00
Vadim Zeitlin
f14f5c6740
don't set Alt/Ctrl modifiers for the AltGr char events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 11:44:49 +00:00
Vadim Zeitlin
83a16cfa8c
don't disable top level windows recursively
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 23:25:04 +00:00
Julian Smart
3bce6687f4
Mods for Wine compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 20:34:27 +00:00
Vadim Zeitlin
fa3d9b4e30
don't disable top level children in parents Enable()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 15:10:59 +00:00
Vadim Zeitlin
d7cbabe039
disable children when the parent is disabled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 00:34:08 +00:00
Guillermo Rodriguez Garcia
9b601c243f
Removed compilation warnings (mostly mismatches between the format string
...
for debug/trace printfs and the actual parameters, e.g. int vs long, etc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-26 21:12:25 +00:00
Robin Dunn
2913e597d9
Don't send EVT_KILL_FOCUS when the window is in the process of being
...
deleted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 19:52:39 +00:00
Vadim Zeitlin
42cfcc58ee
wxCheckWindowWndProc() now checks for the original window proc in the window class and not for the current (possibly subclasses) window proc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 00:53:45 +00:00
Robin Dunn
ad9f1aec63
Fixed wxMSW's EVT_CHAR so it conforms to the docs and also what wxGTK
...
does already. IOW, Ctrl-C should result in keycode == 3, not 99.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 21:22:43 +00:00
Ron Lee
b40e227882
minus one show stopper typo and a couple of warnings on mingw.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 05:15:39 +00:00
Julian Smart
2cbc7f485f
Don't fail to register remaining window classes if
...
one fails to register
Set window proc for non-control windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-26 16:13:02 +00:00
Mattia Barbon
d285d708a2
Fix some GCC 3.1 compilation warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-05 16:45:15 +00:00
Vadim Zeitlin
2b15b970e0
streamlined WM_NOTIFY processing code fixing a bug with toolbar tooltips in presence of the control in toolbar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-27 23:40:55 +00:00
Václav Slavík
fa21d3389b
compilation fix (wxUniv/MSW)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 19:16:13 +00:00
Vadim Zeitlin
5624b2a1cf
propgate WS_EX_CONTROLPARENT recursively upwards, not just to the immediate parent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 00:45:13 +00:00
Vadim Zeitlin
bd9cd5343b
fixed setting tooltips for slider by moving the code working around comctl32.dll bug from wxToolBar to wxWindow so that it is used for all common controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 14:49:19 +00:00
Vadim Zeitlin
03e0b2b1ff
removed SetFocus() call in WM_LBUTTONDOWN handler once again: it is *WRONG*, please let me know if there is any problem this is supposed to fix but don't put it back
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-18 00:40:19 +00:00
Vadim Zeitlin
48c61225d6
argh, another IsDialogMessage() fix: we still need to check all non top level parents
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 21:17:37 +00:00
Vadim Zeitlin
573a158618
fix for dialog navigation in the modal dialogs: do call IsDialogMessage() in this case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 20:09:15 +00:00
Vadim Zeitlin
5a403e3f2a
changed WM_GETDLGCODE handling so that all windows get WM_CHARs by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 15:32:20 +00:00
Vadim Zeitlin
f586fde36c
removed unused wxWindow::m_doubleClickAllowed field
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 15:20:03 +00:00
Vadim Zeitlin
09168de7a1
don't use WS_EX_CONTOLPARENT with the top level windows nor wxUniv (doesn't really hurt but is not needed neither)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 22:39:38 +00:00
Vadim Zeitlin
61179e28bd
fixed problems with hanging inside IsDialogMessage or DefDlgProc by forcing all parents of windows with WS_EX_CONTROLPARENT to have this style themselves as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 23:59:11 +00:00
Vadim Zeitlin
085ad68651
moved OnActivate() logic from wxFrame to wxDialog -- this fixes infinite loop when handling WM_ACTIVATE in DefDlgProc in some crazy situations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 00:04:22 +00:00
Vadim Zeitlin
70a5eef8f1
reenabled WS_EX_CONTROLPARENT style together with a check that the focus window is not disabled or hidden
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-08 21:32:36 +00:00
Vadim Zeitlin
5b9c12e124
undid WS_EX_CONTROLPARENT change -- I recall now why we can't use it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 08:58:36 +00:00
Vadim Zeitlin
d515c32dc3
use WS_EX_CONTROLPARENT to ensure correct Alt-mnemonic handling with nested panels
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-03 23:00:28 +00:00
Vadim Zeitlin
fb35f0c79c
set the id in wxMouseEvent (bug 484245)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 12:51:04 +00:00
Vadim Zeitlin
9dfef5ac20
changes to wxFRAME_NO_TASKBAR/FLOAT_ON_PARENT styles handling which should
...
now work more as expected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 17:11:19 +00:00
Vadim Zeitlin
7e25f59e48
prevent the parent window from losing activation when a popup is shown
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 13:02:58 +00:00
Vadim Zeitlin
76c79ff467
popup windows wre not using TOPMOST style under wxUniv any longer -- fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 21:52:21 +00:00
Vadim Zeitlin
abcbaea73f
wxUniv compilation fixes (patch 559620)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 21:25:06 +00:00
Julian Smart
449d48f9e1
Fixed mouse handling for captured windows
...
Didn't need most of the cshelp fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 16:08:47 +00:00
Vadim Zeitlin
a6e67b552c
don't treat Enter always as Tab, just for the text controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 23:34:36 +00:00
Vadim Zeitlin
036da5e374
changed the handling of the default buttons to be more logical
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 22:31:05 +00:00
Vadim Zeitlin
2a77c8c455
don't put the windows created with y or height of -1 off screen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 23:01:42 +00:00
Vadim Zeitlin
dfafa7029d
generate the mouse click events for the static controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 00:28:57 +00:00
Vadim Zeitlin
e49d97e66a
fixed Windows style of wxPopupWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 23:27:59 +00:00