X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..61f824b8198b6c916adc25f58640a22c9d523bf0:/src/msw/msgdlg.cpp?ds=sidebyside diff --git a/src/msw/msgdlg.cpp b/src/msw/msgdlg.cpp index 7819838078..5e94f0ebd7 100644 --- a/src/msw/msgdlg.cpp +++ b/src/msw/msgdlg.cpp @@ -6,7 +6,7 @@ // Created: 04/01/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) @@ -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)