X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0085ce493764aeb971cb312126cf46184fcc6916..d4445d24d33828580f8bf2a1215ef906f70adb51:/wxPython/src/gtk/wizard_wrap.cpp diff --git a/wxPython/src/gtk/wizard_wrap.cpp b/wxPython/src/gtk/wizard_wrap.cpp index 4b9ca50cd6..5e84e81f7e 100644 --- a/wxPython/src/gtk/wizard_wrap.cpp +++ b/wxPython/src/gtk/wizard_wrap.cpp @@ -2790,7 +2790,7 @@ 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; - if (resource.Length()) + if (resource.length()) res = (wxChar*)resource.c_str(); return self->Create(parent, bitmap, res); } @@ -2869,13 +2869,13 @@ IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWizardPage, wxWizardPage, RemoveChild); SWIGINTERN wxPyWizardPage *new_wxPyWizardPage(wxWizard *parent,wxBitmap const *bitmap=&wxNullBitmap,wxString const *resource=&wxPyEmptyString){ wxChar* res = NULL; - if (resource->Length()) + if (resource->length()) res = (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; - if (resource.Length()) + if (resource.length()) res = (wxChar*)resource.c_str(); return self->Create(parent, bitmap, res); }