X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dcf924a345ea8ffbc1cf6b40b5f75c6005e504c0..e66474166b164b9e11f9881e79d531bc5182ea31:/src/gtk1/slider.cpp 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;