Length --> length

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-03-24 00:10:48 +00:00
parent 3f5ec80664
commit 2fbb702ba3

View File

@@ -103,7 +103,7 @@ public:
const wxBitmap& bitmap = wxNullBitmap, const wxBitmap& bitmap = wxNullBitmap,
const wxString& resource = wxPyEmptyString) { const wxString& resource = wxPyEmptyString) {
wxChar* res = NULL; wxChar* res = NULL;
if (resource.Length()) if (resource.length())
res = (wxChar*)resource.c_str(); res = (wxChar*)resource.c_str();
return self->Create(parent, bitmap, res); return self->Create(parent, bitmap, res);
} }
@@ -218,7 +218,7 @@ public:
const wxBitmap* bitmap = &wxNullBitmap, const wxBitmap* bitmap = &wxNullBitmap,
const wxString* resource = &wxPyEmptyString) { const wxString* resource = &wxPyEmptyString) {
wxChar* res = NULL; wxChar* res = NULL;
if (resource->Length()) if (resource->length())
res = (wxChar*)resource->c_str(); res = (wxChar*)resource->c_str();
return new wxPyWizardPage(parent, *bitmap, res); return new wxPyWizardPage(parent, *bitmap, res);
} }
@@ -234,7 +234,7 @@ public:
const wxBitmap& bitmap = wxNullBitmap, const wxBitmap& bitmap = wxNullBitmap,
const wxString& resource = wxPyEmptyString) { const wxString& resource = wxPyEmptyString) {
wxChar* res = NULL; wxChar* res = NULL;
if (resource.Length()) if (resource.length())
res = (wxChar*)resource.c_str(); res = (wxChar*)resource.c_str();
return self->Create(parent, bitmap, res); return self->Create(parent, bitmap, res);
} }
@@ -403,7 +403,7 @@ public:
virtual void SetBorder(int border); virtual void SetBorder(int border);
// is the wizard running? // 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 // show the prev/next page, but call TransferDataFromWindow on the current
// page first and return False without changing the page if // page first and return False without changing the page if