]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/filedlgg.cpp
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / src / generic / filedlgg.cpp
index 3b81bef0dc2d1f198e5210368c7cb847de9d1dc2..bc618a23454dcdd502d3e1a6ca5ff4177cf52597 100644 (file)
@@ -1403,6 +1403,8 @@ void wxFileDialog::OnHome( wxCommandEvent &WXUNUSED(event) )
     wxString dir;
     m_list->GetDir( dir );
     m_static->SetLabel( dir );
+    
+    m_text->SetFocus();
 }
 
 void wxFileDialog::OnNew( wxCommandEvent &WXUNUSED(event) )