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
This commit is contained in:
Václav Slavík
2006-06-30 10:51:44 +00:00
parent 9fff727353
commit 84b2e3765d

View File

@@ -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());
}