projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Regen Bakefiles for OSX HID integration
[wxWidgets.git]
/
src
/
msw
/
thread.cpp
diff --git
a/src/msw/thread.cpp
b/src/msw/thread.cpp
index d68183e0fde814d413143b7a5062d239b26b01af..0a1d611ca4c8ecc48d0ba8e3b17afc0888fa180f 100644
(file)
--- 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)
// RCS-ID: $Id$
// Copyright: (c) Wolfram Gloger (1996, 1997), Guilhem Lavaux (1998);
// Vadim Zeitlin (1999-2002)
-// Licence: wxWi
dget
s licence
+// Licence: wxWi
ndow
s licence
/////////////////////////////////////////////////////////////////////////////
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
/////////////////////////////////////////////////////////////////////////////
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
@@
-893,7
+893,10
@@
unsigned long wxThread::GetCurrentId()
bool wxThread::SetConcurrency(size_t level)
{
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
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;
}
return false;
}
-#endif // !__WXWINCE__
return true;
return true;
+#endif // __WXWINCE__/!__WXWINCE__
}
// ctor and dtor
}
// ctor and dtor