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