X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0371a6914315f283371985bb751fb37504dd63d8..edc8bd8df31879c79f286c3b3842da0a2c82e208:/include/wx/os2/gauge.h

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);