add wxYield() after SetFocus, make sure the all event will be executed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -122,6 +122,7 @@ void WindowTestCase::KeyEvent()
|
||||
wxUIActionSimulator sim;
|
||||
|
||||
m_window->SetFocus();
|
||||
wxYield();
|
||||
|
||||
sim.Text("text");
|
||||
sim.Char(WXK_SHIFT);
|
||||
|
Reference in New Issue
Block a user