]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/textctrl.cpp
VTK wrapper of vtkRenderWindow for wxPython. Tested on MSW so far.
[wxWidgets.git] / src / os2 / textctrl.cpp
index 82022466ef52497a47301cf2e9ad75ef14ca2965..c9d836f4ea81bfa8f922d979a9d5af0204ec0202 100644 (file)
@@ -87,7 +87,13 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
                         const wxPoint& pos,
                         const wxSize& size,
                         long style,
+#if wxUSE_VALIDATORS
+#  if defined(__VISAGECPP__)
+                        const wxValidator* validator,
+#  else
                         const wxValidator& validator,
+#  endif
+#endif
                         const wxString& name)
 {
     // base initialization