X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c9a69c19aafe1e3d1da45cea78e2511f66cbcd3..f0eebb39bc6bb54441e695b3c1b1e0bea6ab5c01:/src/msw/wince/filedlgwce.cpp diff --git a/src/msw/wince/filedlgwce.cpp b/src/msw/wince/filedlgwce.cpp index 1dd46358df..20dbe03368 100644 --- a/src/msw/wince/filedlgwce.cpp +++ b/src/msw/wince/filedlgwce.cpp @@ -29,11 +29,12 @@ #if wxUSE_FILEDLG && defined(__SMARTPHONE__) && defined(__WXWINCE__) +#include "wx/filedlg.h" + #ifndef WX_PRECOMP #include "wx/utils.h" #include "wx/msgdlg.h" #include "wx/dialog.h" - #include "wx/filedlg.h" #include "wx/filefn.h" #include "wx/intl.h" #include "wx/log.h" @@ -73,8 +74,8 @@ wxFileDialog::wxFileDialog(wxWindow *parent, { m_message = message; m_windowStyle = style; - if ( ( m_windowStyle & wxMULTIPLE ) && ( m_windowStyle & wxSAVE ) ) - m_windowStyle &= ~wxMULTIPLE; + if ( ( m_windowStyle & wxFD_MULTIPLE ) && ( m_windowStyle & wxFD_SAVE ) ) + m_windowStyle &= ~wxFD_MULTIPLE; m_parent = parent; m_path = wxEmptyString; m_fileName = defaultFileName;