]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/utils.cpp
Don't do the wx cleanup if wxPython didn't do the initialization.
[wxWidgets.git] / src / mac / utils.cpp
index 2e2ffd6c4a37c12ccabd251f0f11d7a7adcc1301..4cd5021df42e488281de938dfe8593dfbb2fefb8 100644 (file)
@@ -164,6 +164,8 @@ void wxFlushEvents()
 {
 }
 
+#if WXWIN_COMPATIBILITY_2_2
+
 // Output a debug message, in a system dependent fashion.
 void wxDebugMsg(const char *fmt ...)
 {
@@ -198,6 +200,9 @@ void wxFatalError(const wxString& msg, const wxString& title)
   wxMessageBox(wxBuffer);
   wxExit();
 }
+
+#endif // WXWIN_COMPATIBILITY_2_2
+
 #endif // !__DARWIN__
 
 // Emit a beeeeeep