Commit Graph

24 Commits

Author SHA1 Message Date
Robin Dunn
c25f90f60c Use a swig macro for generating the call to the _setCallbackInfo
function so it's easy to fiddle with, if needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 22:03:54 +00:00
Robin Dunn
4b5a79cf54 Disown using .this.own(False) instead of .thisown = False
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 03:30:33 +00:00
Robin Dunn
584d6f48b0 Fixes for using the staticmethods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 00:50:22 +00:00
Robin Dunn
4391d97b25 New names for some ArtProvider methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 23:26:08 +00:00
Robin Dunn
e0bfbd2c74 Add InsertProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-01 23:37:28 +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
406011a83d Some tweaks to the temporary art images, added wxART_NEW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-26 19:15:45 +00:00
Robin Dunn
76144efee5 Oops
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 18:09:19 +00:00
Robin Dunn
8e7da44f18 GetSize --> GetSizeHint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 18:07:04 +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
dc2360764d Added wx.ArtProvider.GetSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-05 00:52:07 +00:00
Robin Dunn
6e1eab530e Add more art IDs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 22:37:24 +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
020303e6f9 Little tweaks to match recent wxWidgets updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 00:06:58 +00:00
Robin Dunn
07faea2800 doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-01 19:29:13 +00:00
Robin Dunn
ed2de217c6 Add wx.ART_BUTTON
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 21:12:41 +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
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
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
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
1e0c87227c More docstrings and rearrainged a couple things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-26 06:09:56 +00:00
Robin Dunn
fd3f2efe79 Lots of little bug fixes, API updates, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-22 22:57:49 +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