]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ctrlcmn.cpp
Removed unnecessary code from utilsunx.cpp
[wxWidgets.git] / src / common / ctrlcmn.cpp
index be7735196dbd9c357e5849d8fdc142ff7154abac..8e99dd0b174b334cabb12f0826cdfae27f3c34f0 100644 (file)
@@ -42,13 +42,7 @@ 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,