fixed typo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2003-09-30 15:52:50 +00:00
parent aef35d0ef5
commit 9c9ceb4820
2 changed files with 2 additions and 2 deletions

View 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 ) ; MacPreControlCreate( parent , id , label , pos , size ,style, validator , name , &bounds , title ) ;
SInt16 maxValue = 1 /* kControlCheckboxCheckedValue */; SInt16 maxValue = 1 /* kControlCheckboxCheckedValue */;
if (style & wxCH_3STATE) if (style & wxCHK_3STATE)
{ {
maxValue = 2 /* kControlCheckboxMixedValue */; maxValue = 2 /* kControlCheckboxMixedValue */;
} }

View 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 ) ; MacPreControlCreate( parent , id , label , pos , size ,style, validator , name , &bounds , title ) ;
SInt16 maxValue = 1 /* kControlCheckboxCheckedValue */; SInt16 maxValue = 1 /* kControlCheckboxCheckedValue */;
if (style & wxCH_3STATE) if (style & wxCHK_3STATE)
{ {
maxValue = 2 /* kControlCheckboxMixedValue */; maxValue = 2 /* kControlCheckboxMixedValue */;
} }