X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a9102b3671a45d116d781b0c8e90d2e9a84fbdcb..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/src/common/framecmn.cpp?ds=sidebyside diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index 6127486170..ae37a7fbd8 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -205,6 +205,9 @@ bool wxFrameBase::ProcessCommand(int id) if (!item->IsEnabled()) return true; + if ((item->GetKind() == wxITEM_RADIO) && item->IsChecked() ) + return true; + if (item->IsCheckable()) { item->Toggle();