[ 1836794 ] gtk menu: radiogroup and separator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1054,6 +1054,7 @@ bool wxMenu::GtkAppend(wxMenuItem *mitem, int pos)
|
|||||||
if ( mitem->IsSeparator() )
|
if ( mitem->IsSeparator() )
|
||||||
{
|
{
|
||||||
menuItem = gtk_separator_menu_item_new();
|
menuItem = gtk_separator_menu_item_new();
|
||||||
|
m_prevRadio = NULL;
|
||||||
}
|
}
|
||||||
else if ( mitem->GetBitmap().Ok() ||
|
else if ( mitem->GetBitmap().Ok() ||
|
||||||
(mitem->GetKind() == wxITEM_NORMAL && isstock) )
|
(mitem->GetKind() == wxITEM_NORMAL && isstock) )
|
||||||
|
Reference in New Issue
Block a user