Index: xfa/src/fwl/src/lightwidget/pushbutton.cpp |
diff --git a/xfa/src/fwl/src/lightwidget/pushbutton.cpp b/xfa/src/fwl/src/lightwidget/pushbutton.cpp |
index 28a7fa5d333bbdeb096eeb5dca18df3548c0df8c..24050c86662a8ab7913c830d4c9655a51b9f400f 100644 |
--- a/xfa/src/fwl/src/lightwidget/pushbutton.cpp |
+++ b/xfa/src/fwl/src/lightwidget/pushbutton.cpp |
@@ -14,7 +14,7 @@ FWL_ERR CFWL_PushButton::Initialize(const CFWL_WidgetProperties* pProperties) { |
if (pProperties) { |
*m_pProperties = *pProperties; |
} |
- m_pIface = IFWL_PushButton::Create(); |
+ m_pIface = new IFWL_PushButton; |
FWL_ERR ret = |
((IFWL_PushButton*)m_pIface) |
->Initialize(m_pProperties->MakeWidgetImpProperties(&m_buttonData), |