// 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"
// ----------------------------------------------------------------------------
// pressed
// ----------------------------------------------------------------------------
-class WXDLLEXPORT wxScrollTimer : public wxTimer
+class WXDLLIMPEXP_CORE wxScrollTimer : public wxTimer
{
public:
// default ctor
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