]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/checkbox.cpp
removed broken and global GetLine() function from wx/protocol/protocol.h; there's...
[wxWidgets.git] / src / mac / carbon / checkbox.cpp
index c914add38baa45e1cba6b04de7a06e03d23ea05f..e43aaa6dbaf9d85650496a067e9d280f8925b0e7 100644 (file)
@@ -136,11 +136,13 @@ bool wxBitmapCheckBox::Create(wxWindow *parent,
     const wxPoint& pos,
     const wxSize& size,
     long style,
     const wxPoint& pos,
     const wxSize& size,
     long style,
-    const wxValidator& validator,
+    const wxValidator& wxVALIDATOR_PARAM(validator),
     const wxString& name)
 {
     SetName(name);
     const wxString& name)
 {
     SetName(name);
+#if wxUSE_VALIDATORS
     SetValidator(validator);
     SetValidator(validator);
+#endif
     m_windowStyle = style;
 
     if (parent)
     m_windowStyle = style;
 
     if (parent)