X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0728199b911be9095406cf05059a5a180e707778..1722a3f626f7b29b42a22fc6329ce12fb5e8ed90:/src/common/appcmn.cpp diff --git a/src/common/appcmn.cpp b/src/common/appcmn.cpp index 8a33c3f31f..e25528a638 100644 --- a/src/common/appcmn.cpp +++ b/src/common/appcmn.cpp @@ -433,7 +433,9 @@ bool wxAppBase::SendIdleEvents(wxWindow* win, wxIdleEvent& event) wxLog *wxGUIAppTraitsBase::CreateLogTarget() { -#if wxUSE_LOGGUI +// DE: One day I'll remove this but right now the generic dialog used for this +// just doesn't work right at all on wxCocoa. +#if wxUSE_LOGGUI && !defined(__WXCOCOA__) return new wxLogGui; #else // we must have something! @@ -456,8 +458,10 @@ wxMessageOutput *wxGUIAppTraitsBase::CreateMessageOutput() // wxMessageOutputMessageBox doesn't work under Motif #ifdef __WXMOTIF__ return new wxMessageOutputLog; - #else + #elif wxUSE_MSGDLG return new wxMessageOutputMessageBox; + #else + return new wxMessageOutputStderr; #endif #endif // __UNIX__/!__UNIX__ }