]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/checkbox.cpp
compilation fixes
[wxWidgets.git] / src / gtk1 / checkbox.cpp
index f7d4fa484076438abc481a3fba0f31aff362fa57..946a09a4132b96b687159e20d99f4ffcd7d251c3 100644 (file)
@@ -82,7 +82,10 @@ bool wxCheckBox::Create(wxWindow *parent,
 
     m_blockFirstEvent = FALSE;
 
+#if wxUSE_VALIDATORS
     SetValidator( validator );
+#endif
+
     wxControl::SetLabel( label );
 
     if ( style & wxALIGN_RIGHT )