Commit Graph

22681 Commits

Author SHA1 Message Date
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
Stefan Csomor
53d923413a classic case menubar changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 09:37:00 +00:00
Václav Slavík
263da34866 define wxUSE_HOTKEY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 09:27:42 +00:00
Stefan Csomor
1d3216f76d replacing OSX only carbon calls by classic ones for CFM build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 06:34:28 +00:00
Stefan Csomor
57ab966bab positioning of the insertion point at the end
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 06:32:24 +00:00
Vadim Zeitlin
2d814c19cc use an internal wxFileSystem in wxHtmlListBox so that references to images could be resolved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-30 22:44:03 +00:00
Vadim Zeitlin
2437f26ca5 fixed bug with SetSelection() not hiding the previously shown page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-30 22:15:52 +00:00
Vadim Zeitlin
c096f614b9 made TestDestroy public and virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-30 21:31:52 +00:00
Václav Slavík
0d95d20c5b more dmc fixes (patch 941830)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-30 20:55:57 +00:00