diff options
Diffstat (limited to 'xfa/fwl/core/cfwl_widget.h')
-rw-r--r-- | xfa/fwl/core/cfwl_widget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fwl/core/cfwl_widget.h b/xfa/fwl/core/cfwl_widget.h index 5461f480fd..7f486585ab 100644 --- a/xfa/fwl/core/cfwl_widget.h +++ b/xfa/fwl/core/cfwl_widget.h @@ -23,8 +23,8 @@ class CFWL_Widget { explicit CFWL_Widget(const IFWL_App*); virtual ~CFWL_Widget(); - IFWL_Widget* GetWidget(); - const IFWL_Widget* GetWidget() const; + IFWL_Widget* GetWidget() { return m_pIface.get(); } + IFWL_Widget* GetWidget() const { return m_pIface.get(); } void GetWidgetRect(CFX_RectF& rect, bool bAutoSize = false); void SetWidgetRect(const CFX_RectF& rect); |