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
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
|
|
||||||
#if wxUSE_TREELISTCTRL
|
#if wxUSE_TREELISTCTRL
|
||||||
|
|
||||||
|
#include "wx/containr.h"
|
||||||
#include "wx/headercol.h"
|
#include "wx/headercol.h"
|
||||||
#include "wx/itemid.h"
|
#include "wx/itemid.h"
|
||||||
#include "wx/vector.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
|
// with wxDataViewCtrl directly but doing this makes your unportable to possible
|
||||||
// future non-wxDataViewCtrl-based implementations of this class.
|
// future non-wxDataViewCtrl-based implementations of this class.
|
||||||
|
|
||||||
class WXDLLIMPEXP_ADV wxTreeListCtrl : public wxWindow,
|
class WXDLLIMPEXP_ADV wxTreeListCtrl : public wxNavigationEnabled<wxWindow>,
|
||||||
public wxWithImages
|
public wxWithImages
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Reference in New Issue
Block a user