WinCE fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2005-05-13 11:52:03 +00:00
parent 28e022ad5a
commit a92e7f3047
2 changed files with 7 additions and 2 deletions

View File

@ -146,9 +146,11 @@ WXDWORD wxStaticBox::MSWGetStyle(long style, WXDWORD *exstyle) const
if ( exstyle )
{
#ifndef __WXWINCE__
if (wxSystemOptions::IsFalse(wxT("msw.staticbox.optimized-paint")))
*exstyle = WS_EX_TRANSPARENT;
else
#endif
*exstyle = 0;
}

View File

@ -705,14 +705,17 @@ wxThreadInternal::WaitForTerminate(wxCriticalSection& cs,
}
}
#if defined(__WXWINCE__) && !defined(QS_ALLPOSTMESSAGE)
#define QS_ALLPOSTMESSAGE 0
#endif
result = ::MsgWaitForMultipleObjects
(
1, // number of objects to wait for
&m_hThread, // the objects
false, // don't wait for all objects
INFINITE, // no timeout
QS_ALLINPUT | // return as soon as there are any events
QS_ALLPOSTMESSAGE
QS_ALLINPUT|QS_ALLPOSTMESSAGE // return as soon as there are any events
);
switch ( result )