From 513d05952ad99319275962db6bcb8df6fc0b4b27 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 29 Aug 2011 14:46:56 +0000 Subject: [PATCH] Make it possible to TAB to wxTreeListCtrl contents. Even though wxTreeListCtrl contains just one child window it still needs to derive from wxNavigationEnabled<> to allow focus getting to its sole child. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/treelist.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/wx/treelist.h b/include/wx/treelist.h index 1016e262c1..dee836d209 100644 --- a/include/wx/treelist.h +++ b/include/wx/treelist.h @@ -15,6 +15,7 @@ #if wxUSE_TREELISTCTRL +#include "wx/containr.h" #include "wx/headercol.h" #include "wx/itemid.h" #include "wx/vector.h" @@ -87,7 +88,7 @@ extern WXDLLIMPEXP_DATA_ADV(const wxTreeListItem) wxTLI_LAST; // with wxDataViewCtrl directly but doing this makes your unportable to possible // future non-wxDataViewCtrl-based implementations of this class. -class WXDLLIMPEXP_ADV wxTreeListCtrl : public wxWindow, +class WXDLLIMPEXP_ADV wxTreeListCtrl : public wxNavigationEnabled, public wxWithImages { public: -- 2.45.2