implemented radio menu items for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -840,7 +840,12 @@ void wxMenuItem::Check( bool check )
|
||||
return;
|
||||
|
||||
wxMenuItemBase::Check( check );
|
||||
gtk_check_menu_item_set_state( (GtkCheckMenuItem*)m_menuItem, (gint)check );
|
||||
|
||||
// GTK+ does it itself for the radio item
|
||||
if ( GetKind() == wxItem_Check )
|
||||
{
|
||||
gtk_check_menu_item_set_state( (GtkCheckMenuItem*)m_menuItem, (gint)check );
|
||||
}
|
||||
}
|
||||
|
||||
void wxMenuItem::Enable( bool enable )
|
||||
|
Reference in New Issue
Block a user