From 648cfe074305512952132c40b03758be577bda93 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 30 Jan 2018 21:35:20 +0100 Subject: [PATCH] Fix TAB navigation for wxDatePickerCtrl in wxGTK Inherit from wxNavigationEnabled<> to make navigation work correctly in wxGTK. --- include/wx/generic/datectrl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/wx/generic/datectrl.h b/include/wx/generic/datectrl.h index 9c273a6e40..09d340739d 100644 --- a/include/wx/generic/datectrl.h +++ b/include/wx/generic/datectrl.h @@ -12,6 +12,7 @@ #define _WX_GENERIC_DATECTRL_H_ #include "wx/compositewin.h" +#include "wx/containr.h" class WXDLLIMPEXP_FWD_CORE wxComboCtrl; @@ -19,7 +20,7 @@ class WXDLLIMPEXP_FWD_ADV wxCalendarCtrl; class WXDLLIMPEXP_FWD_ADV wxCalendarComboPopup; class WXDLLIMPEXP_ADV wxDatePickerCtrlGeneric - : public wxCompositeWindowSettersOnly + : public wxCompositeWindowSettersOnly< wxNavigationEnabled > { public: // creating the control