From: Julian Smart Date: Wed, 17 Mar 2004 08:13:21 +0000 (+0000) Subject: Now does cleanup when returning false from OnInit X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/008270942921dba2c5e725504ea5cf652418e142 Now does cleanup when returning false from OnInit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/utils/tex2rtf/src/tex2rtf.cpp b/utils/tex2rtf/src/tex2rtf.cpp index 14a8974018..86074e2fd0 100644 --- a/utils/tex2rtf/src/tex2rtf.cpp +++ b/utils/tex2rtf/src/tex2rtf.cpp @@ -419,6 +419,7 @@ bool MyApp::OnInit() #ifdef NO_GUI return true; #else + OnExit(); // Do cleanup since OnExit won't be called now return false; #endif }