summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_datetimepicker.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-17 09:25:42 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-17 09:25:42 -0800
commit4905c9f0474f4fc0a85f05d0eb8c34fb099a77f2 (patch)
treee85f61c202b5f729b257606c329925f4ffe485c0 /xfa/fwl/core/ifwl_datetimepicker.cpp
parent098f454bddc57c9af00d725132a6d9ad8bdb171f (diff)
downloadpdfium-4905c9f0474f4fc0a85f05d0eb8c34fb099a77f2.tar.xz
Remove events which are not processed
The DropDown, HoverChanged and CloseUp events are created and thrown but are not caught for processing anywhere. Removed. Review-Url: https://codereview.chromium.org/2509733006
Diffstat (limited to 'xfa/fwl/core/ifwl_datetimepicker.cpp')
-rw-r--r--xfa/fwl/core/ifwl_datetimepicker.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/xfa/fwl/core/ifwl_datetimepicker.cpp b/xfa/fwl/core/ifwl_datetimepicker.cpp
index 1cd96c6925..074065b1e2 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);
}