]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/hash.h
removed wxITALIC/wxSLANT stuff from wxHTML (no longer neccessary, we have intelligent...
[wxWidgets.git] / include / wx / hash.h
index ec71b9b8c1b95f84f301dc9d7885f06f49d505ee..4634f96313b6f3d25a5d81d575619295655f81e8 100644 (file)
@@ -41,6 +41,11 @@ class WXDLLEXPORT wxHashTable: public wxObject
   wxHashTable(int the_key_type = wxKEY_INTEGER, int size = 1000);
   ~wxHashTable(void);
   
+  // copy ctor and assignment operator
+  wxHashTable(const wxHashTable& table) { DoCopy(table); }
+  wxHashTable& operator=(const wxHashTable& table) { Clear(); DoCopy(table); return *this; }
+  void DoCopy(const wxHashTable& table);
+  
   void Destroy(void);  // Robert Roebling
 
   bool Create(int the_key_type = wxKEY_INTEGER, int size = 1000);