]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/treectrl.cpp
changed background color reference from light gray to assigned bkgd color
[wxWidgets.git] / src / msw / treectrl.cpp
index 0394ff22e9c3a5f4fc9101554ea7b72cfcb50179..40f9f53105811ecb2198dafee04d52baad85d0f9 100644 (file)
@@ -311,6 +311,11 @@ public:
         m_tree = tree;
     }
 
+    // give it a virtual dtor: not really needed as the class is never used
+    // polymorphically and not even allocated on heap at all, but this is safer
+    // (in case it ever is) and silences the compiler warnings for now
+    virtual ~wxTreeTraversal() { }
+
     // do traverse the tree: visit all items (recursively by default) under the
     // given one; return true if all items were traversed or false if the
     // traversal was aborted because OnVisit returned false
@@ -1678,13 +1683,6 @@ wxTreeItemId wxTreeCtrl::DoInsertAfter(const wxTreeItemId& parent,
 // for compatibility only
 #if WXWIN_COMPATIBILITY_2_4
 
-/* This appears to hide base class GetImageList()
-wxImageList *wxTreeCtrl::GetImageList(int) const
-{
-    return wxTreeCtrlBase::GetImageList();
-}
-*/
-
 void wxTreeCtrl::SetImageList(wxImageList *imageList, int)
 {
     SetImageList(imageList);