]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/hash.h
reSWIGged
[wxWidgets.git] / include / wx / hash.h
index 95840eb631172931c48f0c0a288b90a84d0631c6..337eb80371d4daf8dbeaf3f24fc49bff1284ada8 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     01/02/97
 // RCS-ID:      $Id$
 // Copyright:   (c)
 // Created:     01/02/97
 // RCS-ID:      $Id$
 // Copyright:   (c)
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_HASH_H__
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_HASH_H__
@@ -348,8 +348,6 @@ public:
 
     const wxHashTable& operator=( const wxHashTable& );
 
 
     const wxHashTable& operator=( const wxHashTable& );
 
-    void Destroy() { Clear(); }
-
     // key and value are the same
     void Put(long value, wxObject *object)
         { DoPut( value, value, object ); }
     // key and value are the same
     void Put(long value, wxObject *object)
         { DoPut( value, value, object ); }
@@ -518,7 +516,6 @@ private:
                                                                               \
         virtual ~hashclass() { Destroy(); }                                   \
                                                                               \
                                                                               \
         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); }                                \
         void Put(long key, eltype *data) { DoPut(key, key, (void*)data); }    \
         void Put(long hash, long key, eltype *data)                           \
             { DoPut(key, hash, (void*)data); }                                \