]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/combobox.cpp
VTK wrapper of vtkRenderWindow for wxPython. Tested on MSW so far.
[wxWidgets.git] / src / os2 / combobox.cpp
index 6e4dc8074d3ce45d224b10f805e64ddd304d55a7..d8b0bd0e6d594563c4ef5cdbce475666c6a27fb0 100644 (file)
@@ -63,11 +63,19 @@ bool wxComboBox::Create(wxWindow *parent, wxWindowID id,
                         const wxSize& size,
                         int n, const wxString choices[],
                         long style,
+#if wxUSE_VALIDATORS
+#  if defined(__VISAGECPP__)
+                        const wxValidator* validator,
+#  else
                         const wxValidator& validator,
+#  endif
+#endif
                         const wxString& name)
 {
   SetName(name);
+#if wxUSE_VALIDATORS
   SetValidator(validator);
+#endif
   if (parent) parent->AddChild(this);
   SetBackgroundColour(parent->GetBackgroundColour()) ;
   SetForegroundColour(parent->GetForegroundColour()) ;