X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0330301cb36709e8dcb70f595c1750451ff3e821..f32eb96401af815f5662b715330802c2e6bfa452:/include/wx/arrstr.h diff --git a/include/wx/arrstr.h b/include/wx/arrstr.h index a9e6f86f04..33a2f05de1 100644 --- a/include/wx/arrstr.h +++ b/include/wx/arrstr.h @@ -87,6 +87,17 @@ public: } int Index(const wxString& str, bool bCase = true, bool bFromEnd = false) const; + +private: + void Insert() + { + wxFAIL_MSG( "wxSortedArrayString::Insert() is not to be used" ); + } + + void Sort() + { + wxFAIL_MSG( "wxSortedArrayString::Sort() is not to be used" ); + } }; #else // if !wxUSE_STL @@ -165,7 +176,7 @@ public: wxString& Item(size_t nIndex) const { wxASSERT_MSG( nIndex < m_nCount, - _T("wxArrayString: index out of bounds") ); + wxT("wxArrayString: index out of bounds") ); return m_pItems[nIndex]; } @@ -176,7 +187,7 @@ public: wxString& Last() const { wxASSERT_MSG( !IsEmpty(), - _T("wxArrayString: index out of bounds") ); + wxT("wxArrayString: index out of bounds") ); return Item(GetCount() - 1); }