From 7fa190dbda7b3a5f46b8108aa7984b2fcc23d45c Mon Sep 17 00:00:00 2001 From: dsinclair Date: Wed, 7 Dec 2016 17:23:28 -0800 Subject: Cleanup default FWL params part I This Cl removes some of the default FWL parameters. Review-Url: https://codereview.chromium.org/2533623002 --- xfa/fwl/core/cfwl_monthcalendar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xfa/fwl/core/cfwl_monthcalendar.cpp') diff --git a/xfa/fwl/core/cfwl_monthcalendar.cpp b/xfa/fwl/core/cfwl_monthcalendar.cpp index a550d310c4..76426cd5be 100644 --- a/xfa/fwl/core/cfwl_monthcalendar.cpp +++ b/xfa/fwl/core/cfwl_monthcalendar.cpp @@ -995,7 +995,7 @@ void CFWL_MonthCalendar::OnLButtonUp(CFWL_MsgMouse* pMsg) { int32_t iCurSel = GetDayAtPoint(pMsg->m_fx, pMsg->m_fy); CFX_RectF rt; CFWL_DateTimePicker* pIPicker = static_cast(m_pOuter); - pIPicker->GetFormProxy()->GetWidgetRect(rt); + pIPicker->GetFormProxy()->GetWidgetRect(rt, false); rt.Set(0, 0, rt.width, rt.height); if (iCurSel > 0) { DATEINFO* lpDatesInfo = m_arrDates.GetAt(iCurSel - 1); -- cgit v1.2.3