flush stderr in wxSafeShowMessage(): this might be unnecessary but definitely doesn't hurt and could be useful if stderr is redirected

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-06-29 12:42:06 +00:00
parent 562b006812
commit 65f0638484

View File

@@ -166,6 +166,7 @@ void wxSafeShowMessage(const wxString& title, const wxString& text)
::MessageBox(NULL, text, title, MB_OK | MB_ICONSTOP);
#else
wxFprintf(stderr, _T("%s: %s\n"), title.c_str(), text.c_str());
fflush(stderr);
#endif
}