- %extend {
- 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);
- }
- }
+ wxPyWizardPage(wxWizard *parent,
+ const wxBitmap& bitmap = wxNullBitmap);