Fix unused parameter warning with GTK2
This commit is contained in:
parent
b4475c881a
commit
6a3ccabf11
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue