Commit Graph

14 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
087f594ba1 wxMac has wxSound::Stop now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 01:32:48 +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
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
de3ac0f5c8 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 00:57:42 +00:00
Robin Dunn
ab1f7d2aa9 All the Window and GDI (pen, bitmap, etc.) classes and also many
toplevel functions will now check that a wx.App object has already
been created and will raise a wx.PyNoAppError exception if not.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:38:05 +00:00
Robin Dunn
b65ac702f1 Don't turn off kwargs for these methods any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 01:12:18 +00:00
Robin Dunn
68cc401372 Switch to using a Python buffer object for the sound from data methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 22:17:59 +00:00
Robin Dunn
e0f0eaba3d Change wxSound ctor wrappings so sound can be loaded from data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 21:35:35 +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
bb5919e4df Use wxPyRaiseNotImplemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-09 22:03:33 +00:00
Robin Dunn
b409bb30c7 fixed a compile warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-18 02:23:01 +00:00
Robin Dunn
e8e4a2a4d4 Some ifdef's to correct compile problems on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-05 01:04:08 +00:00
Robin Dunn
78862f240c wxWave --> wxSound
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-03 03:55:05 +00:00