X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f6638b82b01d7691b321dbcfb08765d559e4c59..c4218a74033e3091a3566c9c6619809a00b53744:/src/msw/filedlg.cpp diff --git a/src/msw/filedlg.cpp b/src/msw/filedlg.cpp index cc4ffb6e5e..73a9a8128d 100644 --- a/src/msw/filedlg.cpp +++ b/src/msw/filedlg.cpp @@ -193,7 +193,7 @@ wxString wxFileSelectorEx(const wxChar *title, wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message, const wxString& defaultDir, const wxString& defaultFileName, const wxString& wildCard, - long style, const wxPoint& pos) + long style, const wxPoint& WXUNUSED(pos)) { m_message = message; m_dialogStyle = style; @@ -246,8 +246,6 @@ int wxFileDialog::ShowModal() OFN_EXPLORER | #endif // OFN_EXPLORER OFN_ALLOWMULTISELECT; - if ( !(m_dialogStyle & wxCHANGE_DIR) ) - msw_flags |= OFN_NOCHANGEDIR; OPENFILENAME of; wxZeroMemory(of);