From: Vadim Zeitlin Date: Fri, 28 Jan 2000 20:56:19 +0000 (+0000) Subject: test for log dialog with only 1 msg X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7923c649466b48461beb12e60aac31f8eaf004a8 test for log dialog with only 1 msg git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/dialogs/dialogs.cpp b/samples/dialogs/dialogs.cpp index c54c263b5f..0d922d4aa2 100644 --- a/samples/dialogs/dialogs.cpp +++ b/samples/dialogs/dialogs.cpp @@ -201,6 +201,10 @@ void MyFrame::LogDialog(wxCommandEvent& event) wxLogWarning("And then something went wrong!"); wxLogError("Intermediary error handler decided to abort."); wxLogError("The top level caller detected an error."); + + wxLog::FlushActive(); + + wxLogMessage("And this is the same dialog but with onle one message"); } void MyFrame::MessageBox(wxCommandEvent& WXUNUSED(event) )