X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/409c9842c71df526bcfbf1cf5ce80067b09d4d97..83141d3a74bc3ce6b97632dec8b28b7569c480a2:/include/wx/os2/slider.h?ds=sidebyside diff --git a/include/wx/os2/slider.h b/include/wx/os2/slider.h index 73baac3111..b290372735 100644 --- a/include/wx/os2/slider.h +++ b/include/wx/os2/slider.h @@ -29,7 +29,9 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxSL_HORIZONTAL, +#if wxUSE_VALIDATORS const wxValidator& validator = wxDefaultValidator, +#endif const wxString& name = wxSliderNameStr) { Create(parent, id, value, minValue, maxValue, pos, size, style, validator, name); @@ -42,7 +44,9 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxSL_HORIZONTAL, +#if wxUSE_VALIDATORS const wxValidator& validator = wxDefaultValidator, +#endif const wxString& name = wxSliderNameStr); virtual int GetValue() const ;