X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4ad3c82fff70f03b0b1d01331e4fd53bb51a9eca..71ec83d2fd6dde4fd6ad1905cf74c6cf23d13c2a:/samples/dialogs/dialogs.cpp?ds=sidebyside 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.");