Index: xfa/fwl/core/ifwl_datetimepicker.cpp |
diff --git a/xfa/fwl/core/ifwl_datetimepicker.cpp b/xfa/fwl/core/ifwl_datetimepicker.cpp |
index 1cd96c69258141e20fa6dc59ee0f1ca0738ea1ff..074065b1e2ff6d69acc13999b79b3995d4adf7ba 100644 |
--- a/xfa/fwl/core/ifwl_datetimepicker.cpp |
+++ b/xfa/fwl/core/ifwl_datetimepicker.cpp |
@@ -608,16 +608,11 @@ void IFWL_DateTimePicker::OnLButtonDown(CFWL_MsgMouse* pMsg) { |
if (IsMonthCalendarVisible()) { |
ShowMonthCalendar(false); |
- CFWL_Event_DtpCloseUp ev; |
- DispatchEvent(&ev); |
return; |
} |
- |
- if (!(m_pProperties->m_dwStyleExes & FWL_STYLEEXT_DTP_TimeFormat)) { |
+ if (!(m_pProperties->m_dwStyleExes & FWL_STYLEEXT_DTP_TimeFormat)) |
ShowMonthCalendar(true); |
- CFWL_Event_DtpDropDown ev; |
- DispatchEvent(&ev); |
- } |
+ |
m_bLBtnDown = true; |
Repaint(&m_rtClient); |
} |