Added support for timer events in Motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -21,7 +21,9 @@ class WXDLLEXPORT wxTimer : public wxTimerBase
|
||||
friend void wxTimerCallback(wxTimer * timer);
|
||||
|
||||
public:
|
||||
wxTimer();
|
||||
wxTimer() { Init(); }
|
||||
wxTimer(wxEvtHandler *owner, int id = -1) : wxTimerBase(owner, id)
|
||||
{ Init(); }
|
||||
~wxTimer();
|
||||
|
||||
virtual bool Start(int milliseconds = -1, bool oneShot = FALSE);
|
||||
@@ -30,6 +32,8 @@ public:
|
||||
virtual bool IsRunning() const { return m_id != 0; }
|
||||
|
||||
protected:
|
||||
void Init();
|
||||
|
||||
long m_id;
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user