Index: xfa/fwl/core/fwl_widgetimp.h |
diff --git a/xfa/fwl/core/fwl_widgetimp.h b/xfa/fwl/core/fwl_widgetimp.h |
index 8a887126e35417727fb92bedea351a002ec6b772..3a6e95dfb5580d1f65e0be33d644367e175c2c8d 100644 |
--- a/xfa/fwl/core/fwl_widgetimp.h |
+++ b/xfa/fwl/core/fwl_widgetimp.h |
@@ -19,6 +19,7 @@ class CFWL_AppImp; |
class CFWL_MsgKey; |
class CFWL_WidgetImpProperties; |
class CFWL_WidgetMgr; |
+class CXFA_FFWidget; |
class IFWL_App; |
class IFWL_DataProvider; |
class IFWL_ThemeProvider; |
@@ -80,8 +81,8 @@ class CFWL_WidgetImp { |
CFX_SizeF GetOffsetFromParent(IFWL_Widget* pParent); |
uint32_t GetEventKey() const; |
void SetEventKey(uint32_t key); |
- void* GetLayoutItem() const; |
- void SetLayoutItem(void* pItem); |
+ CXFA_FFWidget* GetLayoutItem() const; |
+ void SetLayoutItem(CXFA_FFWidget* pItem); |
protected: |
friend class CFWL_WidgetImpDelegate; |
@@ -164,7 +165,7 @@ class CFWL_WidgetImp { |
IFWL_WidgetDelegate* m_pCurDelegate; |
IFWL_Widget* m_pOuter; |
IFWL_Widget* m_pInterface; |
- void* m_pLayoutItem; |
+ CXFA_FFWidget* m_pLayoutItem; |
int32_t m_iLock; |
uint32_t m_nEventKey; |
}; |