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 */;
}