X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45016e1a6bfed375993470efa844b94a42a41c73..d062e17fca1a1fc0b82b269da4a7ad271075ba2b:/include/wx/os2/gauge.h 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);