From 03706e9fef0cbe5a9d15f96a118b33e28a128b5a Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Sun, 28 Nov 2021 08:48:50 -0800 Subject: [PATCH] Fix build with WXWIN_COMPATIBILITY_2_8==1 Use wxBitmapBundle to avoid wxToolBar::AddTool() ambiguity --- include/wx/gtk/private/addremovectrl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/gtk/private/addremovectrl.h b/include/wx/gtk/private/addremovectrl.h index c9771a134d..fe5c51149a 100644 --- a/include/wx/gtk/private/addremovectrl.h +++ b/include/wx/gtk/private/addremovectrl.h @@ -63,7 +63,7 @@ public: } private: - static wxBitmap GetNamedBitmap(const wxString& name) + static wxBitmapBundle GetNamedBitmap(const wxString& name) { // GTK UI guidelines recommend using "symbolic" versions of the icons // for these buttons, so try them first but fall back to the normal