Fix windowtest test failing under wxQt

This commit is contained in:
ali kettab 2023-10-05 11:55:19 +01:00
parent ae0d707166
commit 942b3bccf4

View file

@ -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());