]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/slider.cpp
Had missed one LPSTR.
[wxWidgets.git] / src / gtk1 / slider.cpp
index 504b1cfb5ac895ac50bff146ab70f9d85a8fa289..b2f0bccefc943a4d70b29db19fc091a39566ee89 100644 (file)
@@ -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;