]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/slider.cpp
VTK wrapper of vtkRenderWindow for wxPython. Tested on MSW so far.
[wxWidgets.git] / src / os2 / slider.cpp
index 130472e6adab6fa092a9228677b8f63d8396d5a8..e0a6852d4aa74d6ecba6dc633099d4e97bdee5d5 100644 (file)
@@ -46,11 +46,19 @@ bool wxSlider::Create(wxWindow *parent, wxWindowID id,
            int value, int minValue, int maxValue,
            const wxPoint& pos,
            const wxSize& size, long style,
            int value, int minValue, int maxValue,
            const wxPoint& pos,
            const wxSize& size, long style,
+#if wxUSE_VALIDATORS
+#  if defined(__VISAGECPP__)
+           const wxValidator* validator,
+#  else
            const wxValidator& validator,
            const wxValidator& validator,
+#  endif
+#endif
            const wxString& name)
 {
     SetName(name);
            const wxString& name)
 {
     SetName(name);
+#if wxUSE_VALIDATORS
     SetValidator(validator);
     SetValidator(validator);
+#endif
 
     if (parent) parent->AddChild(this);
 
 
     if (parent) parent->AddChild(this);