Commit Graph

22442 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
af498247c5 make XTI compile with VC6 (patch 896614)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:51:57 +00:00
Vadim Zeitlin
f9ebf98b96 fixed DLL build (patch 879706)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:43:18 +00:00
Vadim Zeitlin
08848c9f95 define _puttchar for mingw32 as it doesn't have it (patch 875611)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:34:19 +00:00
Vadim Zeitlin
eb2a7883df show/hide static box when the wxStaticBoxSizer is shown/hidden (replaces patch 897020)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:26:09 +00:00
Vadim Zeitlin
55268a3aa0 normalize the case of the volume names too (patch 925887)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:15:02 +00:00
Vadim Zeitlin
a9a76b2fb8 fixed priority of the mailcap entries (patch 935954)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:07:47 +00:00
Václav Slavík
0e6450e172 wxGTK on Mac doesn't need bundles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 21:53:36 +00:00
Václav Slavík
7933c2d429 added GetFilenames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 20:20:57 +00:00
Václav Slavík
af51080d14 commdlg.lib is not in evc3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 20:12:59 +00:00
Robin Dunn
cfe5e918e6 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 20:10:23 +00:00
Robin Dunn
377d47bdf1 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:57:59 +00:00
Robin Dunn
9c97d337bf Remove use of m_bestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:56:20 +00:00
Robin Dunn
3d3e7dcbd8 Reorder the controls so the RadioButtons work right on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:55:35 +00:00
Robin Dunn
425de63dcc Use Update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:53:53 +00:00
Robin Dunn
befa69771a Set stc and xrc to use GENDIR again as SWIG on Mac is still generating
slightly different code than the other platforms for some reason


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:52:50 +00:00
Robin Dunn
7efa87d202 MacSetTheme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:28:25 +00:00
Robin Dunn
9c605df769 Use GetHandle for Mac too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:27:54 +00:00
Robin Dunn
a212b7793a MacSetMetalAppearance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:27:15 +00:00
Robin Dunn
2c65dbc429 Default for id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:26:28 +00:00
Robin Dunn
b2df227bb0 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:22:27 +00:00
Robin Dunn
0c02082608 Add width and precision params for wxGridCellFloatEditor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:19:26 +00:00
David Elliott
7b73db07a3 Make buttons display the bitmap image instead of the text "Bitmap Button"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:17:15 +00:00
Robin Dunn
ed3ff7fe09 Added SetDefaultXXX methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:01:52 +00:00
Robin Dunn
aee2779036 install missing headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:58:51 +00:00
Robin Dunn
56e63286ac Added new encoding, new methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:31:18 +00:00
Robin Dunn
447f48ba19 Moved some enums around to better match the C++ headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:26:05 +00:00
Robin Dunn
644e168383 Oops
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:24:54 +00:00
Robin Dunn
ba938c3d00 Added some convenience methods to wx.Bitmap: SetSize, GetSize, and
wx.EmptyBitmap can be called with a wx.Size (or a 2-element sequence)
object too.  Similar changes were done for wx.Image as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:23:17 +00:00
Robin Dunn
1980f3fa71 More about the sizer changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:13:35 +00:00
Robin Dunn
55deb20826 clarify the note about OpenGL errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:12:55 +00:00
Robin Dunn
e8601bb2e6 removed stuff about the decorator classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:12:15 +00:00
Robin Dunn
ef8b9c3eb8 minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:11:14 +00:00
Robert Roebling
304b8bc189 Added SW_SCROLLCHILDREN to make scrolling work
under eVC 3.0 (and probably any Windows CE).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:10:30 +00:00
Dimitri Schoolwerth
d30ee785c2 made GetAlpha(x, y) const (the docs are already correct)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 16:16:01 +00:00
Robert Roebling
7ef67c25ff Fix for white area above frame because of funky
toolbar/menubar-mix implementation under eVC 3.0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 15:58:25 +00:00
Robert Roebling
c1855476b1 Fix to make frame visible under eVC 3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 15:56:30 +00:00
Dimitri Schoolwerth
b333445388 ignore all (generated) .con files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 11:33:34 +00:00
Dimitri Schoolwerth
f01da876d8 use Find, not Member
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 11:06:19 +00:00
Dimitri Schoolwerth
22d080f35b improved const-ness of find/Find functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 11:05:13 +00:00
Robin Dunn
28b6885216 Added #include for non PCH compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 23:53:45 +00:00
Robin Dunn
ec5cadfec5 Updated with notes about recent sizer changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 23:50:37 +00:00
Robin Dunn
1eba219387 Added wxSizerItem::SetMinSize that calls m_window->SetSizeHints if not
wxFIXED_MINSIZE, SetInitSize and SetItemMinSize uses SetMinSize, and
fixed [ 934651 ] sizeritem's 'minsize' value has no effect in xrc resources


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 23:45:21 +00:00
Robin Dunn
1ebfafde51 Keep track of the initial size that the window was created with, and
when the window is added to a sizer use that size with SetSizeHints.
This is to fix problems resulting from the previous change where
SetSizeHints was called with the initial size from CreateBase.

Also, Patch [ 934677 ] wxWindowBase::DoGetBestSize() should exclude hidden windows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 22:40:14 +00:00
Stefan Csomor
dd05f81195 removing resource based implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 17:31:35 +00:00