Remove unneeded workarounds
This commit is contained in:
@@ -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;
|
||||||
|
@@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user