make wxSortedArrayString::Sort() and Insert() private in STL build (closes #10947)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user