Fix TAB navigation for wxDatePickerCtrl in wxGTK

Inherit from wxNavigationEnabled<> to make navigation work correctly in
wxGTK.
This commit is contained in:
Vadim Zeitlin 2018-01-30 21:35:20 +01:00
parent 1de107c037
commit 648cfe0743

View File

@ -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<wxDatePickerCtrlBase>
: public wxCompositeWindowSettersOnly< wxNavigationEnabled<wxDatePickerCtrlBase> >
{
public:
// creating the control