X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e031f1df56a1595c7ebb4027eb89bf1c9f286bdf..2fbb8fbbed4e8a15bed1cd539d0f51eac3019658:/src/msw/filedlg.cpp diff --git a/src/msw/filedlg.cpp b/src/msw/filedlg.cpp index 063377993f..76c8f73ecc 100644 --- a/src/msw/filedlg.cpp +++ b/src/msw/filedlg.cpp @@ -26,14 +26,16 @@ #if wxUSE_FILEDLG && !(defined(__SMARTPHONE__) && defined(__WXWINCE__)) +#include "wx/filedlg.h" + #ifndef WX_PRECOMP #include "wx/utils.h" #include "wx/msgdlg.h" - #include "wx/filedlg.h" #include "wx/filefn.h" #include "wx/intl.h" #include "wx/log.h" #include "wx/app.h" + #include "wx/math.h" #endif #include "wx/msw/wrapcdlg.h" @@ -43,7 +45,6 @@ #include "wx/filename.h" #include "wx/tokenzr.h" -#include "wx/math.h" #include "wx/msw/missing.h" @@ -136,8 +137,7 @@ wxFileDialog::wxFileDialog(wxWindow *parent, wildCard, style, pos, sz, name) { - if ( ( m_windowStyle & wxFD_MULTIPLE ) && ( m_windowStyle & wxFD_SAVE ) ) - m_windowStyle &= ~wxFD_MULTIPLE; + // NB: all style checks are done by wxFileDialogBase::Create m_bMovedWindow = false;