summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_datetimepicker.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-10 13:01:54 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-10 13:01:54 -0800
commit72f15a08aa47afb61e3c60b3f754309696c471ec (patch)
tree6b08637b12c08c6780e633abb100184d9b5feada /xfa/fwl/core/ifwl_datetimepicker.h
parentd2bf06228d7572545717cd36ea0dabc67e9b6d84 (diff)
downloadpdfium-72f15a08aa47afb61e3c60b3f754309696c471ec.tar.xz
Fold IFWL_DateTimeCalendar into IFWL_MonthCalendar
The IFWL_MonthCalendar was never instantiated and had a single sub-class. This CL folds the subclass into IFWL_MonthCalendar and uses MonthCalendar directly. Review-Url: https://codereview.chromium.org/2491443003
Diffstat (limited to 'xfa/fwl/core/ifwl_datetimepicker.h')
-rw-r--r--xfa/fwl/core/ifwl_datetimepicker.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/fwl/core/ifwl_datetimepicker.h b/xfa/fwl/core/ifwl_datetimepicker.h
index a7464e78e6..f6742838c4 100644
--- a/xfa/fwl/core/ifwl_datetimepicker.h
+++ b/xfa/fwl/core/ifwl_datetimepicker.h
@@ -30,7 +30,6 @@
#define FWL_STYLEEXT_DTP_EditVAlignMask (3L << 6)
#define FWL_STYLEEXT_DTP_EditHAlignModeMask (3L << 8)
-class IFWL_DateTimeCalendar;
class IFWL_DateTimeEdit;
class IFWL_FormProxy;
@@ -140,13 +139,13 @@ class IFWL_DateTimePicker : public IFWL_Widget, public IFWL_MonthCalendarDP {
int32_t m_iDay;
bool m_bLBtnDown;
std::unique_ptr<IFWL_DateTimeEdit> m_pEdit;
- std::unique_ptr<IFWL_DateTimeCalendar> m_pMonthCal;
+ std::unique_ptr<IFWL_MonthCalendar> m_pMonthCal;
std::unique_ptr<IFWL_FormProxy> m_pForm;
FX_FLOAT m_fBtn;
private:
FWL_Error DisForm_Initialize();
- void DisForm_InitDateTimeCalendar();
+ void DisForm_InitMonthCalendar();
void DisForm_InitDateTimeEdit();
bool DisForm_IsMonthCalendarShowed();
void DisForm_ShowMonthCalendar(bool bActivate);