"`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"
%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
%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,