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
This commit is contained in:
@@ -79,11 +79,7 @@ public:
|
||||
class wxPyTimer : public wxTimer
|
||||
{
|
||||
public:
|
||||
wxPyTimer(wxEvtHandler *owner=NULL, int id = -1)
|
||||
: wxTimer(owner, id)
|
||||
{
|
||||
if (owner == NULL) SetOwner(this);
|
||||
}
|
||||
wxPyTimer(wxEvtHandler *owner=NULL, int id = -1);
|
||||
|
||||
DEC_PYCALLBACK__(Notify);
|
||||
PYPRIVATE;
|
||||
|
Reference in New Issue
Block a user