]> git.saurik.com Git - wxWidgets.git/commitdiff
test for log dialog with only 1 msg
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 28 Jan 2000 20:56:19 +0000 (20:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 28 Jan 2000 20:56:19 +0000 (20:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/dialogs/dialogs.cpp

index c54c263b5f86e1ab18bbb9b6693990bfae532bdc..0d922d4aa26782a9625c82c8c0dc27c56b4f62ef 100644 (file)
@@ -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) )