Index: xfa/fwl/core/ifwl_monthcalendar.h |
diff --git a/xfa/fwl/core/ifwl_monthcalendar.h b/xfa/fwl/core/ifwl_monthcalendar.h |
index 096b3a04d714ed7f13752d828b03b57c439923e5..7a8b3125a67382787c83c0c2ed52104b7be54f72 100644 |
--- a/xfa/fwl/core/ifwl_monthcalendar.h |
+++ b/xfa/fwl/core/ifwl_monthcalendar.h |
@@ -10,7 +10,6 @@ |
#include "xfa/fgas/localization/fgas_datetime.h" |
#include "xfa/fwl/core/cfwl_event.h" |
#include "xfa/fwl/core/cfwl_widgetproperties.h" |
-#include "xfa/fwl/core/ifwl_dataprovider.h" |
#include "xfa/fwl/core/ifwl_widget.h" |
#define FWL_STYLEEXT_MCD_MultiSelect (1L << 0) |
@@ -25,15 +24,15 @@ |
class CFWL_MsgMouse; |
class IFWL_Widget; |
-class IFWL_MonthCalendarDP : public IFWL_DataProvider { |
- public: |
- virtual int32_t GetCurDay(IFWL_Widget* pWidget) = 0; |
- virtual int32_t GetCurMonth(IFWL_Widget* pWidget) = 0; |
- virtual int32_t GetCurYear(IFWL_Widget* pWidget) = 0; |
-}; |
- |
class IFWL_MonthCalendar : public IFWL_Widget { |
public: |
+ class DataProvider : public IFWL_Widget::DataProvider { |
+ public: |
+ virtual int32_t GetCurDay(IFWL_Widget* pWidget) = 0; |
+ virtual int32_t GetCurMonth(IFWL_Widget* pWidget) = 0; |
+ virtual int32_t GetCurYear(IFWL_Widget* pWidget) = 0; |
+ }; |
+ |
IFWL_MonthCalendar(const IFWL_App* app, |
std::unique_ptr<CFWL_WidgetProperties> properties, |
IFWL_Widget* pOuter); |