]> git.saurik.com Git - wxWidgets.git/commitdiff
usability improvement: set focus to text control so that the user can directly type...
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 30 Oct 2004 20:04:16 +0000 (20:04 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 30 Oct 2004 20:04:16 +0000 (20:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/dirdlgg.cpp

index 8d27c3320b9fd48b0ee4119f031260e242e8a656..0994cded6f2fee78f100cad7bf06bade558a1ee3 100644 (file)
@@ -204,7 +204,7 @@ wxGenericDirDialog::wxGenericDirDialog(wxWindow* parent, const wxString& title,
 
 #endif // !__SMARTPHONE__
 
-    m_dirCtrl->SetFocus();
+    m_input->SetFocus();
 
     SetAutoLayout( true );
     SetSizer( topsizer );