]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/checkbox.cpp
include "wx/encinfo.h" for wxNativeEncodingInfo
[wxWidgets.git] / 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 */;
     }