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
Kendall Bennett
574c939ef1
Merges from Scitech Branch (George Davison):
...
Added wxDisplayChangedEvent and triggering in MSW, when display mode changes
this event gets triggered. I don't know what should happen with other OS's
since I am not familiar with how they handle mode changes.
Watcome Version 11 now compiles with wide character support.
Fixed watcom warnings in
html/htmlwin.h
imagbmp.h
listctrl.h
imagbmp.cpp
quantize.cpp
strconv.cpp
variant.cpp
dirctrlg.cpp
treectlg.cpp
m_style.cpp
fontenum.cpp
listctrl.cpp
ole\dataobj.cpp
textctrl.cpp
window.cpp
xml.cpp
msw/setup.h
with watcom version 11 it now compiles with wide character support.
xrc/xml.cpp
fixed memory leak and compile warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 18:46:31 +00:00
Vadim Zeitlin
0cf5b09998
got rid of wxWindow::m_lDlgCode - now wxWANTS_CHARS style should work for all windows, even the native controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 00:58:11 +00:00
Vadim Zeitlin
f797e53d03
ScrollWindow() should use the rect it scrolls as the clipping rect as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 01:32:55 +00:00
Julian Smart
38fc0d9db9
Added missing '!' to HasCapture() in window.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 17:34:48 +00:00
Julian Smart
9fce8d2eee
Applied wxPoem, wxSystemSettings, sizing, install doc patches
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 21:58:34 +00:00
Julian Smart
b4bfa4522e
Applied patch to implement wxChoice::SetString and to not send leave events
...
when window is captured.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 10:05:49 +00:00
Vadim Zeitlin
94633ad9f1
maintaint the mouse capture stack in all ports, not just wxUniv
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 19:31:19 +00:00
Václav Slavík
8e92ccef9c
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 19:41:33 +00:00
Vadim Zeitlin
90c1530adf
0. extracted toolbar colour mapping stuff to its own function
...
1. wxToolBar adjusts the colours properly when the system colours change
2. wxImageList uses light grey as the transparent colour for the bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 23:04:11 +00:00
Vadim Zeitlin
66689a9ee9
removed MSWDetachWindowMenu() (part of the MDI change from yesterday which I forgot to commit)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 18:34:26 +00:00
Václav Slavík
a756f21001
use the new wxSystemSettings API everywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:53:01 +00:00
Vadim Zeitlin
5262eb0a98
suppressed wrong debug error messages from SetFocus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 00:42:57 +00:00
Vadim Zeitlin
d6a9730667
DoSetClientSize() may take 4 iterations to set the right size sometimes, not 3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 16:26:47 +00:00
Julian Smart
62e1ba759a
More tweaks to wxMicroWi
...
More tweaks to MicroWindows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-22 19:43:44 +00:00
Julian Smart
e640f8231f
MicroWindows tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 17:01:02 +00:00
Václav Slavík
eb5e4d9ac1
making wxMSW MSLU(unicows)-friendly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 00:28:31 +00:00
Vadim Zeitlin
d4597e138e
fixed bugs with setting the client size when the difference between the total and client size changes as the result (e.g. because the scrollbars [dis]appear or the menu bar [un]wraps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 23:13:27 +00:00
Vadim Zeitlin
23895080c2
fixes for handling WM_SYSCOLORCHANGE - now seems to work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 00:26:30 +00:00
Vadim Zeitlin
5f3286d17d
more fixes to target window scrolling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 15:57:36 +00:00
Vadim Zeitlin
71292fab8d
always use HWND first in WM_COMMAND handler to avoid mixing the controls with the same id
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 00:49:02 +00:00
Julian Smart
c67d6888d4
Fixing wxMicroWindows compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 18:22:16 +00:00
Vadim Zeitlin
d2d14464a5
wxUniv compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 00:23:19 +00:00
Vadim Zeitlin
c3c39620ba
fixed wxDropFilesEvent dtor, added copy ctor and implemented Clone() for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 23:48:49 +00:00
Vadim Zeitlin
8c290175b3
don't send fictious menu events when another WM_COMMAND occurs while a popup menu is shown
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 00:34:44 +00:00
Vadim Zeitlin
1bffa9138f
replaced wxList for storing HWND <-> wxWindow with wxHashTable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 00:44:19 +00:00
Vadim Zeitlin
71e030352d
1. added wxStatusBarUniv
...
2. several bug fixes to wxSpinButton/wxSpinCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 21:38:58 +00:00
Vadim Zeitlin
b889a3a24b
do *NOT* make the window of the size of its parent initially, fixes missing EVT_SIZE problem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 06:15:30 +00:00
Vadim Zeitlin
18a1f588e7
fix for wxFrame parent which somehow wasn't committed yesterday
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 22:25:46 +00:00
Vadim Zeitlin
b225f65995
changed/centralized window creation code to allow wxTLW work in wxUniv
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 22:17:24 +00:00
Vadim Zeitlin
7f9510b24e
give (hopefully) more clear error message
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:30:59 +00:00
Vadim Zeitlin
c50536396d
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-26 12:56:38 +00:00
Vadim Zeitlin
2e9f62dafb
compilation/build fixes for wxUniv
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-26 00:47:52 +00:00
Vadim Zeitlin
b09bda689c
added wxTreeEvent::GetKeyEvent() to allow to retrieve the key event flags from EVT_TREE_KEY_DOWN event
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 16:39:49 +00:00
Vadim Zeitlin
82c9f85ce5
added wxTLW for MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 00:34:14 +00:00
Václav Slavík
a200c35efa
moved AdjustToClientAreaOrigin to wxWindowBase, needed worldwide for wxUniv
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 22:36:18 +00:00
Vadim Zeitlin
e72aa7f5ac
wxUniv compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 11:56:33 +00:00
Vadim Zeitlin
6f806543a4
added support for column images under MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-02 23:47:42 +00:00
Vadim Zeitlin
b3dc8a3e61
fixed y position of the drop point in HandleDropFiles() (patch 455658)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-27 12:20:04 +00:00
Vadim Zeitlin
44d5b352ae
warning fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 20:13:14 +00:00
Vadim Zeitlin
519dc37faf
fixed return value of HandleEndSession to return true only if the message was really processed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 17:56:34 +00:00