]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/timer.h
allow customizing the string values returned by wxGridCellBoolEditor::GetValue()...
[wxWidgets.git] / include / wx / generic / timer.h
index efe303411c815bca8406fb0c31643e8f79eac437..63f0ab1a63ffe20540eb78bc2e167b2293a6a7f7 100644 (file)
 #ifndef __WX_TIMER_H__
 #define __WX_TIMER_H__
 
 #ifndef __WX_TIMER_H__
 #define __WX_TIMER_H__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-    #pragma interface "timer.h"
-#endif
-
 //-----------------------------------------------------------------------------
 // wxTimer
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
 // wxTimer
 //-----------------------------------------------------------------------------
@@ -25,11 +21,11 @@ class WXDLLEXPORT wxTimer : public wxTimerBase
 {
 public:
     wxTimer() { Init(); }
 {
 public:
     wxTimer() { Init(); }
-    wxTimer(wxEvtHandler *owner, int id = -1) : wxTimerBase(owner, id)
+    wxTimer(wxEvtHandler *owner, int timerid = -1) : wxTimerBase(owner, timerid)
         { Init(); }
         { Init(); }
-    ~wxTimer();
+    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;
     virtual void Stop();
 
     virtual bool IsRunning() const;
@@ -42,7 +38,7 @@ protected:
 
 private:
     wxTimerDesc *m_desc;
 
 private:
     wxTimerDesc *m_desc;
-    
+
     DECLARE_ABSTRACT_CLASS(wxTimer)
 };
 
     DECLARE_ABSTRACT_CLASS(wxTimer)
 };