This must be called if another radio item is inserted before the current
starting one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74547
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void UpdateItemStatus() ;
// mark item as belonging to the given radio group
- void SetAsRadioGroupStart();
+ void SetAsRadioGroupStart(bool start = true);
void SetRadioGroupStart(int start);
void SetRadioGroupEnd(int end);
// radio group stuff
// -----------------
-void wxMenuItem::SetAsRadioGroupStart()
+void wxMenuItem::SetAsRadioGroupStart(bool start)
{
- m_isRadioGroupStart = true;
+ m_isRadioGroupStart = start;
}
void wxMenuItem::SetRadioGroupStart(int start)