Fix unused parameter warning with GTK2

This commit is contained in:
Paul Cornett 2022-03-21 12:22:26 -07:00
parent b4475c881a
commit 6a3ccabf11

View File

@ -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();