From: Vadim Zeitlin Date: Thu, 26 Jul 2001 15:09:35 +0000 (+0000) Subject: test for wxLog interaction with wxYield better X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9fe52545f5b4a21e3cdeab5d0aa8d9e6a91355c3 test for wxLog interaction with wxYield better git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/dialogs/dialogs.cpp b/samples/dialogs/dialogs.cpp index 632fdf155d..af929a2dd4 100644 --- a/samples/dialogs/dialogs.cpp +++ b/samples/dialogs/dialogs.cpp @@ -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.");