Commit Graph

22731 Commits

Author SHA1 Message Date
Dimitri Schoolwerth
3f927d5023 fixed unused variable warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 23:47:14 +00:00
Vadim Zeitlin
1d8864ac63 added support for --libs=std,... syntax in wx-config
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 23:42:31 +00:00
Robin Dunn
944b1f5e17 Don't #include the extra files unless we need them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 21:40:49 +00:00
Robin Dunn
e1d1f4bd99 moved #define to before it is used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 21:15:06 +00:00
Robin Dunn
9950649c8d Use wxVisualAttributes (#if'd out until tested further)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 21:02:19 +00:00
Robin Dunn
35d4c96744 Use wxVisualAttributes (partially #if'd out until tested further.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 21:01:24 +00:00
Vadim Zeitlin
e803c309a6 updated wxstd.po and merged changes in the other catalogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 18:57:31 +00:00
Vadim Zeitlin
4d6afa21a6 update from ABX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 18:31:53 +00:00
Robin Dunn
22bfe96ca6 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 18:01:47 +00:00
Robin Dunn
880715c9a9 Add GetClassDefaultAttribute. Since it is static we need to put the
definition in all window classes so the right one will be called on
the C++ side of the fence.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 17:35:43 +00:00
Robin Dunn
6dc779e818 Some tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 17:34:02 +00:00
Robin Dunn
16190e2a11 Oops, forgot to cleanup some commented-out code before last commit.
Setting attributes seems to work okay on both multiline and single
line widgets for both wxGTK and wxGTK2, so don't disable it for
multiline.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 17:33:09 +00:00
Robin Dunn
9d522606d0 Get(Class)DefaultAttributes() for wxGTK controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 17:26:25 +00:00
Vadim Zeitlin
3cfd077ff8 don't create artificial alpha channel for all bitmaps (patch 949221)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 14:52:55 +00:00
Vadim Zeitlin
13e3b9776a corrections from ABX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 14:35:35 +00:00
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