Commit Graph

34274 Commits

Author SHA1 Message Date
Robin Dunn
bd2903e1c3 Another stab (hopefully the last) at how to handle the delayed
initialization of the stock objects.  Go ahead and create an
uninitialized instance using __new__, and then just set the .this
attribute when the app is initialized.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 16:43:24 +00:00
Robin Dunn
293524e162 Use MustHaveApp for wx.RendererNative.Get and others
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 16:35:36 +00:00
Paul Cornett
e7445ff8ee move some data definitions to more appropriate places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 16:12:31 +00:00
Włodzimierz Skiba
b4446c2447 Fixed OpenWatcom (strange) scope related crash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 14:56:11 +00:00
Włodzimierz Skiba
88060820ac wxToggleButton for wxUniv already implemented.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 14:09:50 +00:00
Włodzimierz Skiba
261357eb0a Small devices adjustements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 14:07:47 +00:00
Włodzimierz Skiba
93fbbe0765 Include wx/control.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 10:15:44 +00:00
Vadim Zeitlin
a18c21f000 show help for the page under mouse when the [?] button is used to request help
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 02:23:24 +00:00
Vadim Zeitlin
3276179da6 moved wxNotebook::HitTest() to the base book control class; implemented it for wxList/Treebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 02:22:24 +00:00
Vadim Zeitlin
b107e8d578 added help event origin field: indicates if the help was requested using the mouse or from keyboard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 02:21:38 +00:00
Vadim Zeitlin
851b88c310 moved wxNotebook::HitTest() to the base book control class; implemented it for wxList/Treebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 02:09:44 +00:00
Vadim Zeitlin
61d702d9e6 mention the addition of the clipboard events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 01:12:30 +00:00
Włodzimierz Skiba
ce5d92e150 Include wx/cmndata.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 21:08:11 +00:00
Stefan Csomor
6643c354c5 using new method for implementing Maximize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 19:03:16 +00:00
Paul Cornett
9cdf21473a unused declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 15:46:00 +00:00
Robin Dunn
f4102f1735 wx.lib.mixins.listctrl.TextEditMixin: Fixed the double END_LABEL_EDIT
event problem in TextEditMixin by checking if the editor was already
hidden before continuing with the CloseEditor method.  Also added code
to OpenEditor to send the BEGIN_LABEL_EDIT event and to not allow the
opening of the editor to continue if the event handler doesn't allow
it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 15:41:53 +00:00
Włodzimierz Skiba
88c576e5df src/mac/carbon/pnghand.cpp removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 14:45:39 +00:00
Włodzimierz Skiba
7cdf27dc55 Adjustement to wxCheckListBox under WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 14:03:59 +00:00
Włodzimierz Skiba
727eb4c12c Better screen usage on smaller devices.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 13:59:24 +00:00
Włodzimierz Skiba
f1a4ca62a9 __WXHANDHELD__ introduction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 13:57:04 +00:00
Włodzimierz Skiba
cdc99dddd2 [ 1494429 ] Fix for wxOwnerDrawnComboBox::Clear() crash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 11:39:51 +00:00
Włodzimierz Skiba
133f3119f0 Removed some references to unused files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 10:03:56 +00:00
Włodzimierz Skiba
246c5004eb Include wx/msgdlg.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 07:07:23 +00:00
Paul Cornett
1c2d839fbf don't crash on zero length string in DoDrawRotatedText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 02:40:58 +00:00
Mart Raudsepp
93664d1bff Typo fix (age -> page) and \texttt{NULL} -> \NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 23:23:19 +00:00
Michael Wetherell
98b9b5eaf3 Use wx_static_cast instead of static_cast.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 22:55:28 +00:00
Paul Cornett
bd88c1fa96 derive univ toggle button from button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 17:17:27 +00:00
Włodzimierz Skiba
d48d1eaeda Missing app.h include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 17:03:11 +00:00
Włodzimierz Skiba
e7c80f9e05 wx/debug.h is always unconditionally included by wx/defs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 15:13:23 +00:00
Włodzimierz Skiba
32816f9a68 wxToggleButton page added to widgets sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 14:56:15 +00:00
Michael Wetherell
dd5e86874e Map between int page ids and page pointers using hashes so that it works when
pointers are 64-bits.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 14:39:52 +00:00
Julian Smart
615a96e37d Don't unselect if setting string that's not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 13:41:12 +00:00
Włodzimierz Skiba
1c4743aa20 [ 1493780 ] wxOwnerDrawnComboBox warnings fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 09:44:56 +00:00
Włodzimierz Skiba
0a87ef19ce wxToggleButton for wxUniv already introduced.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 09:42:25 +00:00
Włodzimierz Skiba
7ca4ac6383 [ 1493802 ] Allow multiple wxComboCtrl::SetPopupControl calls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 09:29:06 +00:00
Włodzimierz Skiba
9eddec696f Include wx/settings.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 07:16:32 +00:00
Paul Cornett
13199c3dcb correct access for virtuals, other minor corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 05:03:00 +00:00
Robin Dunn
0fe9c32957 Make it possible for pywxrc to generate just the gettext _() strings
with no other code, and also make it possible to process more than one
XRC file at once into a single output module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 04:49:07 +00:00
Robin Dunn
f05326bac1 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 21:15:19 +00:00
Robin Dunn
06810ecffb reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 21:08:28 +00:00
Julian Smart
f56e08c432 Documented wxUniv wxToggleButton addition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 20:36:14 +00:00
Julian Smart
390f811460 Avoid flags that may clash with alignment flags
Don't try to set the string selection if not found


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 20:33:17 +00:00
Julian Smart
25e19bdf01 Check for null pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 20:32:00 +00:00
Włodzimierz Skiba
bec3b0ddef [ 1491948 ] Fix for a minor GUI bug in wxEditableListBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 19:30:03 +00:00
Julian Smart
2ee0e1869a Makefile change for wxUniversal wxToggleButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 18:13:44 +00:00
Włodzimierz Skiba
f6b110d724 Add images with arrows of the combo sample to build system.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 18:13:20 +00:00
Julian Smart
d25774ab97 wxToggleButton for wxUniversal: configure changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 18:09:50 +00:00
Włodzimierz Skiba
b7540dc1ec [ 1493005 ] Fix wxComboCtrl popup positioning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 18:05:30 +00:00
Julian Smart
43be3c33f3 Applied patch 1489656: support for wxToggleButton under wxUniversal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 17:53:50 +00:00
Włodzimierz Skiba
35932e0596 wxScrolBar event sending fix in wxUniv.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 16:52:29 +00:00