X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb8a56b77ce195d0bd9ac6984e3e5cbb7136faca..09ff2ee1632c8c484134da2a31d0d5c4d0a4bef4:/src/msw/msgdlg.cpp?ds=sidebyside diff --git a/src/msw/msgdlg.cpp b/src/msw/msgdlg.cpp index 5ea5ece2ae..5e94f0ebd7 100644 --- a/src/msw/msgdlg.cpp +++ b/src/msw/msgdlg.cpp @@ -79,11 +79,11 @@ int wxMessageDialog::ShowModal() unsigned int msStyle = MB_OK; if (m_dialogStyle & wxYES_NO) { -#if !defined(__SMARTPHONE__) +#if !(defined(__SMARTPHONE__) && defined(__WXWINCE__)) if (m_dialogStyle & wxCANCEL) msStyle = MB_YESNOCANCEL; else -#endif // __SMARTPHONE__ +#endif // !(__SMARTPHONE__ && __WXWINCE__) msStyle = MB_YESNO; if (m_dialogStyle & wxNO_DEFAULT)