Commit Graph

22486 Commits

Author SHA1 Message Date
Robin Dunn
3429f8d028 Make sure the window is not iconized before saving position and size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-19 23:14:03 +00:00
Robin Dunn
fd04159e75 Also Check for validity in comparrison operators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-19 22:48:15 +00:00
Robin Dunn
0cd6e69632 Check for validity in __repr__ and __str__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-19 22:16:31 +00:00
Robert Roebling
46fa338b6f Code for single instance and bring-to-top under CE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-19 21:47:12 +00:00
Julian Smart
b33f7651ae Don't infinitely recurse when setting the child focus. Without
this, nested panels/scrolled windows that work fine on wxGTK, wxMSW
can cause infinite recursion on wxMac


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-19 14:41:06 +00:00
Vadim Zeitlin
422a142bc2 compilation fix for wxUSE_VALIDATORS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-19 14:02:27 +00:00
Vadim Zeitlin
56a44c6451 compilation fix for wxUSE_VALIDATORS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 22:47:46 +00:00
Václav Slavík
210f4bcd66 wxVsnprintf_ fix: added %ls,%lc handling (patch 937094)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 21:35:06 +00:00
Václav Slavík
8dae91699c small test suite improvements (patch 937094)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 20:04:30 +00:00
Václav Slavík
7735998c2a applied rest of streams test suite patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 19:26:20 +00:00
Stefan Csomor
56d061c578 alternative direct CFSocket implementation, not yet for production use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 16:59:52 +00:00
Robert Roebling
5d72f19587 make spin control flat, too, under Win CE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 16:42:59 +00:00
Stefan Csomor
e874f8672e MSL support also for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 16:37:44 +00:00
Stefan Csomor
377f6397ac switching to host / network ordering swapping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 16:37:16 +00:00
Stefan Csomor
3b8d819f30 yielding from main loop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 16:33:42 +00:00
Stefan Csomor
39fbbfda3c otherwise all runloop dependent callbacks cannot work outside of the main thread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 16:31:50 +00:00
Stefan Csomor
f925e7b4f3 byte ordering changed to network ordering
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 16:30:50 +00:00
Stefan Csomor
121e1ac8b2 metrowerks uname support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 16:28:31 +00:00
Julian Smart
469d8d5dbb Casting fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 14:11:44 +00:00
Vadim Zeitlin
9c9aec6143 removed work around for 16 bit compilers not defining LPTSTR which was breaking Unicode build unless WIN32 was defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 12:33:05 +00:00
Robert Roebling
568883a45d Set default dialog style to 0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 10:32:20 +00:00
Robert Roebling
3851e47918 Applied patch for hiding statusbar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 10:27:11 +00:00
Robert Roebling
f0b72e0d9a Fix incomplete stripping of menu text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 10:15:52 +00:00
Stefan Csomor
11c5b47d94 added fix for MSL under Win32 (by Steve Hartwell)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 06:40:18 +00:00
Robin Dunn
77aa9abdc4 Set m_window to NULL after destroying it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-17 22:40:23 +00:00
Robert Roebling
3d4ea84bd9 Make text controls flat under CE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-17 22:12:06 +00:00
Robert Roebling
1a4b50d2f1 Since CE cannot do the logical/device origin calculations
we do it ourselves as per the X11 ports.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-17 16:46:58 +00:00
Robert Roebling
28c191aa0f Do not set size of PocketPC dialogs upon
startup, let the SHInitDialog() code
    do that following the Interface guidelines.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-17 14:57:25 +00:00
Robert Roebling
0fc58b86fb Show the OK button in the title bar under PocketPC
and react to pressing it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-17 14:30:19 +00:00
Robert Roebling
7127d12912 Make wxHTML compile (and work) under CE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-17 12:10:43 +00:00
Robin Dunn
75b39b4c0b Make InheritAttributes and ShouldInheritColours public so they can be
called from derived Python classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-17 02:13:53 +00:00
Robin Dunn
97149f1898 SetDefault should call parent->SetDefaultItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-17 02:07:31 +00:00
Robin Dunn
245c5d2e02 Make InheritAttributes and ShouldInheritColours public so they can be
called from derived Python classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-17 02:06:11 +00:00
Robin Dunn
907c2926f9 default id's where possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-17 02:04:56 +00:00
Robin Dunn
7bdfb981a8 Fix or add some DoGetBestSize's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-17 02:00:24 +00:00
Václav Slavík
dcc1b6ad4c quoting fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 21:19:04 +00:00
Roger Gammans
01cb68df7c Add configure test for presence/compilabilty of multimon.h and display.h
header whcih are required for dsrc/msw/display.cpp - but aren't included
in mingw.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 20:27:43 +00:00
Václav Slavík
f29cfd7775 Mingw compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 20:07:23 +00:00
Václav Slavík
46e00cd75a make users aware of wxInputStream::Eof limitations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 16:37:17 +00:00
Vadim Zeitlin
5232d996cd use wx_static_cast() inside wxDynamicCast to catch impossible casts at compile-time instead of run-time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 10:57:06 +00:00
Vadim Zeitlin
f29fe16932 added and documented wx_const/static_cast<>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 10:30:07 +00:00
Vadim Zeitlin
4d4f4290ea wxEVT_MOVING = 442, not 4442, in event compatibility mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 09:48:06 +00:00
Vadim Zeitlin
df74fdeafd GetChildrenCount() should be const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 09:44:32 +00:00
Julian Smart
69f9caa288 Updates for Inno Setup 4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 08:36:09 +00:00
Robin Dunn
997c728048 If the window has a minsize then use that as the BestSize if there is
no sizer, contstraints, or children, otherwise use current size as before.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 23:21:35 +00:00
Vadim Zeitlin
844ca09641 unused variable warning fix (patch 923094)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 23:15:07 +00:00
Vadim Zeitlin
a3a363f61b unused param warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 23:11:59 +00:00
Vadim Zeitlin
88eadcf218 changed return type of wxCommandEvent::GetClientObject() to wxClientData * from void * and documented it (patch 918655)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 23:10:08 +00:00
Vadim Zeitlin
5c9f6bf455 use iostream.h and not iostream with OpenWatcom (part of patch 910058)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 23:02:43 +00:00
Vadim Zeitlin
f6a9c02577 fixed WaitOnConnect() in non GUI mode (patch 905185)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:56:26 +00:00