WinCE fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -146,9 +146,11 @@ WXDWORD wxStaticBox::MSWGetStyle(long style, WXDWORD *exstyle) const
|
|||||||
|
|
||||||
if ( exstyle )
|
if ( exstyle )
|
||||||
{
|
{
|
||||||
|
#ifndef __WXWINCE__
|
||||||
if (wxSystemOptions::IsFalse(wxT("msw.staticbox.optimized-paint")))
|
if (wxSystemOptions::IsFalse(wxT("msw.staticbox.optimized-paint")))
|
||||||
*exstyle = WS_EX_TRANSPARENT;
|
*exstyle = WS_EX_TRANSPARENT;
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
*exstyle = 0;
|
*exstyle = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -705,14 +705,17 @@ wxThreadInternal::WaitForTerminate(wxCriticalSection& cs,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(__WXWINCE__) && !defined(QS_ALLPOSTMESSAGE)
|
||||||
|
#define QS_ALLPOSTMESSAGE 0
|
||||||
|
#endif
|
||||||
|
|
||||||
result = ::MsgWaitForMultipleObjects
|
result = ::MsgWaitForMultipleObjects
|
||||||
(
|
(
|
||||||
1, // number of objects to wait for
|
1, // number of objects to wait for
|
||||||
&m_hThread, // the objects
|
&m_hThread, // the objects
|
||||||
false, // don't wait for all objects
|
false, // don't wait for all objects
|
||||||
INFINITE, // no timeout
|
INFINITE, // no timeout
|
||||||
QS_ALLINPUT | // return as soon as there are any events
|
QS_ALLINPUT|QS_ALLPOSTMESSAGE // return as soon as there are any events
|
||||||
QS_ALLPOSTMESSAGE
|
|
||||||
);
|
);
|
||||||
|
|
||||||
switch ( result )
|
switch ( result )
|
||||||
|
Reference in New Issue
Block a user