]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/gauge.h
Warning fixes for MinGW.
[wxWidgets.git] / include / wx / os2 / gauge.h
index 67378ff770b2eb893a73cbd2df31117387fc4d1e..1b308d2c434e3045e23751cc09e32a1281b3bc10 100644 (file)
@@ -14,8 +14,6 @@
 
 #include "wx/control.h"
 
-WXDLLEXPORT_DATA(extern const char*) wxGaugeNameStr;
-
 class WXDLLEXPORT wxGauge: public wxControl
 {
 public:
@@ -27,9 +25,7 @@ public:
                    ,const wxPoint&     rPos = wxDefaultPosition
                    ,const wxSize&      rSize = wxDefaultSize
                    ,long               lStyle = wxGA_HORIZONTAL
-#if wxUSE_VALIDATORS
                    ,const wxValidator& rValidator = wxDefaultValidator
-#endif
                    ,const wxString&    rsName = wxGaugeNameStr
                   )
     {
@@ -39,9 +35,7 @@ public:
                ,rPos
                ,rSize
                ,lStyle
-#if wxUSE_VALIDATORS
                ,rValidator
-#endif
                ,rsName
               );
     }
@@ -52,9 +46,7 @@ public:
                 ,const wxPoint&     rPos = wxDefaultPosition
                 ,const wxSize&      rSize = wxDefaultSize
                 ,long               lStyle = wxGA_HORIZONTAL
-#if wxUSE_VALIDATORS
                 ,const wxValidator& rValidator = wxDefaultValidator
-#endif
                 ,const wxString&    rsName = wxGaugeNameStr
                );