| Index: xfa/src/fwl/src/basewidget/fwl_datetimepickerimp.cpp
|
| diff --git a/xfa/src/fwl/src/basewidget/fwl_datetimepickerimp.cpp b/xfa/src/fwl/src/basewidget/fwl_datetimepickerimp.cpp
|
| index b42b43f9e998b3fc67a7c5205448a7e341d256a3..8c957db9657644356c29633d5a7c948966f0635a 100644
|
| --- a/xfa/src/fwl/src/basewidget/fwl_datetimepickerimp.cpp
|
| +++ b/xfa/src/fwl/src/basewidget/fwl_datetimepickerimp.cpp
|
| @@ -301,11 +301,11 @@ void CFWL_DateTimeCalendarImpDelegate::OnLButtonUpEx(CFWL_MsgMouse* pMsg) {
|
| pPicker->m_pForm->GetWidgetRect(rt);
|
| rt.Set(0, 0, rt.width, rt.height);
|
| if (iCurSel > 0) {
|
| - LPDATEINFO lpDatesInfo =
|
| - (LPDATEINFO)m_pOwner->m_arrDates.GetAt(iCurSel - 1);
|
| + FWL_DATEINFO* lpDatesInfo =
|
| + (FWL_DATEINFO*)m_pOwner->m_arrDates.GetAt(iCurSel - 1);
|
| CFX_RectF rtInvalidate(lpDatesInfo->rect);
|
| if (iOldSel > 0 && iOldSel <= m_pOwner->m_arrDates.GetSize()) {
|
| - lpDatesInfo = (LPDATEINFO)m_pOwner->m_arrDates.GetAt(iOldSel - 1);
|
| + lpDatesInfo = (FWL_DATEINFO*)m_pOwner->m_arrDates.GetAt(iOldSel - 1);
|
| rtInvalidate.Union(lpDatesInfo->rect);
|
| }
|
| m_pOwner->AddSelDay(iCurSel);
|
| @@ -394,11 +394,11 @@ void CFWL_DateTimeCalendarImpDelegate::DisForm_OnLButtonUpEx(
|
| }
|
| int32_t iCurSel = m_pOwner->GetDayAtPoint(pMsg->m_fx, pMsg->m_fy);
|
| if (iCurSel > 0) {
|
| - LPDATEINFO lpDatesInfo =
|
| - (LPDATEINFO)m_pOwner->m_arrDates.GetAt(iCurSel - 1);
|
| + FWL_DATEINFO* lpDatesInfo =
|
| + (FWL_DATEINFO*)m_pOwner->m_arrDates.GetAt(iCurSel - 1);
|
| CFX_RectF rtInvalidate(lpDatesInfo->rect);
|
| if (iOldSel > 0 && iOldSel <= m_pOwner->m_arrDates.GetSize()) {
|
| - lpDatesInfo = (LPDATEINFO)m_pOwner->m_arrDates.GetAt(iOldSel - 1);
|
| + lpDatesInfo = (FWL_DATEINFO*)m_pOwner->m_arrDates.GetAt(iOldSel - 1);
|
| rtInvalidate.Union(lpDatesInfo->rect);
|
| }
|
| m_pOwner->AddSelDay(iCurSel);
|
|
|