]> git.saurik.com Git - wxWidgets.git/commitdiff
WinCE fixes
authorJulian Smart <julian@anthemion.co.uk>
Fri, 13 May 2005 11:52:03 +0000 (11:52 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 13 May 2005 11:52:03 +0000 (11:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/statbox.cpp
src/msw/thread.cpp

index 88e485e64b57e19ecc41ab01e546dedf816c041c..3ccf5f6e348704ab38e7ba3792c80850735e4439 100644 (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;
     }
 
index 24aa2a43fd9149bb199255bc63af4e29602829a8..2b7b332195248bb470e5111f94a9f3111e6c535c 100644 (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 )