if ( !wxEventLoop::GetActive() )
return DoSimpleWaitForThread(hThread);
+ const DWORD wakeMask =
+ QS_ALLINPUT // return as soon as there are any events
+#if !defined(__WXWINCE__)
+ | QS_ALLPOSTMESSAGE
+#endif
+ ;
+
return ::MsgWaitForMultipleObjects
(
1, // number of objects to wait for
(HANDLE *)&hThread, // the objects
false, // wait for any objects, not all
INFINITE, // no timeout
- QS_ALLINPUT | // return as soon as there are any events
- QS_ALLPOSTMESSAGE
+ wakeMask
);
}
void wxTopLevelWindowMSW::DoGetPosition(int *x, int *y) const
{
+
+#ifndef __WXWINCE__
+
if ( IsIconized() )
{
WINDOWPLACEMENT wp;
}
//else: normal case
+#endif // __WXWINCE__
+
wxTopLevelWindowBase::DoGetPosition(x, y);
}
void wxTopLevelWindowMSW::DoGetSize(int *width, int *height) const
{
+#ifndef __WXWINCE__
+
if ( IsIconized() )
{
WINDOWPLACEMENT wp;
}
//else: normal case
+#endif
+
wxTopLevelWindowBase::DoGetSize(width, height);
}