]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/filedlg.cpp
really show the window after creation (calling Show(TRUE) doesn't do it any more)
[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
         {