X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2c7c1d1ea8fb7141d1e496610966b9619d1f0c19..7e48d7d9fb4b546e6a68239e8a77ce7ef79df3b0:/src/motif/app.cpp 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);