X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0371a6914315f283371985bb751fb37504dd63d8..5fd2b2c6ae663c7840f53e4cf087525602eaca7b:/include/wx/os2/gauge.h?ds=sidebyside diff --git a/include/wx/os2/gauge.h b/include/wx/os2/gauge.h index 8cb420346e..24c44ba4c8 100644 --- a/include/wx/os2/gauge.h +++ b/include/wx/os2/gauge.h @@ -16,7 +16,6 @@ WXDLLEXPORT_DATA(extern const char*) wxGaugeNameStr; -// Group box class WXDLLEXPORT wxGauge: public wxControl { DECLARE_DYNAMIC_CLASS(wxGauge) @@ -28,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); @@ -39,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);