Fix build with WXWIN_COMPATIBILITY_2_8==1
Use wxBitmapBundle to avoid wxToolBar::AddTool() ambiguity
This commit is contained in:
@@ -63,7 +63,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static wxBitmap GetNamedBitmap(const wxString& name)
|
static wxBitmapBundle GetNamedBitmap(const wxString& name)
|
||||||
{
|
{
|
||||||
// GTK UI guidelines recommend using "symbolic" versions of the icons
|
// GTK UI guidelines recommend using "symbolic" versions of the icons
|
||||||
// for these buttons, so try them first but fall back to the normal
|
// for these buttons, so try them first but fall back to the normal
|
||||||
|
|||||||
Reference in New Issue
Block a user