Make wxSetInputFocusToXWindow a member instead of free function
Also add a couple of workarounds for problems when using Xvfb. See https://github.com/wxWidgets/wxWidgets/pull/1845
This commit is contained in:
committed by
Vadim Zeitlin
parent
609f77ff55
commit
a3e264e8a3
@@ -584,6 +584,10 @@ void MenuTestCase::Events()
|
||||
// Invoke the accelerator.
|
||||
m_frame->Show();
|
||||
m_frame->SetFocus();
|
||||
#ifdef __WXGTK__
|
||||
// Without this, test fails when run with other tests under Xvfb.
|
||||
m_frame->Raise();
|
||||
#endif
|
||||
wxYield();
|
||||
|
||||
wxUIActionSimulator sim;
|
||||
|
Reference in New Issue
Block a user