Fix inheritance hierarchy of wxDatePickerCtrlGeneric too
This is very similar to 8a64b6acea
(Fix inheritance hierarchy of
wxTimePickerCtrlGeneric, 2020-11-04) and is done for the same reasons
(avoid having to somehow implement MSW-specific virtual methods of the
native controls base class in the generic version) and suffers from the
same drawback (there is no common base class for the native and generic
version any more).
See https://github.com/wxWidgets/wxWidgets/pull/2109
This commit is contained in:
@@ -19,8 +19,10 @@ class WXDLLIMPEXP_FWD_CORE wxComboCtrl;
|
||||
class WXDLLIMPEXP_FWD_CORE wxCalendarCtrl;
|
||||
class WXDLLIMPEXP_FWD_CORE wxCalendarComboPopup;
|
||||
|
||||
typedef wxDatePickerCtrlCommonBase<wxDateTimePickerCtrlBase> wxDatePickerCtrlGenericBase;
|
||||
|
||||
class WXDLLIMPEXP_CORE wxDatePickerCtrlGeneric
|
||||
: public wxCompositeWindow< wxNavigationEnabled<wxDatePickerCtrlBase> >
|
||||
: public wxCompositeWindow< wxNavigationEnabled<wxDatePickerCtrlGenericBase> >
|
||||
{
|
||||
public:
|
||||
// creating the control
|
||||
|
Reference in New Issue
Block a user