]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/slidrmsw.cpp
added some utils (tex2rtf, helpgen, makegen) to make system
[wxWidgets.git] / src / msw / slidrmsw.cpp
index 1bb9b0876d5c4013f5408c9bc5ffe41dd3d67cc9..7aa2ccfe031fc7b6a3bdbbc785f47cc10733f28f 100644 (file)
@@ -52,7 +52,9 @@ bool wxSliderMSW::Create(wxWindow *parent, wxWindowID id,
            const wxString& name)
 {
   SetName(name);
            const wxString& name)
 {
   SetName(name);
+#if wxUSE_VALIDATORS
   SetValidator(validator);
   SetValidator(validator);
+#endif // wxUSE_VALIDATORS
 
   if (parent) parent->AddChild(this);
   SetBackgroundColour(parent->GetBackgroundColour()) ;
 
   if (parent) parent->AddChild(this);
   SetBackgroundColour(parent->GetBackgroundColour()) ;