Remove unneeded workarounds

This commit is contained in:
ali kettab
2020-07-10 22:31:00 +01:00
parent 8fd09b9382
commit a33a38c1ad
2 changed files with 0 additions and 14 deletions

View File

@@ -584,10 +584,6 @@ void MenuTestCase::Events()
// Invoke the accelerator. // Invoke the accelerator.
m_frame->Show(); m_frame->Show();
m_frame->SetFocus(); m_frame->SetFocus();
#ifdef __WXGTK__
// Without this, test fails when run with other tests under Xvfb.
m_frame->Raise();
#endif
wxYield(); wxYield();
wxUIActionSimulator sim; wxUIActionSimulator sim;

View File

@@ -211,16 +211,6 @@ void NumValidatorTestCase::Interactive()
return; return;
#endif // __WXMSW__ #endif // __WXMSW__
#ifdef __WXGTK20__
// Travis CI fails without this!
if ( IsAutomaticTest() )
{
wxFrame* frame = wxDynamicCast(wxTheApp->GetTopWindow(), wxFrame);
frame->SetFocus();
frame->Raise();
}
#endif // __WXGTK20__
// Set a locale using comma as thousands separator character. // Set a locale using comma as thousands separator character.
wxLocale loc(wxLANGUAGE_ENGLISH_UK, wxLOCALE_DONT_LOAD_DEFAULT); wxLocale loc(wxLANGUAGE_ENGLISH_UK, wxLOCALE_DONT_LOAD_DEFAULT);