X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac95e6714050a7bf7d0c2b7fbc233443bb03922f..e3f9e20cb15c62bd347a8e52d2d36529adbdb3d6:/src/msw/filedlg.cpp diff --git a/src/msw/filedlg.cpp b/src/msw/filedlg.cpp index 8677731279..b8d7c947e5 100644 --- a/src/msw/filedlg.cpp +++ b/src/msw/filedlg.cpp @@ -340,6 +340,7 @@ int wxFileDialog::ShowModal() dir += _T('\\'); m_path = dir + m_fileName; + m_filterIndex = (int)of.nFilterIndex - 1; } else {