X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab94455525efa69b50b013ed876a82afb22aacae..18dbdd3c2785b504c02ebf3739503a0183cae39b:/src/common/init.cpp?ds=sidebyside diff --git a/src/common/init.cpp b/src/common/init.cpp index 0000d789a4..2fd5771f04 100644 --- a/src/common/init.cpp +++ b/src/common/init.cpp @@ -206,8 +206,6 @@ static void FreeConvertedArgs() // initialization which is always done (not customizable) before wxApp creation static bool DoCommonPreInit() { - wxClassInfo::InitializeClasses(); - return true; } @@ -331,7 +329,7 @@ static void DoCommonPreCleanup() // cleanup done after destroying wxTheApp static void DoCommonPostCleanup() { - wxClassInfo::CleanUpClasses(); + wxClassInfo::CleanUp(); // we can't do this in wxApp itself because it doesn't know if argv had // been allocated