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
This commit is contained in:
@@ -33,10 +33,15 @@ class wxValidator : public wxEvtHandler
|
||||
{
|
||||
public:
|
||||
%pythonAppend wxValidator "self._setOORInfo(self)"
|
||||
%typemap(out) wxValidator*; // turn off this typemap
|
||||
|
||||
wxValidator();
|
||||
//~wxValidator();
|
||||
|
||||
// Turn it back on again
|
||||
%typemap(out) wxValidator* { $result = wxPyMake_wxObject($1, $owner); }
|
||||
|
||||
|
||||
// Make a clone of this validator (or return NULL)
|
||||
wxValidator* Clone();
|
||||
|
||||
|
Reference in New Issue
Block a user