#endif
#include "wx/object.h"
-#include <windows.h>
-
class WXDLLEXPORT wxTimer : public wxObject
{
+friend void wxProcessTimer(wxTimer& timer);
+
public:
wxTimer();
~wxTimer();
int Interval() const { return milli; };
bool OneShot() const { return oneShot; }
-public:
+protected:
bool oneShot ;
int milli ;
int lastMilli ;
private:
DECLARE_ABSTRACT_CLASS(wxTimer)
-
- friend UINT WINAPI wxTimerProc(HWND WXUNUSED(hwnd), WORD, int idTimer, DWORD);
};
// Timer functions (milliseconds)