X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2c7c1d1ea8fb7141d1e496610966b9619d1f0c19..4589ec39c0a8fb5268f577dfdeea2ccce7fb88d1:/src/motif/app.cpp?ds=sidebyside diff --git a/src/motif/app.cpp b/src/motif/app.cpp index 1671394ca0..34fdebf680 100644 --- a/src/motif/app.cpp +++ b/src/motif/app.cpp @@ -580,6 +580,8 @@ bool wxApp::OnInitGui() argv); if (!dpy) { + // if you don't log to stderr, nothing will be shown... + delete wxLog::SetActiveTarget(new wxLogStderr); wxString className(wxTheApp->GetClassName()); wxLogError(_("wxWindows could not open display for '%s': exiting."), (const char*) className);