Index: xfa/include/fwl/basewidget/fwl_edit.h |
diff --git a/xfa/include/fwl/basewidget/fwl_edit.h b/xfa/include/fwl/basewidget/fwl_edit.h |
index 207e6ef614d8c9727e24dc8bbce9f800a9482d7a..da7398a2cad7afc5ad952df283491a14be8e54dd 100644 |
--- a/xfa/include/fwl/basewidget/fwl_edit.h |
+++ b/xfa/include/fwl/basewidget/fwl_edit.h |
@@ -112,10 +112,11 @@ class IFWL_EditDP : public IFWL_DataProvider {}; |
typedef struct _FWL_HEDTFIND { void* pData; } * FWL_HEDTFIND; |
class IFWL_Edit : public IFWL_Widget { |
public: |
- IFWL_Edit(); |
+ static IFWL_Edit* Create(const CFWL_WidgetImpProperties& properties, |
+ IFWL_Widget* pOuter); |
+ static IFWL_Edit* CreateComboEdit(const CFWL_WidgetImpProperties& properties, |
+ IFWL_Widget* pOuter); |
- FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties, |
- IFWL_Widget* pOuter); |
FWL_ERR SetText(const CFX_WideString& wsText); |
int32_t GetTextLength() const; |
FWL_ERR GetText(CFX_WideString& wsText, |
@@ -159,5 +160,8 @@ class IFWL_Edit : public IFWL_Widget { |
FX_BOOL GetSuggestWords(CFX_PointF pointf, CFX_ByteStringArray& sSuggest); |
FX_BOOL ReplaceSpellCheckWord(CFX_PointF pointf, |
const CFX_ByteStringC& bsReplace); |
+ |
+ protected: |
+ IFWL_Edit(); |
}; |
#endif |