From: Stefan Csomor Date: Tue, 30 Sep 2003 15:52:50 +0000 (+0000) Subject: fixed typo X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9c9ceb4820f5b58f69c7d3c7c6dd969c873b63b2?ds=inline fixed typo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/checkbox.cpp b/src/mac/carbon/checkbox.cpp index 7d58ccb136..dbf5b7d4e2 100644 --- a/src/mac/carbon/checkbox.cpp +++ b/src/mac/carbon/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 */; } 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 */; }