Remove wxMenuItem::GetBitmapBundle() from wxGTK

This function doesn't exist in the other ports and is not really needed
in this one neither, so just remove it for now.

If we really want to have it, we need to make it available everywhere.
This commit is contained in:
Vadim Zeitlin
2022-02-05 20:34:04 +01:00
parent 99948ffc1d
commit d745ff0a90
2 changed files with 1 additions and 2 deletions

View File

@@ -1034,7 +1034,7 @@ void wxMenu::GtkAppend(wxMenuItem* mitem, int pos)
menuItem = gtk_menu_item_new_with_label("");
#else
wxGCC_WARNING_SUPPRESS(deprecated-declarations)
if (mitem->GetBitmapBundle().IsOk())
if (mitem->GetBitmap().IsOk())
{
menuItem = gtk_image_menu_item_new_with_label("");
}