wxTimer::Start() now calls Stop()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -54,18 +54,10 @@ public:
|
||||
|
||||
// start the timer: if milliseconds == -1, use the same value as for the
|
||||
// last Start()
|
||||
virtual bool Start(int milliseconds = -1, bool oneShot = FALSE)
|
||||
{
|
||||
if ( milliseconds != -1 )
|
||||
{
|
||||
m_milli = milliseconds;
|
||||
}
|
||||
|
||||
m_oneShot = oneShot;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
//
|
||||
// it is now valid to call Start() multiple times: this just restarts the
|
||||
// timer if it is already running
|
||||
virtual bool Start(int milliseconds = -1, bool oneShot = FALSE);
|
||||
|
||||
// stop the timer
|
||||
virtual void Stop() = 0;
|
||||
|
Reference in New Issue
Block a user