X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..e93523680ba3c83cdae75b511214c82f28a2d853:/include/wx/univ/scrtimer.h?ds=sidebyside diff --git a/include/wx/univ/scrtimer.h b/include/wx/univ/scrtimer.h index 195ddd43ad..a94c528f7f 100644 --- a/include/wx/univ/scrtimer.h +++ b/include/wx/univ/scrtimer.h @@ -6,11 +6,18 @@ // Created: 18.02.01 // RCS-ID: $Id$ // Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com) -// Licence: wxWidgets licence +// 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