]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/hash.h
use wxNullFont instead of *wxNORMAL_FONT as default parameter for wxFontPickerCtrl...
[wxWidgets.git] / include / wx / hash.h
index 07ece7d0aa5f6cc4be706c1a474f968d42a534d4..a85d83c83b388e4947595c483b81e93af9d8090c 100644 (file)
@@ -426,7 +426,7 @@ public:
 
     wxHashTable(int the_key_type = wxKEY_INTEGER,
                 int size = wxHASH_SIZE_DEFAULT);
-    ~wxHashTable();
+    virtual ~wxHashTable();
 
     // copy ctor and assignment operator
     wxHashTable(const wxHashTable& table) : wxObject()
@@ -542,7 +542,7 @@ private:
                   size_t size = wxHASH_SIZE_DEFAULT)                           \
             { Create(keyType, size); }                                         \
                                                                                \
-        ~hashclass() { Destroy(); }                                            \
+        virtual ~hashclass() { Destroy(); }                                            \
                                                                                \
         void Put(long key, long val, eltype *data) { DoPut(key, val, data); }  \
         void Put(long key, eltype *data) { DoPut(key, key, data); }            \