summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_fftext.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/cxfa_fftext.h')
-rw-r--r--xfa/fxfa/cxfa_fftext.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_fftext.h b/xfa/fxfa/cxfa_fftext.h
index 8eeb523772..9da39d4f73 100644
--- a/xfa/fxfa/cxfa_fftext.h
+++ b/xfa/fxfa/cxfa_fftext.h
@@ -15,7 +15,10 @@ class CXFA_FFText : public CXFA_FFWidget {
~CXFA_FFText() override;
// CXFA_FFWidget
- bool OnLButtonDown(uint32_t dwFlags, const CFX_PointF& point) override;
+ bool AcceptsFocusOnButtonDown(uint32_t dwFlags,
+ const CFX_PointF& point,
+ FWL_MouseCommand command) override;
+ void OnLButtonDown(uint32_t dwFlags, const CFX_PointF& point) override;
bool OnLButtonUp(uint32_t dwFlags, const CFX_PointF& point) override;
bool OnMouseMove(uint32_t dwFlags, const CFX_PointF& point) override;
FWL_WidgetHit OnHitTest(const CFX_PointF& point) override;