| Index: xfa/fwl/cfwl_datetimepicker.cpp
|
| diff --git a/xfa/fwl/cfwl_datetimepicker.cpp b/xfa/fwl/cfwl_datetimepicker.cpp
|
| index e74d98b0c8dadaae61df84ff8ef7a90bfbe5aff5..305a461578a83de202bd58c61b0031ce3c47951e 100644
|
| --- a/xfa/fwl/cfwl_datetimepicker.cpp
|
| +++ b/xfa/fwl/cfwl_datetimepicker.cpp
|
| @@ -204,11 +204,6 @@ void CFWL_DateTimePicker::ModifyEditStylesEx(uint32_t dwStylesExAdded,
|
| void CFWL_DateTimePicker::DrawDropDownButton(CFX_Graphics* pGraphics,
|
| IFWL_ThemeProvider* pTheme,
|
| const CFX_Matrix* pMatrix) {
|
| - if ((m_pProperties->m_dwStyleExes & FWL_STYLEEXT_DTP_Spin) ==
|
| - FWL_STYLEEXT_DTP_Spin) {
|
| - return;
|
| - }
|
| -
|
| CFWL_ThemeBackground param;
|
| param.m_pWidget = this;
|
| param.m_iPart = CFWL_Part::DropDownButton;
|
| @@ -307,8 +302,6 @@ void CFWL_DateTimePicker::ResetEditAlignment() {
|
| }
|
| if (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_DTP_EditJustified)
|
| dwAdd |= FWL_STYLEEXT_EDT_Justified;
|
| - if (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_DTP_EditDistributed)
|
| - dwAdd |= FWL_STYLEEXT_EDT_Distributed;
|
|
|
| m_pEdit->ModifyStylesEx(dwAdd, FWL_STYLEEXT_EDT_HAlignMask |
|
| FWL_STYLEEXT_EDT_HAlignModeMask |
|
| @@ -566,8 +559,7 @@ void CFWL_DateTimePicker::OnLButtonDown(CFWL_MessageMouse* pMsg) {
|
| ShowMonthCalendar(false);
|
| return;
|
| }
|
| - if (!(m_pProperties->m_dwStyleExes & FWL_STYLEEXT_DTP_TimeFormat))
|
| - ShowMonthCalendar(true);
|
| + ShowMonthCalendar(true);
|
|
|
| m_bLBtnDown = true;
|
| RepaintRect(m_rtClient);
|
|
|