added wxArrayString::operator==() and !=()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-07-06 13:13:27 +00:00
parent a3e99a54fb
commit faf08d09e2
3 changed files with 34 additions and 0 deletions

View File

@@ -1016,6 +1016,12 @@ public:
// sort array elements using specified comparaison function
void Sort(CompareFunction compareFunction);
// comparison
// compare two arrays case sensitively
bool operator==(const wxArrayString& a) const;
// compare two arrays case sensitively
bool operator!=(const wxArrayString& a) const { return !(*this == a); }
protected:
void Copy(const wxArrayString& src); // copies the contents of another array