diff --git a/docs/changes.txt b/docs/changes.txt index 8b1ec9da37..5cc5640d67 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -12,6 +12,7 @@ All: All (GUI): - Fixed potential infinite loop when adjusting wxScrolledWindow scrollbars. +- Radio in menus do not send menu event for selections of already selected item. wxMSW: 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();