X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/409c9842c71df526bcfbf1cf5ce80067b09d4d97..9ef63a4a59eccce6cd8787f0ed966bfa8365a22e:/include/wx/os2/scrolbar.h diff --git a/include/wx/os2/scrolbar.h b/include/wx/os2/scrolbar.h index bbf15a8d3b..9d0c867ae5 100644 --- a/include/wx/os2/scrolbar.h +++ b/include/wx/os2/scrolbar.h @@ -12,12 +12,10 @@ #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) @@ -29,7 +27,9 @@ public: 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); @@ -38,7 +38,9 @@ public: 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 ;