Index: xfa/src/fwl/src/lightwidget/checkbox.cpp |
diff --git a/xfa/src/fwl/src/lightwidget/checkbox.cpp b/xfa/src/fwl/src/lightwidget/checkbox.cpp |
index 7ec0c515bd6beb2f12989427dd9b3d749953a764..296a2635ea162361f556d47f4c32471a94079141 100644 |
--- a/xfa/src/fwl/src/lightwidget/checkbox.cpp |
+++ b/xfa/src/fwl/src/lightwidget/checkbox.cpp |
@@ -27,7 +27,7 @@ FWL_ERR CFWL_CheckBox::Initialize(const CFWL_WidgetProperties* pProperties) { |
if (m_pProperties->m_pOwner) { |
prop.m_pOwner = m_pProperties->m_pOwner->GetWidget(); |
} |
- m_pIface = IFWL_CheckBox::Create(); |
+ m_pIface = new IFWL_CheckBox; |
FWL_ERR ret = ((IFWL_CheckBox*)m_pIface)->Initialize(prop, nullptr); |
if (ret == FWL_ERR_Succeeded) { |
CFWL_Widget::Initialize(); |