X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8941fa8806ad22825b13367a0b48f889f177fe90..ee22d7f3399bf207e612f09c3279f7aa230aea96:/src/mac/checkbox.cpp diff --git a/src/mac/checkbox.cpp b/src/mac/checkbox.cpp index 7d58ccb136..dbf5b7d4e2 100644 --- a/src/mac/checkbox.cpp +++ b/src/mac/checkbox.cpp @@ -42,7 +42,7 @@ bool wxCheckBox::Create(wxWindow *parent, wxWindowID id, const wxString& label, 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 */; }