X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..de359565aea29f94464d6c93eee8ed9fdfa5de4a:/src/msw/thread.cpp diff --git a/src/msw/thread.cpp b/src/msw/thread.cpp index 6a8e87350c..0a1d611ca4 100644 --- a/src/msw/thread.cpp +++ b/src/msw/thread.cpp @@ -893,7 +893,10 @@ unsigned long wxThread::GetCurrentId() bool wxThread::SetConcurrency(size_t level) { -#ifndef __WXWINCE__ +#ifdef __WXWINCE__ + wxUnusedVar(level); + return false; +#else wxASSERT_MSG( IsMain(), _T("should only be called from the main thread") ); // ok only for the default one @@ -983,9 +986,9 @@ bool wxThread::SetConcurrency(size_t level) return false; } -#endif // !__WXWINCE__ return true; +#endif // __WXWINCE__/!__WXWINCE__ } // ctor and dtor