]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/hash.h
Fixed to work with the new wxMacControl system.
[wxWidgets.git] / include / wx / hash.h
index 194302ae7a58c851c783e674098b8d2eb756533d..337eb80371d4daf8dbeaf3f24fc49bff1284ada8 100644 (file)
@@ -348,8 +348,6 @@ public:
 
     const wxHashTable& operator=( const wxHashTable& );
 
-    void Destroy() { Clear(); }
-
     // key and value are the same
     void Put(long value, wxObject *object)
         { DoPut( value, value, object ); }
@@ -518,7 +516,6 @@ private:
                                                                               \
         virtual ~hashclass() { Destroy(); }                                   \
                                                                               \
-        void Destroy() { Clear(); }                                           \
         void Put(long key, eltype *data) { DoPut(key, key, (void*)data); }    \
         void Put(long hash, long key, eltype *data)                           \
             { DoPut(key, hash, (void*)data); }                                \