Index: xfa/fwl/core/cfwl_widget.h |
diff --git a/xfa/fwl/core/cfwl_widget.h b/xfa/fwl/core/cfwl_widget.h |
index 5461f480fd2858158f72425b742bf963172190b0..6ba5af7489e5fd404a1b7a7b1eefa716bb2c0f1d 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(); } |
+ const IFWL_Widget* GetWidget() const { return m_pIface.get(); } |
Tom Sepez
2016/11/15 22:29:29
I don't think we need both, since its a pointer an
dsinclair
2016/11/16 15:10:47
Done.
|
void GetWidgetRect(CFX_RectF& rect, bool bAutoSize = false); |
void SetWidgetRect(const CFX_RectF& rect); |