X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dcf924a345ea8ffbc1cf6b40b5f75c6005e504c0..8dbf458911c24bae120bed07d5627a65f362b8d1:/src/gtk1/checkbox.cpp diff --git a/src/gtk1/checkbox.cpp b/src/gtk1/checkbox.cpp index f7d4fa4840..946a09a413 100644 --- a/src/gtk1/checkbox.cpp +++ b/src/gtk1/checkbox.cpp @@ -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 )