// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
-%module wizard
+%define DOCSTRING
+"`Wizard` is a dialog class that guides the user through a sequence of steps,
+or pages."
+%enddef
+%module(docstring=DOCSTRING) wizard
%{
#include "wx/wxPython/wxPython.h"
//----------------------------------------------------------------------
%import windows.i
-%pythoncode { wx = core }
+%pythoncode { wx = _core }
+%pythoncode { __docfilter__ = wx.__DocFilter(globals()) }
%include _wizard_rename.i
class wxPyWizardPage : public wxWizardPage {
public:
- %addtofunc wxPyWizardPage "self._setCallbackInfo(self, PyWizardPage);self._setOORInfo(self)"
- %addtofunc wxPyWizardPage() ""
+ %pythonAppend wxPyWizardPage "self._setCallbackInfo(self, PyWizardPage);self._setOORInfo(self)"
+ %pythonAppend wxPyWizardPage() ""
// 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
{
public:
- %addtofunc wxWizardPageSimple "self._setOORInfo(self)"
- %addtofunc wxWizardPageSimple() ""
+ %pythonAppend wxWizardPageSimple "self._setOORInfo(self)"
+ %pythonAppend wxWizardPageSimple() ""
// ctor takes the previous and next pages
wxWizardPageSimple(wxWizard *parent,
class wxWizard : public wxDialog
{
public:
- %addtofunc wxWizard "self._setOORInfo(self)"
- %addtofunc wxWizard() ""
+ %pythonAppend wxWizard "self._setOORInfo(self)"
+ %pythonAppend wxWizard() ""
// ctor
wxWizard(wxWindow *parent,