Fixed wxUSE_THREADS typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -134,7 +134,7 @@ bool wxTimerBase::Start(int milliseconds, bool oneShot)
|
|||||||
{
|
{
|
||||||
// under MSW timers only work when they're started from the main thread so
|
// under MSW timers only work when they're started from the main thread so
|
||||||
// let the caller know about it
|
// let the caller know about it
|
||||||
#ifdef wxUSE_THREADS
|
#if wxUSE_THREADS
|
||||||
wxASSERT_MSG( wxThread::IsMain(),
|
wxASSERT_MSG( wxThread::IsMain(),
|
||||||
_T("timer can only be started from the main thread") );
|
_T("timer can only be started from the main thread") );
|
||||||
#endif // wxUSE_THREADS
|
#endif // wxUSE_THREADS
|
||||||
|
Reference in New Issue
Block a user