]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/slider95.cpp
Changed order of #ifdefs to get native version on OS/2, even if
[wxWidgets.git] / src / msw / slider95.cpp
index ef1e073fbf53b07de2b3eae4e8176eb049fff215..69af9112696afef235262b108398e1a397bc159c 100644 (file)
@@ -58,7 +58,9 @@ bool wxSlider95::Create(wxWindow *parent, wxWindowID id,
            const wxString& name)
 {
   SetName(name);
+#if wxUSE_VALIDATORS
   SetValidator(validator);
+#endif // wxUSE_VALIDATORS
 
   if (parent) parent->AddChild(this);
   SetBackgroundColour(parent->GetBackgroundColour()) ;