| Index: xfa/fwl/core/cfwl_comboboxproxy.cpp
|
| diff --git a/xfa/fwl/core/cfwl_comboboxproxy.cpp b/xfa/fwl/core/cfwl_comboboxproxy.cpp
|
| index be45f2b72954549fc3221a6368dd8e042e33ca09..b7c56378cf2760b18ac217b075bea48a23819ba1 100644
|
| --- a/xfa/fwl/core/cfwl_comboboxproxy.cpp
|
| +++ b/xfa/fwl/core/cfwl_comboboxproxy.cpp
|
| @@ -70,8 +70,7 @@ void CFWL_ComboBoxProxy::OnLButtonDown(CFWL_Message* pMessage) {
|
|
|
| CFWL_NoteDriver* pDriver =
|
| static_cast<CFWL_NoteDriver*>(pApp->GetNoteDriver());
|
| - CFX_RectF rtWidget;
|
| - GetWidgetRect(rtWidget, false);
|
| + CFX_RectF rtWidget = GetWidgetRect();
|
| rtWidget.left = rtWidget.top = 0;
|
|
|
| CFWL_MsgMouse* pMsg = static_cast<CFWL_MsgMouse*>(pMessage);
|
| @@ -100,8 +99,7 @@ void CFWL_ComboBoxProxy::OnLButtonUp(CFWL_Message* pMessage) {
|
| }
|
|
|
| CFWL_MsgMouse* pMsg = static_cast<CFWL_MsgMouse*>(pMessage);
|
| - CFX_RectF rect;
|
| - GetWidgetRect(rect, false);
|
| + CFX_RectF rect = GetWidgetRect();
|
| rect.left = rect.top = 0;
|
| if (!rect.Contains(pMsg->m_fx, pMsg->m_fy) &&
|
| m_pComboBox->IsDropListVisible()) {
|
|
|