[ 1836794 ] gtk menu: radiogroup and separator
authorRobert Roebling <robert@roebling.de>
Sat, 8 Dec 2007 11:53:07 +0000 (11:53 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 8 Dec 2007 11:53:07 +0000 (11:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/menu.cpp

index 71dc66a136aaf990bd7c2dcf2112ba0927f48a33..c89d45db0f73a02583d8f4f27636b7280afd19ee 100644 (file)
@@ -1054,6 +1054,7 @@ bool wxMenu::GtkAppend(wxMenuItem *mitem, int pos)
     if ( mitem->IsSeparator() )
     {
         menuItem = gtk_separator_menu_item_new();
+        m_prevRadio = NULL;
     }
     else if ( mitem->GetBitmap().Ok() ||
                 (mitem->GetKind() == wxITEM_NORMAL && isstock) )