Robin Dunn
4ba3af91ab
Docstring updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:04:22 +00:00
Robin Dunn
c86fa5a1fa
Add CalcRowsCols
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:12:40 +00:00
Robin Dunn
951090428f
Docstring fix, and a bit of cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 16:09:16 +00:00
Robin Dunn
214c4fbea5
Changes needed to be able to build with SWIG 1.3.24, 1.3.27 as well as
...
the upcoming 1.3.28, using #if statements on SWIG_VERSION.
Adjustments to ownership of SWIG objects, add some destructors and
explicitly disown non-window objects when their ownership is
transfered to a C++ object.
Since all window objects are owned by their parent, or by themselves,
always set their thisown attribute to False.
Explicitly set thisown to False after any Destroy() methods are
called, so SWIG doesn't try to destroy them again.
Etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 02:09:45 +00:00
Robin Dunn
b6222be998
Use reference types on SetDimension so the proper typemaps are used.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 01:35:14 +00:00
Robin Dunn
095315e20d
another merge from WX_2_6_BRANCH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 07:05:15 +00:00
Robin Dunn
02b800ce7c
Merged modifications from the 2.6 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-30 23:02:03 +00:00
Robin Dunn
aae5d34f85
docstring typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 22:54:22 +00:00
Robin Dunn
d5a7caf6b6
added some docstrings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-20 21:21:27 +00:00
Robin Dunn
8b5895b0fe
corrected docstring
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 20:50:19 +00:00
Robin Dunn
38260cced8
docstring update
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 16:48:04 +00:00
Robin Dunn
f1e759d755
docstring update
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 21:55:11 +00:00
Robin Dunn
6e6b35578d
Use the PyGILState_* APIs on Python >= 2.3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-09 22:28:52 +00:00
Robin Dunn
7e8f0df953
Undeprecated AddWindow, AddSizer, AddSpacer and etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 18:43:47 +00:00
Robin Dunn
718903fe64
wxStdButtonSizer Finalise --> Realize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 17:49:03 +00:00
Robin Dunn
39d160c3b2
Some TODO notes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 01:08:29 +00:00
Robin Dunn
50ed1e35a1
Docstring typos
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 21:11:17 +00:00
Robin Dunn
3ba9317588
More methods for wxStdDialogButtonSizer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 21:51:50 +00:00
Robin Dunn
9283228f86
Added wxStdDialogButtonSizer, which is a a special sizer that knows
...
how to order and position standard buttons in order to conform to the
current platform's standards. You simply need to add each `wx.Button`
to the sizer, and be sure to create the buttons using the standard
ID's. Then call `Finalize` and the sizer will take care of the rest.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 22:55:57 +00:00
Robin Dunn
1b8c7ba607
Updated to SWIG 1.3.24 (plus a patch that corrects a bug and adds back
...
some things that were changed/removed from my patch I submitted to
them.)
Since it is now possible easily and simply share the SWIG type tables
across modules I reverted to always using the stock SWIG runtime
instead of my slightly hacked up version of it exported via the
wxPython C API.
The %name directive is now deprecated so replaced most uses of it with
a custom %Rename macro that uses %rename internally. These will
evetually need to be replaced with a DocDecl macro when docstrings are
added.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 20:44:09 +00:00
Robin Dunn
7aada1e05a
Lots of tweaks and additions to get caught up with CVS HEAD
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 02:27:12 +00:00
Robin Dunn
9dcf02b4e2
typo fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 00:33:04 +00:00
Robin Dunn
e2837d11f3
Fix docstring
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-09 01:26:15 +00:00
Robin Dunn
5f47669009
added missing default case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 23:06:03 +00:00
Robin Dunn
41b78a7aaf
revert a few of these back
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 20:36:24 +00:00
Robin Dunn
a72f4631fe
Update SWIG patch to output "True" ("False") in the autodoc string
...
when "true" ("false") is in the .i file.
Changed the .i files to use true/false to avoid collisions with any
True/False in headers that may be included.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 20:23:54 +00:00
Robin Dunn
8f2146748b
wx.Sizer.Show can be recursive
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-13 23:20:47 +00:00
Robin Dunn
9f8a9f5489
Various updates to catch up to wxWidgets CVS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-31 20:24:29 +00:00
Robin Dunn
a77bf68f69
prevent a reference leak when OOR objects are created
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 17:52:29 +00:00
Robin Dunn
329b045c61
Optimized sizers to not call CalcMin more often than neccessary
...
Window items added with wxFIXED_MINSIZE flag will set the window's
minsize to its curent size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:21:31 +00:00
Robin Dunn
3ea6e0ec63
Docstrings for the sizers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 05:18:49 +00:00
Robin Dunn
60a71c29fd
Added missing Detach method wrapper
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 00:40:49 +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
dce2bd223c
Docstring updates and tweaks for epydoc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-30 06:14:22 +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
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
2b9048c56f
%addtofunc --> %pythonAppend
...
Also used %pythonPrepend to provide backwards compatibility for a few
parameter name changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 01:18:37 +00:00
Robin Dunn
d147c72424
Make sure the comment is output in the pythoncode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-30 01:45:17 +00:00
Roman Rolinsky
e5e66a2de0
correct typemap type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-24 14:48:43 +00:00
Robin Dunn
dd9f7fea29
Changed all TRUE/true --> True and all FALSE/false --> False so the
...
Python docstrings will have the correct case.
Started adding extra docstrings where needed.
Some other little tweaks and fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-19 06:31:30 +00:00
Robin Dunn
d14a1e2856
Merged the wxPy_newswig branch into the HEAD branch (main trunk)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-12 21:34:20 +00:00