git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18303
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxClassInfo::CleanUpClasses();
wxClassInfo::CleanUpClasses();
+ // TODO: this should really be done in ~wxApp
+#if wxUSE_UNICODE
+ for ( int mb_argc = 0; mb_argc < wxTheApp->argc; mb_argc++ )
+ {
+ free(wxTheApp->argv[mb_argc]);
+ }
+#endif // wxUSE_UNICODE
+
// delete the application object
delete wxTheApp;
wxTheApp = (wxApp *)NULL;
// delete the application object
delete wxTheApp;
wxTheApp = (wxApp *)NULL;