Some WinCE fixes from ABX

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-12-23 09:18:16 +00:00
parent 6ed8156e8a
commit 676d655065
4 changed files with 26 additions and 3 deletions

View File

@@ -30,6 +30,11 @@
#include "wx/msw/private.h"
// For MB_TASKMODAL
#ifdef __WXWINCE__
#include "wx/msw/wince/missing.h"
#endif
IMPLEMENT_CLASS(wxMessageDialog, wxDialog)
wxMessageDialog::wxMessageDialog(wxWindow *parent,
@@ -104,10 +109,8 @@ 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);