]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ctrlcmn.cpp
Committing in .
[wxWidgets.git] / src / common / ctrlcmn.cpp
index 8e99dd0b174b334cabb12f0826cdfae27f3c34f0..be7735196dbd9c357e5849d8fdc142ff7154abac 100644 (file)
@@ -42,7 +42,13 @@ bool wxControlBase::CreateControl(wxWindowBase *parent,
                                   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)
 {
     // even if it's possible to create controls without parents in some port,