#include <wx/wizard.h>
- static const wxString wxPyEmptyString(wxT(""));
%}
//----------------------------------------------------------------------
%import windows.i
-%pythoncode { wx = core }
+%pythoncode { wx = _core }
%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
{
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);