X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4976f9967a2dd37dc501e187d7b13a1e6ca22966..c4b330b35d6d23868e522da196a6c520808f81ea:/wxPython/src/gtk/wizard_wrap.cpp diff --git a/wxPython/src/gtk/wizard_wrap.cpp b/wxPython/src/gtk/wizard_wrap.cpp index e3e7b9fb6e..2af5d83a28 100644 --- a/wxPython/src/gtk/wizard_wrap.cpp +++ b/wxPython/src/gtk/wizard_wrap.cpp @@ -2799,9 +2799,9 @@ SWIG_AsVal_bool (PyObject *obj, bool *val) } 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 @@ -2878,15 +2878,15 @@ IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage, wxWizardPage, RemoveChild); 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