removed wxClassInfo::CleanUp() as it breaks wxEntry reentrancy: once the sm_classTable is destroyed it's not going to be recreated again; instead leave last wxClassInfo::Unregister() call do this

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-03-27 00:54:00 +00:00
parent 4fbbe847c8
commit 85149efad7
3 changed files with 0 additions and 12 deletions

View File

@ -98,7 +98,6 @@ public:
// Cleans up hash table used for fast searching.
wxDEPRECATED( static void CleanUpClasses() );
#endif
static void CleanUp();
public:
const wxChar *m_className;

View File

@ -356,8 +356,6 @@ static void DoCommonPostCleanup()
{
wxModule::CleanUpModules();
wxClassInfo::CleanUp();
// we can't do this in wxApp itself because it doesn't know if argv had
// been allocated
#if wxUSE_UNICODE

View 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 )