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