demo of wxYield() bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
409c4ffddd
commit
1171c29741
@ -233,9 +233,10 @@ void MyFrame::LogDialog(wxCommandEvent& event)
|
||||
wxLogMessage("This is some message - everything is ok so far.");
|
||||
wxLogMessage("Another message...");
|
||||
wxLogWarning("And then something went wrong!");
|
||||
// if we have this wxYield() here, everything breaks under GTK
|
||||
wxYield();
|
||||
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 only one message.");
|
||||
|
Loading…
Reference in New Issue
Block a user