X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b11099dd69b60d2fa5240df8e4137d21d97f21d..431a3edc641e379b8f5d6010220250017e99a3ff:/src/msw/filedlg.cpp?ds=sidebyside diff --git a/src/msw/filedlg.cpp b/src/msw/filedlg.cpp index 541ea70c69..05fd4e89ca 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 ) { @@ -296,8 +299,8 @@ int wxFileDialog::ShowModal() // forward slashes) and also squeeze multiple consecutive slashes into one // as it doesn't like two backslashes in a row neither - wxString dir; - size_t i, len = m_dir.length(); + wxString dir; + size_t i, len = m_dir.length(); dir.reserve(len); for ( i = 0; i < len; i++ ) {