Index: xfa/fxfa/app/xfa_ffpushbutton.cpp |
diff --git a/xfa/fxfa/app/xfa_ffpushbutton.cpp b/xfa/fxfa/app/xfa_ffpushbutton.cpp |
index cd395b4703a9dc78f6ad1c93033832b6160723b6..01e62c71062c8f98539528b4a9e214f85de0fae3 100644 |
--- a/xfa/fxfa/app/xfa_ffpushbutton.cpp |
+++ b/xfa/fxfa/app/xfa_ffpushbutton.cpp |
@@ -52,7 +52,7 @@ void CXFA_FFPushButton::RenderWidget(CFX_Graphics* pGS, |
} |
FX_BOOL CXFA_FFPushButton::LoadWidget() { |
ASSERT(!m_pNormalWidget); |
- CFWL_PushButton* pPushButton = CFWL_PushButton::Create(); |
+ CFWL_PushButton* pPushButton = new CFWL_PushButton; |
if (pPushButton) { |
Lei Zhang
2016/10/18 19:12:14
remove
dsinclair
2016/10/19 14:41:38
Done.
|
pPushButton->Initialize(); |
} |