Fix build with WXWIN_COMPATIBILITY_2_8==1

Use wxBitmapBundle to avoid wxToolBar::AddTool() ambiguity
This commit is contained in:
Paul Cornett 2021-11-28 08:48:50 -08:00
parent 9a40669aad
commit 03706e9fef

View File

@ -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