}
SWIGINTERN bool wxWizardPage_Create(wxWizardPage *self,wxWizard *parent,wxBitmap const &bitmap=wxNullBitmap,wxString const &resource=wxPyEmptyString){
- wxChar* res = NULL;
+ const wxChar* res = NULL;
if (resource.length())
- res = (wxChar*)resource.c_str();
+ res = (const wxChar*)resource.c_str();
return self->Create(parent, bitmap, res);
}
// C++ Version of a Python aware class
SWIGINTERN wxPyWizardPage *new_wxPyWizardPage(wxWizard *parent,wxBitmap const *bitmap=&wxNullBitmap,wxString const *resource=&wxPyEmptyString){
- wxChar* res = NULL;
+ const wxChar* res = NULL;
if (resource->length())
- res = (wxChar*)resource->c_str();
+ res = (const wxChar*)resource->c_str();
return new wxPyWizardPage(parent, *bitmap, res);
}
SWIGINTERN bool wxPyWizardPage_Create(wxPyWizardPage *self,wxWizard *parent,wxBitmap const &bitmap=wxNullBitmap,wxString const &resource=wxPyEmptyString){
- wxChar* res = NULL;
+ const wxChar* res = NULL;
if (resource.length())
- res = (wxChar*)resource.c_str();
+ res = (const wxChar*)resource.c_str();
return self->Create(parent, bitmap, res);
}
#ifdef __cplusplus