X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b11099dd69b60d2fa5240df8e4137d21d97f21d..78eeb09597b4a33859ec46c18cfca601ab23e677:/src/msw/filedlg.cpp diff --git a/src/msw/filedlg.cpp b/src/msw/filedlg.cpp index 541ea70c69..7e59525d7b 100644 --- a/src/msw/filedlg.cpp +++ b/src/msw/filedlg.cpp @@ -53,9 +53,7 @@ #include "wx/filename.h" #include "wx/tokenzr.h" -#ifndef OFN_EXPLORER - #define OFN_EXPLORER 0x00080000 -#endif +#include "wx/msw/missing.h" // ---------------------------------------------------------------------------- // constants @@ -252,8 +250,13 @@ int wxFileDialog::ShowModal() programmer needs the PLACES BAR (left side of dlg) they just shouldn't move or center the dlg. */ - if (m_bMovedWindow) // we need the these flags. - msw_flags |= OFN_EXPLORER|OFN_ENABLEHOOK|OFN_ENABLESIZING; + if (m_bMovedWindow) // we need these flags. + { + msw_flags |= OFN_EXPLORER|OFN_ENABLEHOOK; +#ifndef __WXWINCE__ + msw_flags |= OFN_ENABLESIZING; +#endif + } if (m_dialogStyle & wxMULTIPLE ) {