X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/abbb59e8eb995f445759df30ee507c74af690b51..2229243bdf17485b33c15786124ab99366b83975:/include/wx/arrstr.h?ds=sidebyside diff --git a/include/wx/arrstr.h b/include/wx/arrstr.h index ad82252b90..4ce526be62 100644 --- a/include/wx/arrstr.h +++ b/include/wx/arrstr.h @@ -56,7 +56,7 @@ public: wxArrayStringBase::Add(string, copies); return size() - copies; } -} +}; class WXDLLIMPEXP_BASE wxSortedArrayString : public wxSortedArrayStringBase { @@ -149,7 +149,7 @@ public: { wxASSERT_MSG( !IsEmpty(), _T("wxArrayString: index out of bounds") ); - return Item(Count() - 1); + return Item(GetCount() - 1); }