Avoid unused variable warning in wxRibbon with wxUSE_TOOLTIPS==0

This commit is contained in:
Vadim Zeitlin 2020-07-06 13:06:03 +02:00
parent 3004e594b9
commit 655b343246

View File

@ -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 &&