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
Vadim Zeitlin
9c7df356f9
added raw key code and flags support (based on patch from Bryce Denney)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 21:06:59 +00:00
Robin Dunn
68304caffe
wxWindowMSW now eats EVT_CHAR if the key was handled in EVT_KEY_DOWN
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 00:36:29 +00:00
Robin Dunn
5cd16c0c45
Removed unneeded assert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 22:42:02 +00:00
Vadim Zeitlin
3a01bb1bce
misc fixes for (absense of) the borders
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 00:48:52 +00:00
Julian Smart
20bd88adbc
Removed bizarre test code of which I have no recollection...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 14:46:19 +00:00
Julian Smart
c79a329dcb
NanoX modificati
...
NanoX modifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 23:19:40 +00:00
Vadim Zeitlin
ee74faf934
*do* generate the LEAVE events even when the mouse is captured
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 01:39:20 +00:00
Vadim Zeitlin
30827629fa
fixed mouse input handling in wxUniv: the static boxes ust be transparent
...
or the windows inside them don't get any mouse events at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 01:37:47 +00:00
Vadim Zeitlin
d1fe917ba0
don't use border styles for windows in wxUniversal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 00:52:19 +00:00
Vadim Zeitlin
5b2f31eb30
1. always create the buttons with WS_CLIPSIBLINGS style, this prevetns them
...
from overwriting each other when the main window is resized
2. more tweaks to MSWGetStyle() and related code, added a new, easier to use,
version of MSWCreateControl()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 00:02:51 +00:00
Václav Slavík
136cb3c7a9
more MSLU fixes and moved MSLU stuff into separate file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 23:35:18 +00:00
Vadim Zeitlin
b2d5a7ee00
better handling for the style changing during run-time
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 22:43:43 +00:00
Václav Slavík
e7dda1ffa3
respect minimal wxTLW size in wxUniv
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:08:54 +00:00
Vadim Zeitlin
b95edd4708
cleanups after SciTech commit :-(
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 00:18:10 +00:00