]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/hash.h
Compile fix for wxFileName.
[wxWidgets.git] / include / wx / hash.h
index 7ac1e05a7a3aeb3d17ab4eac6ebba8091f9aeaab..5868ef8dff56f2db8ac4d9e25f0daab0bf2c0d24 100644 (file)
@@ -158,7 +158,7 @@ public:
     ~wxHashTable();
 
     // copy ctor and assignment operator
-    wxHashTable(const wxHashTable& table) { DoCopy(table); }
+    wxHashTable(const wxHashTable& table) : wxObject() { DoCopy(table); }
     wxHashTable& operator=(const wxHashTable& table)
         { Clear(); DoCopy(table); return *this; }
 
@@ -297,5 +297,8 @@ private:
 #define WX_DECLARE_EXPORTED_HASH(el, list, hash)  \
     _WX_DECLARE_HASH(el, list, hash, class WXDLLEXPORT)
 
+#define WX_DECLARE_USER_EXPORTED_HASH(el, list, hash, usergoo)  \
+    _WX_DECLARE_HASH(el, list, hash, class usergoo)
+
 #endif
     // _WX_HASH_H__