Fix windowtest test failing under wxQt
This commit is contained in:
parent
ae0d707166
commit
942b3bccf4
1 changed files with 1 additions and 1 deletions
|
|
@ -133,8 +133,8 @@ TEST_CASE_METHOD(WindowTestCase, "Window::FocusEvent", "[window]")
|
|||
|
||||
wxButton* button = new wxButton(wxTheApp->GetTopWindow(), wxID_ANY);
|
||||
|
||||
wxYield();
|
||||
button->SetFocus();
|
||||
wxYield();
|
||||
|
||||
CHECK( killfocus.GetCount() == 1 );
|
||||
CHECK(!m_window->HasFocus());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue