]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/treectlg.cpp
warning fix
[wxWidgets.git] / src / generic / treectlg.cpp
index ed745c827f1f28c55daf7d37f6d383ace3dc6997..6c61c9f6e4d21ec2ab521069a6ca5aaf10aa3ec2 100644 (file)
@@ -2314,8 +2314,8 @@ wxTreeItemId wxGenericTreeCtrl::HitTest(const wxPoint& point, int& flags)
 
     if (m_anchor)
         return m_anchor->HitTest( wxPoint(x, y), this, flags);
-    else
-        return wxTreeItemId();
+
+    return wxTreeItemId();
 }
 
 // get the bounding rectangle of the item (or of its label only)