X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5b208a1796ecf1b9ab267d200705b4f3b4d10e3..2631773e8220c863a57beaa29eece92db31c1edf:/src/osx/checkbox_osx.cpp diff --git a/src/osx/checkbox_osx.cpp b/src/osx/checkbox_osx.cpp index f248aff651..3a72833961 100644 --- a/src/osx/checkbox_osx.cpp +++ b/src/osx/checkbox_osx.cpp @@ -16,7 +16,6 @@ #include "wx/checkbox.h" #include "wx/osx/private.h" -IMPLEMENT_DYNAMIC_CLASS(wxCheckBox, wxControl) IMPLEMENT_DYNAMIC_CLASS(wxBitmapCheckBox, wxCheckBox) // Single check box item @@ -36,6 +35,7 @@ bool wxCheckBox::Create(wxWindow *parent, m_labelOrig = m_label = label ; + WXValidateStyle( &style ); m_peer = wxWidgetImpl::CreateCheckBox( this, parent, id, label, pos, size, style, GetExtraStyle() ) ; MacPostControlCreate(pos, size) ;