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:
@@ -50,6 +50,7 @@ public:
|
||||
%pythonAppend wxPyApp
|
||||
"self._setCallbackInfo(self, PyApp)
|
||||
self._setOORInfo(self)";
|
||||
%typemap(out) wxPyApp*; // turn off this typemap
|
||||
|
||||
DocStr(wxPyApp,
|
||||
"Create a new application object, starting the bootstrap process.", "");
|
||||
@@ -62,6 +63,10 @@ public:
|
||||
|
||||
~wxPyApp();
|
||||
|
||||
// Turn it back on again
|
||||
%typemap(out) wxPyApp* { $result = wxPyMake_wxObject($1, $owner); }
|
||||
|
||||
|
||||
void _setCallbackInfo(PyObject* self, PyObject* _class);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user