Commit Graph

353 Commits

Author SHA1 Message Date
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
Julian Smart
9fd9e47a93 wxUniversal fixes:
window.cpp's WM_CLOSE now calls Close() for wxUniv, else dialogs/
frames won't get closed using system menu/button.
Added missing NULL init for m_artProvider in themes to cure crash
Added 2 sample dsp files for wxUniv (not ideal perhaps but
it will save these getting lost, and much user frustration)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 09:09:40 +00:00
Vadim Zeitlin
ddf9d04fe9 implement SetFocusFromKbd() to select all text in the controls whose dialog code has DLGC_HASSETSEL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-21 00:32:14 +00:00
Vadim Zeitlin
aae032a0a9 don't let IsDialogMessage() have VK_ESCAPE, this fixes closing the tree in place editor with Escape
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 22:29:16 +00:00
Julian Smart
a5e84126fc Implemented wxMouseCaptureChangedEvent and made wxGenericDragImage check it
the capture before release it.
Documented wxMouseCaptureChangedEvent and GetCapture/FindCapture.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 20:26:43 +00:00
Robin Dunn
7de5bdf4b3 Oops, forgot the braces.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 20:32:54 +00:00
Robin Dunn
d9f14e167e Moved check for m_lastKeydownProcessed to WM_CHAR case because I think
Vadim was asleep when he moved it out of HandleChar to the end of the
WM_KEY_DOWN case. <wink>  It would never be true where the check was
before...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 20:26:49 +00:00
Vadim Zeitlin
f4f734c1ef no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 00:23:13 +00:00
Vadim Zeitlin
4e4a5fed9f wxSizeEvent now carries the total size, not just the client size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 23:56:20 +00:00
Vadim Zeitlin
1a65fc6586 wxMSW doesn't send CHAR events for Caps/Scroll/NumLock neither
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 14:05:49 +00:00