X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c7e33c5ea8f4e68a1468333e26251d0271613b0..c193b707eb53c05fba213449a271bf01c7279575:/include/wx/msw/timer.h diff --git a/include/wx/msw/timer.h b/include/wx/msw/timer.h index a728aede17..8ce875f657 100644 --- a/include/wx/msw/timer.h +++ b/include/wx/msw/timer.h @@ -17,11 +17,11 @@ #endif #include "wx/object.h" -#include - class WXDLLEXPORT wxTimer : public wxObject { +friend void wxProcessTimer(wxTimer& timer); + public: wxTimer(); ~wxTimer(); @@ -36,7 +36,7 @@ public: int Interval() const { return milli; }; bool OneShot() const { return oneShot; } -public: +protected: bool oneShot ; int milli ; int lastMilli ; @@ -45,8 +45,6 @@ public: private: DECLARE_ABSTRACT_CLASS(wxTimer) - - friend UINT WINAPI wxTimerProc(HWND WXUNUSED(hwnd), WORD, int idTimer, DWORD); }; // Timer functions (milliseconds)