Index: xfa/fwl/core/cfwl_notedriver.cpp |
diff --git a/xfa/fwl/core/cfwl_notedriver.cpp b/xfa/fwl/core/cfwl_notedriver.cpp |
index 06d8fd5df9626897ff907a58429786172647f952..3459ef5df739c8186640549dd459bc9bbcc0a421 100644 |
--- a/xfa/fwl/core/cfwl_notedriver.cpp |
+++ b/xfa/fwl/core/cfwl_notedriver.cpp |
@@ -84,7 +84,7 @@ CFWL_NoteLoop* CFWL_NoteDriver::PopNoteLoop() { |
return p; |
} |
-bool CFWL_NoteDriver::SetFocus(CFWL_Widget* pFocus, bool bNotify) { |
+bool CFWL_NoteDriver::SetFocus(CFWL_Widget* pFocus) { |
if (m_pFocus == pFocus) |
return true; |
@@ -94,8 +94,6 @@ bool CFWL_NoteDriver::SetFocus(CFWL_Widget* pFocus, bool bNotify) { |
CFWL_MsgKillFocus ms; |
ms.m_pDstTarget = pPrev; |
ms.m_pSrcTarget = pPrev; |
- if (bNotify) |
- ms.m_dwExtend = 1; |
if (IFWL_WidgetDelegate* pDelegate = pPrev->GetDelegate()) |
pDelegate->OnProcessMessage(&ms); |
@@ -109,8 +107,6 @@ bool CFWL_NoteDriver::SetFocus(CFWL_Widget* pFocus, bool bNotify) { |
CFWL_MsgSetFocus ms; |
ms.m_pDstTarget = pFocus; |
- if (bNotify) |
- ms.m_dwExtend = 1; |
if (IFWL_WidgetDelegate* pDelegate = pFocus->GetDelegate()) |
pDelegate->OnProcessMessage(&ms); |
} |