#ifndef _WX_SCROLBAR_H_
#define _WX_SCROLBAR_H_
-#include "wx/control.h"
+#include "wx/scrolbar.h"
WXDLLEXPORT_DATA(extern const char*) wxScrollBarNameStr;
// Scrollbar item
-class WXDLLEXPORT wxScrollBar: public wxControl
+class WXDLLEXPORT wxScrollBar: public wxScrollBarBase
{
DECLARE_DYNAMIC_CLASS(wxScrollBar)
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxSB_HORIZONTAL,
+#if wxUSE_VALIDATORS
const wxValidator& validator = wxDefaultValidator,
+#endif
const wxString& name = wxScrollBarNameStr)
{
Create(parent, id, pos, size, style, validator, name);
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxSB_HORIZONTAL,
+#if wxUSE_VALIDATORS
const wxValidator& validator = wxDefaultValidator,
+#endif
const wxString& name = wxScrollBarNameStr);
int GetThumbPosition() const ;