WinCE fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-07-20 11:11:46 +00:00
parent 422d0ff0be
commit 7010702f63
8 changed files with 36 additions and 24 deletions

View File

@@ -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