]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/arrstr.h
Don't call IAutoComplete::Init() twice for the same control as this leaks memory...
[wxWidgets.git] / include / wx / arrstr.h
index a9e6f86f0473f53bc5f32b2f79cf690b968cd4a8..9e6ec1a392e5d5a2337485756229d47fe735eec0 100644 (file)
@@ -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