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:
parent
dfd7c0821a
commit
5ecfa93af6
@ -155,6 +155,9 @@ bool wxGenericAboutDialog::Create(const wxAboutDialogInfo& info)
|
||||
SetSizerAndFit(sizerTop);
|
||||
|
||||
CentreOnScreen();
|
||||
|
||||
FindWindow(wxID_OK)->SetFocus();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user