From: Václav Slavík Date: Fri, 30 Jun 2006 10:51:44 +0000 (+0000) Subject: fixed wxCheckBoxBase::DoUpdateWindowUI to handle disabling and hiding of the control X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/84b2e3765d7781e91b62be7c714d92bc286a67c7 fixed wxCheckBoxBase::DoUpdateWindowUI to handle disabling and hiding of the control git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/checkbox.h b/include/wx/checkbox.h index 930d3d8e71..0fa2516ca3 100644 --- a/include/wx/checkbox.h +++ b/include/wx/checkbox.h @@ -111,6 +111,8 @@ public: // wxCheckBox-specific processing after processing the update event virtual void DoUpdateWindowUI(wxUpdateUIEvent& event) { + wxControl::DoUpdateWindowUI(event); + if ( event.GetSetChecked() ) SetValue(event.GetChecked()); }