From 6a3ccabf1149aa50ba77e43903b3e9885df2689b Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Mon, 21 Mar 2022 12:22:26 -0700 Subject: [PATCH] Fix unused parameter warning with GTK2 --- src/gtk/toolbar.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gtk/toolbar.cpp b/src/gtk/toolbar.cpp index 6b6c46c0f4..e185978635 100644 --- a/src/gtk/toolbar.cpp +++ b/src/gtk/toolbar.cpp @@ -195,6 +195,7 @@ wxBitmap BitmapProvider::Get(int scale) const } return bitmap; #else + wxUnusedVar(scale); if (!m_tool->IsEnabled()) return m_tool->GetDisabledBitmap(); return wxBitmap();