]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed wxCheckBoxBase::DoUpdateWindowUI to handle disabling and hiding of the control
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 30 Jun 2006 10:51:44 +0000 (10:51 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 30 Jun 2006 10:51:44 +0000 (10:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/checkbox.h

index 930d3d8e71b905fcb9dc7efb75ca26d5f85599ee..0fa2516ca319152340b5ab1a2b63a904ca6f98a4 100644 (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());
     }