X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..a54b285e7c829b885f78d4b8a96dd2e169a693d7:/include/wx/univ/scrtimer.h diff --git a/include/wx/univ/scrtimer.h b/include/wx/univ/scrtimer.h index 82940c45aa..d73aada0b6 100644 --- a/include/wx/univ/scrtimer.h +++ b/include/wx/univ/scrtimer.h @@ -5,12 +5,19 @@ // Modified by: // Created: 18.02.01 // RCS-ID: $Id$ -// Copyright: (c) 2001 Vadim Zeitlin +// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com) // 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" // ---------------------------------------------------------------------------- @@ -18,7 +25,7 @@ // pressed // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxScrollTimer : public wxTimer +class WXDLLIMPEXP_CORE wxScrollTimer : public wxTimer { public: // default ctor @@ -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