fix from Ron for one-shot timers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -86,7 +86,7 @@ static gint timeout_callback( gpointer data )
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (timer->OneShot())
|
if (timer->OneShot())
|
||||||
timer->Stop();
|
return FALSE;
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
@@ -86,7 +86,7 @@ static gint timeout_callback( gpointer data )
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (timer->OneShot())
|
if (timer->OneShot())
|
||||||
timer->Stop();
|
return FALSE;
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user