Compile fix for GTK 1.2.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2003-05-09 14:31:40 +00:00
parent f97ef56b88
commit c0bfa2acd4
2 changed files with 0 additions and 12 deletions

View File

@@ -1122,10 +1122,6 @@ bool wxMenu::GtkAppend(wxMenuItem *mitem)
{
GtkWidget *menuItem;
#if defined(USE_MENU_BITMAPS) || !GTK_CHECK_VERSION(1, 2, 0)
bool appended = FALSE;
#endif
// does this item terminate the current radio group?
bool endOfRadioGroup = TRUE;
@@ -1213,8 +1209,6 @@ bool wxMenu::GtkAppend(wxMenuItem *mitem)
gtk_menu_append( GTK_MENU(m_menu), menuItem );
gtk_widget_show( menuItem );
appended = TRUE; // We've done this, don't do it again
}
#endif
else // a normal item

View File

@@ -1122,10 +1122,6 @@ bool wxMenu::GtkAppend(wxMenuItem *mitem)
{
GtkWidget *menuItem;
#if defined(USE_MENU_BITMAPS) || !GTK_CHECK_VERSION(1, 2, 0)
bool appended = FALSE;
#endif
// does this item terminate the current radio group?
bool endOfRadioGroup = TRUE;
@@ -1213,8 +1209,6 @@ bool wxMenu::GtkAppend(wxMenuItem *mitem)
gtk_menu_append( GTK_MENU(m_menu), menuItem );
gtk_widget_show( menuItem );
appended = TRUE; // We've done this, don't do it again
}
#endif
else // a normal item