Index: xfa/fwl/cfwl_datetimeedit.cpp |
diff --git a/xfa/fwl/cfwl_datetimeedit.cpp b/xfa/fwl/cfwl_datetimeedit.cpp |
index 869f08ad33f924e9c25b41ee1a274260e73f25b7..f1ddbb1afb930fa82d2f24c0b5c893b186ed0a53 100644 |
--- a/xfa/fwl/cfwl_datetimeedit.cpp |
+++ b/xfa/fwl/cfwl_datetimeedit.cpp |
@@ -53,7 +53,7 @@ void CFWL_DateTimeEdit::DisForm_OnProcessMessage(CFWL_Message* pMessage) { |
CFX_RectF rtInvalidate = pDateTime->GetWidgetRect(); |
pDateTime->ShowMonthCalendar(false); |
rtInvalidate.Offset(-rtInvalidate.left, -rtInvalidate.top); |
- pDateTime->Repaint(&rtInvalidate); |
+ pDateTime->RepaintRect(rtInvalidate); |
} |
} |
CFWL_Edit::OnProcessMessage(pMessage); |