X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22574b4a9c8a805d2d476aa6f531e408b647523e..c92ad09968b09fe6e4cf17d9e962b51b7caaee91:/src/msw/treectrl.cpp diff --git a/src/msw/treectrl.cpp b/src/msw/treectrl.cpp index cd3942ed1c..40f9f53105 100644 --- a/src/msw/treectrl.cpp +++ b/src/msw/treectrl.cpp @@ -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,11 +1683,6 @@ wxTreeItemId wxTreeCtrl::DoInsertAfter(const wxTreeItemId& parent, // for compatibility only #if WXWIN_COMPATIBILITY_2_4 -wxImageList *wxTreeCtrl::GetImageList(int) const -{ - return wxTreeCtrlBase::GetImageList(); -} - void wxTreeCtrl::SetImageList(wxImageList *imageList, int) { SetImageList(imageList);