about focused window, replace static variables implementation by DoFindFocus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -147,6 +147,7 @@ void WindowTestCase::FocusEvent()
|
||||
|
||||
wxButton* button = new wxButton(wxTheApp->GetTopWindow(), wxID_ANY);
|
||||
|
||||
wxYield();
|
||||
button->SetFocus();
|
||||
|
||||
CPPUNIT_ASSERT_EQUAL(1, killfocus.GetCount());
|
||||
|
Reference in New Issue
Block a user