WinCE build fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-09-05 19:23:15 +00:00
parent 7d02e0d6e9
commit 08a5813350
3 changed files with 14 additions and 2 deletions

View File

@@ -97,8 +97,10 @@ int wxMessageDialog::ShowModal()
if ( wxStyle & wxSTAY_ON_TOP )
msStyle |= MB_TOPMOST;
#ifndef __WXWINCE__
if ( wxTheApp->GetLayoutDirection() == wxLayout_RightToLeft )
msStyle |= MB_RTLREADING | MB_RIGHT;
#endif
if (hWnd)
msStyle |= MB_APPLMODAL;