X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/409c9842c71df526bcfbf1cf5ce80067b09d4d97..cf471cab8277f4cc2c19bce417356badf9e2ca49:/include/wx/os2/scrolbar.h diff --git a/include/wx/os2/scrolbar.h b/include/wx/os2/scrolbar.h index bbf15a8d3b..e77f17ec44 100644 --- a/include/wx/os2/scrolbar.h +++ b/include/wx/os2/scrolbar.h @@ -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 ;