Commit Graph

22716 Commits

Author SHA1 Message Date
Vadim Zeitlin
73e52ac829 more updates from Herbert Breunung
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 14:33:37 +00:00
Vadim Zeitlin
f67fe9a423 compilation fix for older compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 07:17:15 +00:00
Vadim Zeitlin
35ef537b2f warning fix for BSD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 07:02:01 +00:00
Vadim Zeitlin
044fe836c1 call InitDialog() before showing the dialog, not after; also TRUE -> true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 22:46:57 +00:00
Vadim Zeitlin
395b914eae oops, added missing const_cast to make last check in compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 22:45:26 +00:00
Vadim Zeitlin
d16b634fa3 use ResetClipping() instead of simply setting m_clipping to false; added call to it to wxDCBase::DestroyClippingRegion() so that some ports don't have to define their own version of it at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 22:43:57 +00:00
Vadim Zeitlin
2e76da5450 made GetClippingBox() work even for clipping region (pre)set by Windows and not only for clipping regions set using our own SetClippingXXX() functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 22:41:54 +00:00
Vadim Zeitlin
55e9fa681e mention non-const wxDC::GetPen/Font/Brush() removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 22:36:46 +00:00
Vadim Zeitlin
b33576e164 don't use non-const wxDC::GetBackground() which doesn't exist any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 21:45:36 +00:00
Vadim Zeitlin
2439f37a89 removed non-const accessors for pens, brushes, &c from wxDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 21:44:39 +00:00
Vadim Zeitlin
a47f8e8c0e update from ABX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 12:17:11 +00:00
Stefan Csomor
7d9aac18e9 using const GetPen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 07:18:42 +00:00
Robin Dunn
49bffb1482 Added some info panels that show size and colour attributes about the widget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 20:08:00 +00:00
Robin Dunn
d58faf6a26 Added multi-line TextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 18:12:48 +00:00
Vadim Zeitlin
52f18d1919 minor update from Herbert Breunung
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 17:30:17 +00:00
Vadim Zeitlin
4230303c54 check for multiple calls to gtk_glwindow_realized_callback
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 15:00:36 +00:00
Dimitri Schoolwerth
ce1c674598 removed tab characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 14:25:07 +00:00
Dimitri Schoolwerth
3d2eaa5d59 delayed destruction of global memLocker object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 14:19:30 +00:00
Vadim Zeitlin
5624a7c21f update from Marco Cavallini
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 14:05:03 +00:00
Vadim Zeitlin
6636004d1c GetThumbLength() doesn't exist, GetThumbSize() does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 13:46:58 +00:00
Stefan Csomor
09155be84e allowing shaped windows again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 09:40:47 +00:00
Julian Smart
fc2171bd4c Name change replacements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 08:27:20 +00:00
Julian Smart
e119d0498a Improved real Latex support
Added missing brace for new perlnote


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 07:17:27 +00:00
Robin Dunn
abdeb9e700 Added wxControl::PostCreation for wxGTK. Moved calls to
InheritAttributes and ApplyWidgetStyle there, and added a call to
SetInitialBestSize.   Also removed calls to Show from Create since
PostCreation already does it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 07:09:32 +00:00
Robin Dunn
0886039fa7 Sorted and added StaticBox, StaticLine
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 06:39:51 +00:00
Robin Dunn
7dd3d5c68e added notebook test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 03:09:42 +00:00
Dimitri Schoolwerth
a04f431b08 improved backwards compatibility when a wxGauge is (incorrectly) created without wxGA_HORIZONTAL style flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 02:38:09 +00:00
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