X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/409c9842c71df526bcfbf1cf5ce80067b09d4d97..a68c1246db34618d4e60e2a6ccdac4f35700a3f1:/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 ;