From: Vadim Zeitlin Date: Sat, 27 Mar 2004 20:06:36 +0000 (+0000) Subject: just an unused var warnings X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0efd57325c7f0b05b141bcc6a9dd38703221eabd just an unused var warnings git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/treectlg.cpp b/src/generic/treectlg.cpp index 609aa9d5a4..ee996625f1 100644 --- a/src/generic/treectlg.cpp +++ b/src/generic/treectlg.cpp @@ -2904,7 +2904,9 @@ void wxGenericTreeCtrl::OnMouse( wxMouseEvent &event ) int flags = 0; wxGenericTreeItem *thisItem = m_anchor->HitTest(pt, this, flags, 0); wxGenericTreeItem *underMouse = thisItem; +#if wxUSE_TOOLTIPS bool underMouseChanged = (underMouse != m_underMouse) ; +#endif // wxUSE_TOOLTIPS if ((underMouse) && (flags & wxTREE_HITTEST_ONITEMBUTTON) &&