Fix unused parameter warning with GTK2
This commit is contained in:
parent
b4475c881a
commit
6a3ccabf11
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user