Fix insertion of radio menu items in wxOSX wxMenu.
Deal correctly with updating the indices when a radio item is inserted into an existing radio group (which wasn't done previously and resulted in a unit test failure in MenuTestCase::RadioItems()) and also with inserting the normal items before an existing radio group as the stored indices were not updated correctly. The code is still ugly and it probably wouldn't be a bad idea to reuse wxMenuRadioItemsData used in wxMSW for similar purposes, but at least the unit tests pass now. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -726,6 +726,7 @@ wxOSX/Cocoa:
|
||||
- Implement image support in wxNotebook (Malcolm MacLeod).
|
||||
- Add support for button mnemonics (joostn).
|
||||
- Implemented wxTextCtrl::SetDefaultStyle().
|
||||
- Fix insertion and removal of radio items in wxMenu.
|
||||
|
||||
|
||||
2.9.4: (released 2012-07-09)
|
||||
|
Reference in New Issue
Block a user