X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0371a6914315f283371985bb751fb37504dd63d8..97d3f0eee61fc8fcae7232d41fe97d467c4a5bc8:/include/wx/os2/gauge.h diff --git a/include/wx/os2/gauge.h b/include/wx/os2/gauge.h index 8cb420346e..cdb6d227f6 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,13 @@ class WXDLLEXPORT wxGauge: public wxControl const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxGA_HORIZONTAL, +#if wxUSE_VALIDATORS +# if defined(__VISAGECPP__) + const wxValidator* validator = wxDefaultValidator, +# else const wxValidator& validator = wxDefaultValidator, +# endif +#endif const wxString& name = wxGaugeNameStr) { Create(parent, id, range, pos, size, style, validator, name); @@ -39,7 +44,13 @@ class WXDLLEXPORT wxGauge: public wxControl const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxGA_HORIZONTAL, +#if wxUSE_VALIDATORS +# if defined(__VISAGECPP__) + const wxValidator* validator = wxDefaultValidator, +# else const wxValidator& validator = wxDefaultValidator, +# endif +#endif const wxString& name = wxGaugeNameStr); void SetShadowWidth(int w);