#include "wx/control.h"
-extern WXDLLEXPORT_DATA(const wxChar) wxScrollBarNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxScrollBarNameStr[];
// ----------------------------------------------------------------------------
// wxScrollBar: a scroll bar control
// ----------------------------------------------------------------------------
-class WXDLLEXPORT wxScrollBarBase : public wxControl
+class WXDLLIMPEXP_CORE wxScrollBarBase : public wxControl
{
public:
wxScrollBarBase() { }
int range, int pageSize,
bool refresh = true) = 0;
+ // implementation-only
+ bool IsNeeded() const { return GetRange() > GetThumbSize(); }
+
private:
DECLARE_NO_COPY_CLASS(wxScrollBarBase)
};