]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ctrlcmn.cpp
Added wxOutputStream::PutC()
[wxWidgets.git] / src / common / ctrlcmn.cpp
index 8e99dd0b174b334cabb12f0826cdfae27f3c34f0..dec9f63a0c724a07c892e4263090456c8e0a38c7 100644 (file)
@@ -42,7 +42,9 @@ 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,