]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/filedlg.cpp
Added files for wxNotebook and wxCocoaNSTabView
[wxWidgets.git] / src / msw / filedlg.cpp
index 8677731279a52075f4b0e85ba48924241dbb7cd2..b8d7c947e5045230502f715327514157b11a8195 100644 (file)
@@ -340,6 +340,7 @@ int wxFileDialog::ShowModal()
                 dir += _T('\\');
 
             m_path = dir + m_fileName;
+            m_filterIndex = (int)of.nFilterIndex - 1;
         }
         else
         {