]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/gauge.h
Minor additions to make working with binary buffers easier.
[wxWidgets.git] / include / wx / os2 / gauge.h
index 8cb420346e366db38b0becccdafc188311c65d4f..24c44ba4c8b53ac4a3746a04b9405fbf20341ca2 100644 (file)
@@ -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);