set focus to the Ok button initially
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -155,6 +155,9 @@ bool wxGenericAboutDialog::Create(const wxAboutDialogInfo& info)
|
|||||||
SetSizerAndFit(sizerTop);
|
SetSizerAndFit(sizerTop);
|
||||||
|
|
||||||
CentreOnScreen();
|
CentreOnScreen();
|
||||||
|
|
||||||
|
FindWindow(wxID_OK)->SetFocus();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user