X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3a4105df6f49ff2e2d351bd76e2a42b7b4da34b..1486fb5f100d096a5ce7ee820766d7a743e759da:/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()); }