X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a0d517ea4dbcef61ba9b0868318f686e97618bb..abb69c6c82d61cf18f14270650a68896a3d8ed47:/include/wx/hash.h

diff --git a/include/wx/hash.h b/include/wx/hash.h
index 7ac1e05a7a..873536e139 100644
--- a/include/wx/hash.h
+++ b/include/wx/hash.h
@@ -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; }