X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57c4d796c56bd48ce370240107f3e4c07e142985..ef344ff86223f1f0961f025c0b249c898529c095:/include/wx/os2/slider.h diff --git a/include/wx/os2/slider.h b/include/wx/os2/slider.h index 09ed090957..ba675da4d1 100644 --- a/include/wx/os2/slider.h +++ b/include/wx/os2/slider.h @@ -17,7 +17,7 @@ WXDLLEXPORT_DATA(extern const char*) wxSliderNameStr; // Slider -class WXDLLEXPORT wxSlider: public wxControl +class WXDLLEXPORT wxSlider: public wxSliderBase { DECLARE_DYNAMIC_CLASS(wxSlider) @@ -30,11 +30,7 @@ public: const wxSize& size = wxDefaultSize, long style = wxSL_HORIZONTAL, #if wxUSE_VALIDATORS -# if defined(__VISAGECPP__) - const wxValidator* validator = wxDefaultValidator, -# else const wxValidator& validator = wxDefaultValidator, -# endif #endif const wxString& name = wxSliderNameStr) { @@ -49,11 +45,7 @@ public: const wxSize& size = wxDefaultSize, long style = wxSL_HORIZONTAL, #if wxUSE_VALIDATORS -# if defined(__VISAGECPP__) - const wxValidator* validator = wxDefaultValidator, -# else const wxValidator& validator = wxDefaultValidator, -# endif #endif const wxString& name = wxSliderNameStr);