Index: xfa/include/fwl/basewidget/fwl_combobox.h |
diff --git a/xfa/include/fwl/basewidget/fwl_combobox.h b/xfa/include/fwl/basewidget/fwl_combobox.h |
index 184d0107a47f09cb01b72bcaa42af97f638a8d9f..7fa9bddc3d41d8eca384c4e98fff9a76314d8ce1 100644 |
--- a/xfa/include/fwl/basewidget/fwl_combobox.h |
+++ b/xfa/include/fwl/basewidget/fwl_combobox.h |
@@ -97,9 +97,8 @@ class IFWL_ComboBoxDP : public IFWL_ListBoxDP { |
}; |
class IFWL_ComboBox : public IFWL_Widget { |
public: |
- IFWL_ComboBox(); |
- FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties, |
- IFWL_Widget* pOuter); |
+ static IFWL_ComboBox* Create(const CFWL_WidgetImpProperties& properties); |
+ |
int32_t GetCurSel(); |
FWL_ERR SetCurSel(int32_t iSel); |
FWL_ERR SetEditText(const CFX_WideString& wsText); |
@@ -133,5 +132,8 @@ class IFWL_ComboBox : public IFWL_Widget { |
FWL_ERR GetBBox(CFX_RectF& rect); |
FWL_ERR EditModifyStylesEx(FX_DWORD dwStylesExAdded, |
FX_DWORD dwStylesExRemoved); |
+ |
+ protected: |
+ IFWL_ComboBox(); |
}; |
#endif |