X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/442b35b53bf95f5c6c003ea9ddbefd17adbc2a00..472eec8a0391538e4dcf7f7c6c4f4d44c8383616:/include/wx/univ/scrtimer.h diff --git a/include/wx/univ/scrtimer.h b/include/wx/univ/scrtimer.h index 35e3505ab4..a94c528f7f 100644 --- a/include/wx/univ/scrtimer.h +++ b/include/wx/univ/scrtimer.h @@ -9,8 +9,15 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// +#ifndef _WX_UNIV_SCRTIMER_H +#define _WX_UNIV_SCRTIMER_H + // NB: this class is implemented in scrolbar.cpp +#include "wx/defs.h" + +#if wxUSE_TIMER + #include "wx/timer.h" // ---------------------------------------------------------------------------- @@ -32,10 +39,13 @@ public: protected: // to implement in derived classes: perform the scroll action and return - // TRUE to continue scrolling or FALSE to stop + // true to continue scrolling or false to stop virtual bool DoNotify() = 0; // should we skip the next timer event? bool m_skipNext; }; +#endif // wxUSE_TIMER + +#endif // _WX_UNIV_SCRTIMER_H