Index: xfa/include/fwl/basewidget/fwl_spinbutton.h |
diff --git a/xfa/include/fwl/basewidget/fwl_spinbutton.h b/xfa/include/fwl/basewidget/fwl_spinbutton.h |
index 79e3f68b5be40e8ad2a4d69dec3c3b901fb221e9..efcfa22a49e634aeebc519143d403ec744768ef6 100644 |
--- a/xfa/include/fwl/basewidget/fwl_spinbutton.h |
+++ b/xfa/include/fwl/basewidget/fwl_spinbutton.h |
@@ -30,10 +30,13 @@ END_FWL_EVENT_DEF |
class IFWL_SpinButton : public IFWL_Widget { |
public: |
- IFWL_SpinButton(); |
- FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties, |
- IFWL_Widget* pOuter); |
+ static IFWL_SpinButton* Create(const CFWL_WidgetImpProperties& properties, |
+ IFWL_Widget* pOuter); |
+ |
FWL_ERR EnableButton(FX_BOOL bEnable, FX_BOOL bUp = TRUE); |
FX_BOOL IsButtonEnable(FX_BOOL bUp = TRUE); |
+ |
+ protected: |
+ IFWL_SpinButton(); |
}; |
#endif |