X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab1f7d2aa9cb1857cf87e105ebbd36a92676bbde..e998fa2691b6b0f545155fa6704cfff5a27663c6:/wxPython/src/wizard.i diff --git a/wxPython/src/wizard.i b/wxPython/src/wizard.i index 48a8e9d31c..df3bf2130a 100644 --- a/wxPython/src/wizard.i +++ b/wxPython/src/wizard.i @@ -14,7 +14,8 @@ "`Wizard` is a dialog class that guides the user through a sequence of steps, or pages." %enddef -%module(docstring=DOCSTRING) wizard + +%module(package="wx", docstring=DOCSTRING) wizard %{ #include "wx/wxPython/wxPython.h" @@ -206,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 @@ -224,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,