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
// 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);