]> git.saurik.com Git - wxWidgets.git/commitdiff
test for wxLog interaction with wxYield better
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 26 Jul 2001 15:09:35 +0000 (15:09 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 26 Jul 2001 15:09:35 +0000 (15:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/dialogs/dialogs.cpp

index 632fdf155d61da75e5548413ec2020c74981a5e8..af929a2dd462506cca868800beed163ec0913cf3 100644 (file)
@@ -266,6 +266,9 @@ void MyFrame::LogDialog(wxCommandEvent& event)
         wxLogMessage("This is some message - everything is ok so far.");
         wxLogMessage("Another message...\n... this one is on multiple lines");
         wxLogWarning("And then something went wrong!");
+
+        // and if ~wxBusyCursor doesn't do it, then call it manually
+        wxYield();
     }
 
     wxLogError("Intermediary error handler decided to abort.");