Commit Graph

18 Commits

Author SHA1 Message Date
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
23f8f9853e Allow wxCustomDataObject ctor to be able to take the format name
string directly and to automatically make the wxDataFormat from it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 01:13:07 +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
c61fb03543 Oops, forgot to return a value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-22 03:38:57 +00:00
Robin Dunn
8e0ecdd955 Docstrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-22 02:59:17 +00:00
Robin Dunn
d07d2bc9d0 Some docstring additions, reformats and epydoc markup.
Removed RefDoc macros, instead made all the normal Docstring macros
take an extra parameter to be used for the optional details postion of
the docstring.  The intent is that the docstrings put in the generated
.py files checked in to CVS and delivered in releases will be only a
paragraph or two, but when used for generating the epydoc reference
docs they can optionally contain a lot more details.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 00:17:48 +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
0facd0e524 Added docstrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 19:38:21 +00:00
Robin Dunn
f659339e93 AddFile isn't just for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-24 02:08:38 +00:00
Robin Dunn
04e271558d Fix ambiguity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 01:32:03 +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
8668c24280 Use the DISOWN typemap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-27 00:52:47 +00:00
Robin Dunn
c12014018b Fixed another SWIG warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 21:26:34 +00:00
Robin Dunn
814cbb494a Fixed SWIG warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 21:06:42 +00:00
Robin Dunn
f87da72205 Beginings of wxX11 support. Much more to do but I have no more time
for it today.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-09 18:34:52 +00:00
Robin Dunn
81cfe5e13e Aquire the GIL before raising the NotImplementedError exception
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 19:54:10 +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