X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45016e1a6bfed375993470efa844b94a42a41c73..bd52bee1062faef26287d2f5a2595a9d8ee4d85a:/include/wx/os2/gauge.h?ds=sidebyside diff --git a/include/wx/os2/gauge.h b/include/wx/os2/gauge.h index 544b633099..24c44ba4c8 100644 --- a/include/wx/os2/gauge.h +++ b/include/wx/os2/gauge.h @@ -27,7 +27,9 @@ class WXDLLEXPORT wxGauge: public wxControl const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxGA_HORIZONTAL, +#if wxUSE_VALIDATORS const wxValidator& validator = wxDefaultValidator, +#endif const wxString& name = wxGaugeNameStr) { Create(parent, id, range, pos, size, style, validator, name); @@ -38,7 +40,9 @@ class WXDLLEXPORT wxGauge: public wxControl const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxGA_HORIZONTAL, +#if wxUSE_VALIDATORS const wxValidator& validator = wxDefaultValidator, +#endif const wxString& name = wxGaugeNameStr); void SetShadowWidth(int w);