From 2fbb702ba3365fe9f175daed1a03961891ce5c71 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 24 Mar 2006 00:10:48 +0000 Subject: [PATCH 1/1] Length --> length git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/wizard.i | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wxPython/src/wizard.i b/wxPython/src/wizard.i index 009477ea1f..00a0365b62 100644 --- a/wxPython/src/wizard.i +++ b/wxPython/src/wizard.i @@ -103,7 +103,7 @@ public: const wxBitmap& bitmap = wxNullBitmap, const wxString& resource = wxPyEmptyString) { wxChar* res = NULL; - if (resource.Length()) + if (resource.length()) res = (wxChar*)resource.c_str(); return self->Create(parent, bitmap, res); } @@ -218,7 +218,7 @@ public: const wxBitmap* bitmap = &wxNullBitmap, const wxString* resource = &wxPyEmptyString) { wxChar* res = NULL; - if (resource->Length()) + if (resource->length()) res = (wxChar*)resource->c_str(); return new wxPyWizardPage(parent, *bitmap, res); } @@ -234,7 +234,7 @@ public: const wxBitmap& bitmap = wxNullBitmap, const wxString& resource = wxPyEmptyString) { wxChar* res = NULL; - if (resource.Length()) + if (resource.length()) res = (wxChar*)resource.c_str(); return self->Create(parent, bitmap, res); } @@ -403,7 +403,7 @@ public: virtual void SetBorder(int border); // is the wizard running? - bool IsRunning() const { return m_page != NULL; } + bool IsRunning() const; // show the prev/next page, but call TransferDataFromWindow on the current // page first and return False without changing the page if -- 2.45.2