From 9026d6fd7f505d01ec7e320276d41d42e01d7486 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 30 Oct 2004 20:04:16 +0000 Subject: [PATCH] usability improvement: set focus to text control so that the user can directly type directory name instead of using both mouse and keyboard git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/dirdlgg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/dirdlgg.cpp b/src/generic/dirdlgg.cpp index 8d27c3320b..0994cded6f 100644 --- a/src/generic/dirdlgg.cpp +++ b/src/generic/dirdlgg.cpp @@ -204,7 +204,7 @@ wxGenericDirDialog::wxGenericDirDialog(wxWindow* parent, const wxString& title, #endif // !__SMARTPHONE__ - m_dirCtrl->SetFocus(); + m_input->SetFocus(); SetAutoLayout( true ); SetSizer( topsizer ); -- 2.45.2