Fix failures in TreeCtrlTestCase tests under wxQt
This commit is contained in:
parent
0e325e6262
commit
7469f0f5c4
1 changed files with 6 additions and 0 deletions
|
|
@ -317,6 +317,11 @@ void TreeCtrlTestCase::LabelEdit()
|
|||
|
||||
wxUIActionSimulator sim;
|
||||
|
||||
#ifdef __WXQT__
|
||||
m_tree->SetFocus();
|
||||
wxYield();
|
||||
#endif
|
||||
|
||||
m_tree->SetFocusedItem(m_tree->GetRootItem());
|
||||
m_tree->EditLabel(m_tree->GetRootItem());
|
||||
|
||||
|
|
@ -338,6 +343,7 @@ void TreeCtrlTestCase::KeyDown()
|
|||
wxUIActionSimulator sim;
|
||||
|
||||
m_tree->SetFocus();
|
||||
wxYield();
|
||||
sim.Text("aAbB");
|
||||
wxYield();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue