X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8941fa8806ad22825b13367a0b48f889f177fe90..83842a0ba326b22c6b930998a7f817e83ff7f7be:/src/mac/checkbox.cpp diff --git a/src/mac/checkbox.cpp b/src/mac/checkbox.cpp index 7d58ccb136..6e6aa299b2 100644 --- a/src/mac/checkbox.cpp +++ b/src/mac/checkbox.cpp @@ -34,15 +34,13 @@ bool wxCheckBox::Create(wxWindow *parent, wxWindowID id, const wxString& label, if ( !wxCheckBoxBase::Create(parent, id, pos, size, style, validator, name) ) return false; - m_style = style; - Rect bounds ; Str255 title ; MacPreControlCreate( parent , id , label , pos , size ,style, validator , name , &bounds , title ) ; SInt16 maxValue = 1 /* kControlCheckboxCheckedValue */; - if (style & wxCH_3STATE) + if (style & wxCHK_3STATE) { maxValue = 2 /* kControlCheckboxMixedValue */; }