X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..cc8cc54f8308660af5730d8c3da5ba4710dc0dbb:/src/msw/thread.cpp diff --git a/src/msw/thread.cpp b/src/msw/thread.cpp index d68183e0fd..0a1d611ca4 100644 --- a/src/msw/thread.cpp +++ b/src/msw/thread.cpp @@ -7,7 +7,7 @@ // RCS-ID: $Id$ // Copyright: (c) Wolfram Gloger (1996, 1997), Guilhem Lavaux (1998); // Vadim Zeitlin (1999-2002) -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) @@ -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