]> git.saurik.com Git - wxWidgets.git/commitdiff
just an unused var warnings
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 27 Mar 2004 20:06:36 +0000 (20:06 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 27 Mar 2004 20:06:36 +0000 (20:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/treectlg.cpp

index 609aa9d5a43d613ea87642b2058b2d7d24da855f..ee996625f141b2a4f188695cf1be4ad76e6ed3e3 100644 (file)
@@ -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) &&