- wxPyWizardPage(wxWizard *parent,
- const wxBitmap& bitmap = wxNullBitmap,
- const char* resource = NULL);
+ %addmethods {
+ wxPyWizardPage(wxWizard *parent,
+ const wxBitmap* bitmap = &wxNullBitmap,
+ const wxString* resource = &wxPyEmptyString) {
+ wxChar* res = NULL;
+ if (resource->Length())
+ res = (wxChar*)resource->c_str();
+ return new wxPyWizardPage(parent, *bitmap, res);
+ }
+ }
+