git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33170
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
DoToggleTool(tool, true);
}
}
DoToggleTool(tool, true);
}
}
+ else if (tool->IsToggled())
+ {
+ wxToolBarToolsList::compatibility_iterator nodePrev = node->GetPrevious();
+ while ( nodePrev )
+ {
+ wxToolBarToolBase *tool = nodePrev->GetData();
+ if ( !tool->IsButton() || (tool->GetKind() != wxITEM_RADIO) )
+ break;
+ if ( tool->Toggle(false) )
+ {
+ DoToggleTool(tool, false);
+ }
+ nodePrev = nodePrev->GetPrevious();
+ }
+ }