quick and dirty fix for wxMGL compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -91,9 +91,11 @@ void wxTimerScheduler::QueueTimer(wxTimerDesc *desc, wxTimerTick_t when)
|
|||||||
desc->shotTime = when;
|
desc->shotTime = when;
|
||||||
desc->running = TRUE;
|
desc->running = TRUE;
|
||||||
|
|
||||||
|
#ifndef __WXMGL__
|
||||||
wxLogTrace( wxT("timer"),
|
wxLogTrace( wxT("timer"),
|
||||||
wxT("queued timer %p at tick %") wxLongLongFmtSpec _T("d"),
|
wxT("queued timer %p at tick %") wxLongLongFmtSpec _T("d"),
|
||||||
desc->timer, when.GetValue());
|
desc->timer, when.GetValue());
|
||||||
|
#endif
|
||||||
|
|
||||||
if ( m_timers )
|
if ( m_timers )
|
||||||
{
|
{
|
||||||
@@ -145,9 +147,11 @@ void wxTimerScheduler::NotifyTimers()
|
|||||||
|
|
||||||
if ( !timerDeleted )
|
if ( !timerDeleted )
|
||||||
{
|
{
|
||||||
|
#ifndef __WXMGL__
|
||||||
wxLogTrace( wxT("timer"),
|
wxLogTrace( wxT("timer"),
|
||||||
wxT("notified timer %p sheduled for %") wxLongLongFmtSpec _T("d"),
|
wxT("notified timer %p sheduled for %") wxLongLongFmtSpec _T("d"),
|
||||||
desc->timer, desc->shotTime.GetValue() );
|
desc->timer, desc->shotTime.GetValue() );
|
||||||
|
#endif
|
||||||
|
|
||||||
desc->deleteFlag = NULL;
|
desc->deleteFlag = NULL;
|
||||||
if ( !oneShot )
|
if ( !oneShot )
|
||||||
|
Reference in New Issue
Block a user