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:
Vadim Zeitlin 2006-10-08 22:47:10 +00:00
parent dfd7c0821a
commit 5ecfa93af6

View File

@ -155,6 +155,9 @@ bool wxGenericAboutDialog::Create(const wxAboutDialogInfo& info)
SetSizerAndFit(sizerTop);
CentreOnScreen();
FindWindow(wxID_OK)->SetFocus();
return true;
}