X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7af99268d460c5565e5c08077b3997d4963d6fb0..86a6ecff59dfa3143b9a4a3a452e480e2210300b:/src/msw/checkbox.cpp diff --git a/src/msw/checkbox.cpp b/src/msw/checkbox.cpp index a43947cc5c..9e0897ed4e 100644 --- a/src/msw/checkbox.cpp +++ b/src/msw/checkbox.cpp @@ -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)