]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/utils.cpp
Don't do the wx cleanup if wxPython didn't do the initialization.
[wxWidgets.git] / src / os2 / utils.cpp
index c42628a26dda8b9dbced50d25aa1303578625a57..5ac046f10a676010e9ed48875589bfb90594b303 100644 (file)
@@ -291,6 +291,8 @@ void wxFlushEvents()
 //  wxYield();
 }
 
+#if WXWIN_COMPATIBILITY_2_2
+
 // Output a debug mess., in a system dependent fashion.
 void wxDebugMsg(
   const wxChar*                     zFmt ...
@@ -343,6 +345,8 @@ void wxFatalError(
     DosExit(EXIT_PROCESS, ulRc);
 }
 
+#endif // WXWIN_COMPATIBILITY_2_2
+
 // Emit a beeeeeep
 void wxBell()
 {