#include <wx/wizard.h>
- static const wxString wxPyEmptyString(wxT(""));
%}
//----------------------------------------------------------------------
%import windows.i
-%pythoncode { wx = core }
+%pythoncode { wx = _core }
+%pythoncode { __docfilter__ = wx.__DocFilter(globals()) }
%include _wizard_rename.i
+MAKE_CONST_WXSTRING_NOSWIG(EmptyString);
+
//----------------------------------------------------------------------
enum {
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
void base_DoSetClientSize(int width, int height);
void base_DoSetVirtualSize( int x, int y );
- void base_DoGetSize( int *OUTPUT, int *OUTPUT ) const;
- void base_DoGetClientSize( int *OUTPUT, int *OUTPUT ) const;
- void base_DoGetPosition( int *OUTPUT, int *OUTPUT ) const;
+ DocDeclA(
+ void, base_DoGetSize( int *OUTPUT, int *OUTPUT ) const,
+ "base_DoGetSize() -> (width, height)");
+ DocDeclA(
+ void, base_DoGetClientSize( int *OUTPUT, int *OUTPUT ) const,
+ "base_DoGetClientSize() -> (width, height)");
+ DocDeclA(
+ void, base_DoGetPosition( int *OUTPUT, int *OUTPUT ) const,
+ "base_DoGetPosition() -> (x,y)");
wxSize base_DoGetVirtualSize() const;
wxSize base_DoGetBestSize() const;
{
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,
int id = -1,
- const wxString& title = wxEmptyString,
+ const wxString& title = wxPyEmptyString,
const wxBitmap& bitmap = wxNullBitmap,
const wxPoint& pos = wxDefaultPosition,
long style = wxDEFAULT_DIALOG_STYLE);
bool Create(wxWindow *parent,
int id = -1,
- const wxString& title = wxEmptyString,
+ const wxString& title = wxPyEmptyString,
const wxBitmap& bitmap = wxNullBitmap,
const wxPoint& pos = wxDefaultPosition);