X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6580df1b72539453610530247a0b3bea8dad172a..bc5443ba0701dd68eac6f987319ece2b7faba33d:/include/wx/arrstr.h diff --git a/include/wx/arrstr.h b/include/wx/arrstr.h index 3c5fcfa165..4ce526be62 100644 --- a/include/wx/arrstr.h +++ b/include/wx/arrstr.h @@ -149,7 +149,7 @@ public: { wxASSERT_MSG( !IsEmpty(), _T("wxArrayString: index out of bounds") ); - return Item(Count() - 1); + return Item(GetCount() - 1); }