git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61161
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
m_animTimer.SetOwner( this, wxID_ANY );
m_animTimer.Start( 10, wxTIMER_CONTINUOUS );
- OnTimerEvent(*((wxTimerEvent*)NULL)); // Event is never used, so we can give NULL
+ DoOnTimer();
return false;
}
+private:
void OnTimerEvent( wxTimerEvent& WXUNUSED(event) )
+ {
+ DoOnTimer();
+ }
+
+ void DoOnTimer()
{
bool stopTimer = false;
}
}
-protected:
-
// Popup animation related
wxLongLong m_animStart;
wxTimer m_animTimer;
wxBitmap m_animBackBitmap;
int m_animFlags;
-private:
DECLARE_EVENT_TABLE()
};