]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/filedlgg.cpp
compilation fixes for Unix - IT DOES NOT WORK YET, DON'T TRY IT
[wxWidgets.git] / src / generic / filedlgg.cpp
index 9f1eaee5c0b22d159bdd44b2b1ff1bf265910562..cd53a8017f2d12d65e69bdb0afde35a6fa7b4825 100644 (file)
@@ -709,6 +709,7 @@ void wxFileDialog::OnChoice( wxCommandEvent &event )
 {
     wxString *str = (wxString*) m_choice->GetClientData( event.GetInt() );
     m_list->SetWild( *str );
+    m_filterIndex = event.GetInt();
 }
 
 void wxFileDialog::OnCheck( wxCommandEvent &event )