]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/timer.h
   1 ///////////////////////////////////////////////////////////////////////////// 
   2 // Name:        wx/gtk1/timer.h 
   4 // Author:      Robert Roebling 
   6 // Copyright:   (c) 1998 Robert Roebling 
   7 // Licence:     wxWindows licence 
   8 ///////////////////////////////////////////////////////////////////////////// 
  13 //----------------------------------------------------------------------------- 
  15 //----------------------------------------------------------------------------- 
  17 class WXDLLIMPEXP_CORE wxTimer 
: public wxTimerBase
 
  21     wxTimer(wxEvtHandler 
*owner
, int id 
= -1) : wxTimerBase(owner
, id
) 
  25     virtual bool Start( int millisecs 
= -1, bool oneShot 
= FALSE 
); 
  28     virtual bool IsRunning() const { return m_tag 
!= -1; } 
  36     DECLARE_ABSTRACT_CLASS(wxTimer
) 
  39 #endif // __GTKTIMERH__