From: Václav Slavík Date: Sat, 30 Oct 2004 20:04:16 +0000 (+0000) Subject: usability improvement: set focus to text control so that the user can directly type... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9026d6fd7f505d01ec7e320276d41d42e01d7486 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 --- 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 );