]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/checkbox.cpp
Deprecate wxPathExists, make wxDirExists used everywhere, minor source cleaning.
[wxWidgets.git] / src / msw / checkbox.cpp
index a43947cc5cf3d20ccd6bd74a1528612a9a191d07..9e0897ed4e235eaf33891fb5de9571417e5b293c 100644 (file)
@@ -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)