From 5ecfa93af6c160057997c09db7220280e37518af Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 8 Oct 2006 22:47:10 +0000 Subject: [PATCH] set focus to the Ok button initially git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/aboutdlgg.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/generic/aboutdlgg.cpp b/src/generic/aboutdlgg.cpp index 688750d0a9..8f72fe0e6d 100644 --- a/src/generic/aboutdlgg.cpp +++ b/src/generic/aboutdlgg.cpp @@ -155,6 +155,9 @@ bool wxGenericAboutDialog::Create(const wxAboutDialogInfo& info) SetSizerAndFit(sizerTop); CentreOnScreen(); + + FindWindow(wxID_OK)->SetFocus(); + return true; }