X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3a4105df6f49ff2e2d351bd76e2a42b7b4da34b..3b49331b7441e091fc5997b830801d76a1243f28:/include/wx/checkbox.h 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()); }