Commit Graph

22889 Commits

Author SHA1 Message Date
Robin Dunn
6457949e5c Book controls also shouldn't do anything for SetInitialBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 00:53:19 +00:00
Robin Dunn
7a5a571859 Initial/Best size fixes for wxRadioBox, wxSlider and wxStaticText on wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 23:08:55 +00:00
Robin Dunn
98c092854c cleanup after an exteption in the postcreate code, added StaticText tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 23:06:48 +00:00
Robin Dunn
a24dc1a836 Added ability to execute more code after the widget is created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 22:58:59 +00:00
Robin Dunn
d1bb3e121f a little cleanup and refresh
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 21:31:16 +00:00
Robin Dunn
3bcdbe527f Updated layout test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 20:34:05 +00:00
Robin Dunn
a8d55739f8 Misc tests, scripts, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 17:13:48 +00:00
Vadim Zeitlin
7ec5921d9b set best size after filling the control with strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 12:49:22 +00:00
Vadim Zeitlin
3dfb79a67d removed the old hack needed to size the control properly initially, now it is done by simply calling SetBestSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 12:48:08 +00:00
Vadim Zeitlin
17c48da8ee set min size to initial size when it is explicitly given
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 12:42:46 +00:00
Vadim Zeitlin
929bd5fd5f override SetInitialBestSize() to do nothing (we must add our strings first)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 12:40:29 +00:00
Vadim Zeitlin
085dd1e96f call SetInitialBestSize(), not SetBestSize(), when setting the best size initially
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 12:38:20 +00:00
Vadim Zeitlin
400a9e419b moved SetBestSize() to .cpp file; set min size from it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 12:33:31 +00:00
Vadim Zeitlin
2aaa050c33 unTABbed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 09:19:05 +00:00
Jouk Jansen
e964136c08 Committing in .
OpenVMS issue

 Modified Files:
 	wxWidgets/src/motif/toplevel.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 08:09:06 +00:00
Stefan Neis
09990d5a4f Take the inverted coordinate system into account in wxFindMaxSize.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 17:12:25 +00:00
Stefan Neis
a00ffdf1c6 Don't choke on NULL pointer passed into wxSlider::GetSize.
Take the inverted coordinate system into account when computing size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 17:05:55 +00:00
Stefan Neis
2da36bfe5a Don't choke on NULL pointer passed into wxSlider::GetSize.
Take the inverted coordinate system into account when computing size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 16:48:22 +00:00
Vadim Zeitlin
25736956ef don't let wxChoice created with default size to shrink to nothing in a sizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 16:06:51 +00:00
Stefan Neis
072ce45768 Workaround for compile problem in IconizeChildFrames.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 15:25:44 +00:00
Stefan Neis
7b048ef6b6 Added missing include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 15:24:27 +00:00
Vadim Zeitlin
1cd3409d5e fixed assert failure for a window which doesn't have a set background colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 13:10:43 +00:00
Vadim Zeitlin
78361a0e98 moved OnExceptionInMainLoop() in .cpp from header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 11:16:32 +00:00
Václav Slavík
c2218763d5 corrected cppunit test's output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 09:01:16 +00:00
Mattia Barbon
e04b7e8e71 Make wxMotif buttons smaller (and nicer) by default,
with the option of reverting to the old behaviour.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 08:14:39 +00:00
Mattia Barbon
bea8e651c7 Fixed MinGW compilation with GCC 3.x when wxUSE_STL == 1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 08:11:52 +00:00
Mattia Barbon
961dd75341 Added missing NO_GCC_PRAGMA check.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 08:06:45 +00:00
Robin Dunn
d6c14a4c94 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 03:32:57 +00:00
Robin Dunn
7fdaaabe42 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 03:25:19 +00:00
Robin Dunn
7ef67bb9b2 removed duplicate definitiion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 03:23:54 +00:00
Robin Dunn
450d55a035 Added wx.FileSystem support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 03:14:58 +00:00
Robin Dunn
c24da6d6a6 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 03:13:30 +00:00
Robin Dunn
03e37cd542 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 02:46:01 +00:00
Robin Dunn
5841276a80 Added wx.lib.mixins.listctrl.TextEditMixin, a mixin class that allows
all columns of a wx.ListCtrl in report mode to be edited.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 02:45:06 +00:00
Robin Dunn
d7403ad2d1 Reverted to old method names/signatures for wx.DC, updated lib and
demo to match.  Also fixed some deprecation warnings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 02:41:33 +00:00
Robin Dunn
019fd9d379 some methods missing wxPyBeginBlockThreads/wxPyEndBlockThreads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 02:38:53 +00:00
Robin Dunn
b2ce5e1b27 Implement some base class virtuals to avoid errors related to this not
being a true wxDialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 01:55:29 +00:00
Dimitri Schoolwerth
6f28211af2 fixed Xcode 1.2 warnings; code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 00:19:00 +00:00
Robin Dunn
82b978d70d Reverted last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 22:46:38 +00:00
Václav Slavík
9941ff2d65 compilation fixes (apparently, gcc <3.4 didn't validate code in templates that were never used, at least in this case)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 22:13:02 +00:00
Václav Slavík
d6cb2e49d3 dmars_smake support (bakefile cvs, patch 942877)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 22:10:06 +00:00
Robin Dunn
3e3b7e7556 wxScreenDC also needs a pango context and layout so it can do GetTextExtent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 21:42:07 +00:00
Robin Dunn
abdb7725e1 In wxGTK2 the wxMessageDialog is not a real wxDialog so its m_widget
will always be NULL there will be a wxCHECK asserts triggered whenever
calling base class methods that are valid calls (or just ignored) on
other wx ports.  Added a set of macros to be used to test m_widget
that will bypass the wxFAIL if the window is a wxMessageDialog.  This
will silence those asserts if the window is a wxMessageDialog and will
let the method doing the check just be ignored in that case.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 21:29:35 +00:00
Mattia Barbon
6e86701b83 Use new wxHashTable implementation not using keyed wxList
when !WXWIN_COMPATIBILITY_24. It is faster. It is almost 100%
compatible, too, the only difference being Next() return value
type.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 20:59:17 +00:00
Mattia Barbon
066f177ced Some wxPerl notes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 20:19:11 +00:00
Mattia Barbon
15b845f277 Fixed menu separators.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 17:08:23 +00:00
Mattia Barbon
0c02f0701e Native wxControl::DoGetBestSize() implementation
using XtQueryGeometry().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 17:06:08 +00:00
Mattia Barbon
0c05fdf357 MSVC 5 fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 17:03:19 +00:00
Mattia Barbon
1248b41f9f Precompiled headers support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 17:00:40 +00:00
Mattia Barbon
93d660a411 GCC 3.4 fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 16:56:59 +00:00