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:
@@ -207,6 +207,7 @@ public:
|
||||
|
||||
%pythonAppend wxPyWizardPage "self._setCallbackInfo(self, PyWizardPage);self._setOORInfo(self)"
|
||||
%pythonAppend wxPyWizardPage() ""
|
||||
%typemap(out) wxPyWizardPage*; // turn off this typemap
|
||||
|
||||
// ctor accepts an optional bitmap which will be used for this page instead
|
||||
// of the default one for this wizard (should be of the same size). Notice
|
||||
@@ -225,6 +226,9 @@ public:
|
||||
|
||||
%name(PrePyWizardPage)wxPyWizardPage();
|
||||
|
||||
// Turn it back on again
|
||||
%typemap(out) wxPyWizardPage* { $result = wxPyMake_wxObject($1, $owner); }
|
||||
|
||||
%extend {
|
||||
bool Create(wxWizard *parent,
|
||||
const wxBitmap& bitmap = wxNullBitmap,
|
||||
|
Reference in New Issue
Block a user