minor cleanup (don't use magic numbers)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d60f41f2b4
commit
3ec5bb8667
@ -220,7 +220,7 @@ void wxCheckBox::SetValue(bool val)
|
||||
|
||||
bool wxCheckBox::GetValue() const
|
||||
{
|
||||
return (Get3StateValue() != 0);
|
||||
return (Get3StateValue() != wxCHK_UNCHECKED);
|
||||
}
|
||||
|
||||
void wxCheckBox::Command(wxCommandEvent& event)
|
||||
|
Loading…
Reference in New Issue
Block a user