]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ctrlcmn.cpp
somebody added #ifdefed #pragma to disable warnings about // in c source, instead...
[wxWidgets.git] / src / common / ctrlcmn.cpp
index dec9f63a0c724a07c892e4263090456c8e0a38c7..8e99dd0b174b334cabb12f0826cdfae27f3c34f0 100644 (file)
@@ -42,9 +42,7 @@ bool wxControlBase::CreateControl(wxWindowBase *parent,
                                   const wxPoint& pos,
                                   const wxSize& size,
                                   long style,
-#if wxUSE_VALIDATORS
                                   const wxValidator& validator,
-#endif
                                   const wxString& name)
 {
     // even if it's possible to create controls without parents in some port,