]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/gauge.h
Fixed missing paint events when overriding DoMoveWindow()
[wxWidgets.git] / include / wx / os2 / gauge.h
index 544b6330991083db9fadd92017770c6ce8c0310c..24c44ba4c8b53ac4a3746a04b9405fbf20341ca2 100644 (file)
@@ -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);