X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dcf924a345ea8ffbc1cf6b40b5f75c6005e504c0..9b73db3c34aefd98080b425459322fa821ae271f:/src/gtk1/slider.cpp?ds=inline diff --git a/src/gtk1/slider.cpp b/src/gtk1/slider.cpp index 504b1cfb5a..b2f0bccefc 100644 --- a/src/gtk1/slider.cpp +++ b/src/gtk1/slider.cpp @@ -100,7 +100,9 @@ bool wxSlider::Create(wxWindow *parent, wxWindowID id, PreCreation( parent, id, pos, size, style, name ); +#if wxUSE_VALIDATORS SetValidator( validator ); +#endif m_oldPos = 0.0;