test for wxLog interaction with wxYield better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -266,6 +266,9 @@ void MyFrame::LogDialog(wxCommandEvent& event)
|
|||||||
wxLogMessage("This is some message - everything is ok so far.");
|
wxLogMessage("This is some message - everything is ok so far.");
|
||||||
wxLogMessage("Another message...\n... this one is on multiple lines");
|
wxLogMessage("Another message...\n... this one is on multiple lines");
|
||||||
wxLogWarning("And then something went wrong!");
|
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.");
|
wxLogError("Intermediary error handler decided to abort.");
|
||||||
|
Reference in New Issue
Block a user