Robin Dunn
447f48ba19
Moved some enums around to better match the C++ headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:26:05 +00:00
Robin Dunn
ba938c3d00
Added some convenience methods to wx.Bitmap: SetSize, GetSize, and
...
wx.EmptyBitmap can be called with a wx.Size (or a 2-element sequence)
object too. Similar changes were done for wx.Image as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:23:17 +00:00
Robin Dunn
2b61982245
docstring tweak
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 06:35:47 +00:00
Robin Dunn
98bc3dcf46
simplify how the XWindow is extracted for GetHandle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 05:57:47 +00:00
Robin Dunn
f52e0cf489
Changed name to wxFIXED_MINSIZE since that is more descriptive of what
...
it does. The size can still be changed by the sizer, but it won't
query the minsize if this flag is set.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 23:06:35 +00:00
Robin Dunn
74a57fcda4
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 22:45:45 +00:00
Robin Dunn
baf1aa5dfd
Use default window IDs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 21:26:34 +00:00
Robin Dunn
33e10b88cf
Added wx.FIXED_SIZE.
...
Added some new methods to wx.Window
Added a Destroy method to wx.TaskbarIcon to help avoid double deletes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 19:36:47 +00:00
Robin Dunn
b8fd6d078c
Somehow the Validate(), TransferDataToWindow(),
...
TransferDataFromWindow(), and InitDialog() methods got lost.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-06 19:10:43 +00:00
Robin Dunn
3eb1aad7ec
Check for errors after unicode conversions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-06 05:37:20 +00:00
Robin Dunn
93a163f611
wxSize::SetDefaults
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-05 18:25:44 +00:00
Robin Dunn
174051f613
GetDefaultAttributes, and other tweaks needed to get up to date with CVS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-05 18:23:01 +00:00
Robin Dunn
70e45c91bb
The reinit of the stock objects shoudl not happen when wxPython is
...
embedded in a C++ wx application
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 19:23:12 +00:00
Robin Dunn
69223c7017
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 20:09:28 +00:00
Robin Dunn
8470ed1a3a
Better conversion functions for integral and floating point types,
...
allows truncated floats to be used where integers are expeceted,
raises more meaningful exceptions, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 19:50:53 +00:00
Robin Dunn
94eaeb1b02
remove 'point' arg from kwargs if it was replaced
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 19:17:17 +00:00
Robin Dunn
a248262879
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 02:18:51 +00:00
Robin Dunn
823f0cfe61
reSWIGed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 02:18:00 +00:00
Robin Dunn
1cb4a8aabe
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 18:10:11 +00:00
Robin Dunn
e35a624d40
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 17:42:37 +00:00
Robin Dunn
d43da70602
Allow overriding ApplyParentThemeBackground
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 17:01:21 +00:00
Robin Dunn
27b60fafb8
Don't use PyThreadState_Swap to get the current tstate, block threads
...
only if the current tstate is not the one expected.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 16:59:56 +00:00
Robin Dunn
e029dde795
Turn off the RefDoc for constructors of the classes that have a
...
RefDoc. This prevents the doc from being duplicated in the metadata.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-26 22:15:23 +00:00
Robin Dunn
d00d1b8818
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-26 19:37:03 +00:00
Robin Dunn
3762cd671b
forgot a bit of cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-26 19:20:13 +00:00
Robin Dunn
66394199cf
Docsrings for wxSplitterWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-26 19:17:29 +00:00
Robin Dunn
fa42d1221d
cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-25 18:13:43 +00:00
Robin Dunn
3c076b7aa2
added UpdateSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-25 18:13:28 +00:00
Robin Dunn
fbc46b2046
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-25 03:39:28 +00:00
Robin Dunn
4f89f6a36b
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-25 02:21:49 +00:00
Robin Dunn
0d267606ff
Add GetMaxTotalWidth
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-25 00:46:55 +00:00
Robin Dunn
bb96dd9306
EVT_SPLITTER_DCLICK alias to match the docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-25 00:46:00 +00:00
Robin Dunn
8179a16812
Fixed OOR typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-25 00:42:24 +00:00
Robin Dunn
da32eb53cb
Changed (again) how the GIL is aquired and the tstate restored. This
...
time it's simpler, better, and handles the case where there is a wx
calback/event while the GIL has been released by a non-wxPython
extension module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-24 23:09:59 +00:00
Robin Dunn
b7c75283f2
Lindsay Mathieson's newest wxActiveX class has been wrapped into a new
...
extension module called wx.activex. Lots of demo and lib updates to
go along with it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 05:29:50 +00:00
Robin Dunn
13baae2c95
use default window id
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 05:26:02 +00:00
Robin Dunn
d43699ef11
change default style to match
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-17 20:07:41 +00:00
Robin Dunn
e83135b283
__version__.py is now always generated from setup.py so there is no
...
need to have it in src any more.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-17 19:57:06 +00:00
Robin Dunn
09b77fb711
Fix GBSpan and GBPosition typemaps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-15 22:47:25 +00:00
Robin Dunn
c19bd0a37a
Also add a bool() function if running on a too old Python.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-15 22:46:30 +00:00
Robin Dunn
55b602db52
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-13 01:56:46 +00:00
Robin Dunn
7409c0c61f
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-12 23:30:22 +00:00
Robin Dunn
52868a7577
aliases for SizerInfo.[Get|Set]Option, since I just mentioned them in
...
the maillist...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-12 20:04:26 +00:00
Robin Dunn
330af86940
Allow the stdout redirection to be toggled on or off in the demo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-11 06:26:54 +00:00
Robin Dunn
dd346b947b
Added wx.PlatformInfo which is a tuple containing strings that
...
describe the platform and build options of wxPython.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-10 18:53:01 +00:00
Robin Dunn
fe76311545
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-10 04:16:12 +00:00
Robin Dunn
ce7284bd97
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-10 04:10:27 +00:00
Robin Dunn
4276dc529d
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-10 03:36:04 +00:00
Robin Dunn
26eac43ed1
Allow wxApp::MacOpenFile, MacPrintFile, MacNewFile, and MacReopenApp
...
to be overridden in Python.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-10 03:19:51 +00:00
Robin Dunn
e0269b2e2a
Added __nonzero__ for wxTraskBarIcon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-10 02:04:21 +00:00