]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/slider.h
Added DECLARE_LOCAL_EVENT_TYPE which doesn't use WXDLLEXPORT. This is
[wxWidgets.git] / include / wx / os2 / slider.h
index 73baac3111eefc5cd27c43ddf38ca8842875a66a..b290372735dfa0d207cc03bccc8060e8001b6fc7 100644 (file)
@@ -29,7 +29,9 @@ public:
            const wxPoint& pos = wxDefaultPosition,
            const wxSize& size = wxDefaultSize,
            long style = wxSL_HORIZONTAL,
+#if wxUSE_VALIDATORS
            const wxValidator& validator = wxDefaultValidator,
+#endif
            const wxString& name = wxSliderNameStr)
   {
       Create(parent, id, value, minValue, maxValue, pos, size, style, validator, name);
@@ -42,7 +44,9 @@ public:
            const wxPoint& pos = wxDefaultPosition,
            const wxSize& size = wxDefaultSize,
            long style = wxSL_HORIZONTAL,
+#if wxUSE_VALIDATORS
            const wxValidator& validator = wxDefaultValidator,
+#endif
            const wxString& name = wxSliderNameStr);
 
   virtual int GetValue() const ;