X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5dbb17e27f5a64c7390c54223abce40ae32ecaa8..40f7145ca55ccf1b197e70acf79bbd4aa5d85145:/src/mac/carbon/utils.cpp?ds=inline diff --git a/src/mac/carbon/utils.cpp b/src/mac/carbon/utils.cpp index d7e671c582..4cd5021df4 100644 --- a/src/mac/carbon/utils.cpp +++ b/src/mac/carbon/utils.cpp @@ -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 @@ -486,5 +491,11 @@ wxWindow* wxFindWindowAtPoint(const wxPoint& pt) wxString wxGetOsDescription() { - return "MacOS" ; //TODO:define further -} \ No newline at end of file +#ifdef WXWIN_OS_DESCRIPTION + // use configure generated description if available + return wxString("MacOS (") + WXWIN_OS_DESCRIPTION + wxString(")"); +#else + return "MacOS" ; //TODO:define further +#endif +} +