Commit Graph

11 Commits

Author SHA1 Message Date
Robin Dunn
d49bdf3432 wx.EvtHandler is OOR capable
docstring fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 01:37:29 +00:00
Robin Dunn
42e2bbb9e1 add more properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 04:20:39 +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
94fd5e4dc1 Allow the OOR reference to be saved without doing an INCREF. This
solves the circular reference problem with wx.Timer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 22:50:29 +00:00
Robin Dunn
b39c3fa09a Avoid using the OOR typemap in the constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 22:51:01 +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
04633c190f Fix docs for Bind
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 21:30:05 +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
ded6ea2319 Add Unbind methods that can Disconnect event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-27 19:35:49 +00:00
Robin Dunn
a51dff7380 Get the GIL before raising an exception
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-22 22:07:20 +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