Avoid unused variable warning in wxRibbon with wxUSE_TOOLTIPS==0
This commit is contained in:
parent
3004e594b9
commit
655b343246
@ -1303,6 +1303,8 @@ void wxRibbonButtonBar::OnMouseMove(wxMouseEvent& evt)
|
||||
{
|
||||
SetToolTip(tooltipButton->base->help_string);
|
||||
}
|
||||
#else
|
||||
wxUnusedVar(tooltipButton);
|
||||
#endif
|
||||
|
||||
if(new_hovered != m_hovered_button || (m_hovered_button != NULL &&
|
||||
|
Loading…
Reference in New Issue
Block a user