]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/object.cpp
reuse Clear() instead of duplicating its code in Close()
[wxWidgets.git] / src / common / object.cpp
index 87e3dc1ed78bc0977852256aa609a791338cc180..4cb6e34b0f6e312fd3b95769e2dfd0db26260a43 100644 (file)
@@ -208,15 +208,6 @@ wxClassInfo *wxClassInfo::FindClass(const wxChar *className)
     }
 }
 
-void wxClassInfo::CleanUp()
-{
-    if ( sm_classTable )
-    {
-        delete sm_classTable;
-        sm_classTable = NULL;
-    }
-}
-
 void wxClassInfo::Register()
 {
     if ( !sm_classTable )