X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/676d655065f5736d20034e124a9381a9cac8000b..f8405d6e6fc2a361d9710dfdaea0b158952803aa:/src/msw/msgdlg.cpp diff --git a/src/msw/msgdlg.cpp b/src/msw/msgdlg.cpp index 6ea59bcfdd..5ea5ece2ae 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__) if (m_dialogStyle & wxCANCEL) msStyle = MB_YESNOCANCEL; else +#endif // __SMARTPHONE__ msStyle = MB_YESNO; if (m_dialogStyle & wxNO_DEFAULT)