Small fixes for Tex2RTF but alas, we still get memory problems.
Added wxUSE_MFC setting (doesn't include windows.h, removes own memory tracing); added include <ctype.h> in case where PCH isn't used; wxExit now exits :-) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1199,6 +1199,7 @@ void wxExit()
|
||||
wxLogError(_("Fatal error: exiting"));
|
||||
|
||||
wxApp::CleanUp();
|
||||
exit(0);
|
||||
}
|
||||
|
||||
// Yield to incoming messages
|
||||
@@ -1223,7 +1224,8 @@ bool wxYield()
|
||||
}
|
||||
|
||||
// If they are pending events, we must process them.
|
||||
wxTheApp->ProcessPendingEvents();
|
||||
if (wxTheApp)
|
||||
wxTheApp->ProcessPendingEvents();
|
||||
|
||||
// let the logs be flashed again
|
||||
wxLog::Resume();
|
||||
|
||||
Reference in New Issue
Block a user