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