]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed typo
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 30 Sep 2003 15:52:50 +0000 (15:52 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 30 Sep 2003 15:52:50 +0000 (15:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/checkbox.cpp
src/mac/checkbox.cpp

index 7d58ccb1360fdacbeec5a16034024411161d424f..dbf5b7d4e2b13ec58991ac67972879b43d2e0d57 100644 (file)
@@ -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 */;
     }
index 7d58ccb1360fdacbeec5a16034024411161d424f..dbf5b7d4e2b13ec58991ac67972879b43d2e0d57 100644 (file)
@@ -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 */;
     }