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