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