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