X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8e4025d1b61ce05e082f9a2c08ac64bea6408ae..0b7824d78a475810924776e02004723cc4e20c84:/src/msw/msgdlg.cpp diff --git a/src/msw/msgdlg.cpp b/src/msw/msgdlg.cpp index e5e4eb07bb..3b5517b828 100644 --- a/src/msw/msgdlg.cpp +++ b/src/msw/msgdlg.cpp @@ -104,8 +104,10 @@ int wxMessageDialog::ShowModal() if (hWnd) msStyle |= MB_APPLMODAL; +#ifndef __WXWINCE__ else msStyle |= MB_TASKMODAL; +#endif // do show the dialog int msAns = MessageBox(hWnd, m_message.c_str(), m_caption.c_str(), msStyle);