WinCE fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user