source id type is unsigned; minor cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2007-03-10 18:51:55 +00:00
parent b91fd70410
commit 855f31ebe7
2 changed files with 21 additions and 25 deletions

View File

@@ -7,8 +7,8 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __GTKTIMERH__
#define __GTKTIMERH__
#ifndef _WX_GTK_TIMER_H_
#define _WX_GTK_TIMER_H_
//-----------------------------------------------------------------------------
// wxTimer
@@ -22,18 +22,17 @@ public:
{ Init(); }
virtual ~wxTimer();
virtual bool Start( int millisecs = -1, bool oneShot = FALSE );
virtual bool Start(int millisecs = -1, bool oneShot = false);
virtual void Stop();
virtual bool IsRunning() const { return m_tag != -1; }
protected:
void Init();
int m_tag;
virtual bool IsRunning() const { return m_sourceId != 0; }
private:
void Init();
unsigned m_sourceId;
DECLARE_ABSTRACT_CLASS(wxTimer)
};
#endif // __GTKTIMERH__
#endif // _WX_GTK_TIMER_H_