summaryrefslogtreecommitdiff
path: root/xfa/include/fwl/lightwidget/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/include/fwl/lightwidget/widget.h')
-rw-r--r--xfa/include/fwl/lightwidget/widget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/include/fwl/lightwidget/widget.h b/xfa/include/fwl/lightwidget/widget.h
index 222ce1c768..d581c7fb40 100644
--- a/xfa/include/fwl/lightwidget/widget.h
+++ b/xfa/include/fwl/lightwidget/widget.h
@@ -83,7 +83,7 @@ public:
virtual ~CFWL_Widget();
void RegisterEventTarget(CFWL_Widget *pEventSource = NULL, FX_DWORD dwFilter = FWL_EVENT_ALL_MASK);
void DispatchEvent(CFWL_Event *pEvent);
- CFX_SizeF CalcTextSize(const CFX_WideString &wsText, FX_BOOL bMultiLine = FALSE, FX_INT32 iLineWidth = -1);
+ CFX_SizeF CalcTextSize(const CFX_WideString &wsText, FX_BOOL bMultiLine = FALSE, int32_t iLineWidth = -1);
IFWL_Widget *m_pImp;
IFWL_WidgetDelegate *m_pDelegate;
CFWL_WidgetMgr *m_pWidgetMgr;
@@ -94,7 +94,7 @@ class CFWL_WidgetDelegate
public:
CFWL_WidgetDelegate();
virtual ~CFWL_WidgetDelegate();
- virtual FX_INT32 OnProcessMessage(CFWL_Message *pMessage);
+ virtual int32_t OnProcessMessage(CFWL_Message *pMessage);
virtual FWL_ERR OnProcessEvent(CFWL_Event *pEvent);
virtual FWL_ERR OnDrawWidget(CFX_Graphics *pGraphics, const CFX_Matrix *pMatrix = NULL);
};