Index: xfa/include/fwl/basewidget/fwl_tooltipctrl.h |
diff --git a/xfa/include/fwl/basewidget/fwl_tooltipctrl.h b/xfa/include/fwl/basewidget/fwl_tooltipctrl.h |
index ac467556d8b2c22777c75ae1b467a2204e684816..7205c37cd7f484cc80c57d797433da47a7a3be0c 100644 |
--- a/xfa/include/fwl/basewidget/fwl_tooltipctrl.h |
+++ b/xfa/include/fwl/basewidget/fwl_tooltipctrl.h |
@@ -31,11 +31,14 @@ class IFWL_ToolTipDP : public IFWL_DataProvider { |
}; |
class IFWL_ToolTip : public IFWL_Form { |
public: |
- IFWL_ToolTip(); |
- FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties, |
- IFWL_Widget* pOuter); |
+ static IFWL_ToolTip* Create(const CFWL_WidgetImpProperties& properties, |
+ IFWL_Widget* pOuter); |
+ |
FWL_ERR SetAnchor(const CFX_RectF& rtAnchor); |
FWL_ERR Show(); |
FWL_ERR Hide(); |
+ |
+ protected: |
+ IFWL_ToolTip(); |
}; |
#endif |