summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_listbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/core/cfwl_listbox.cpp')
-rw-r--r--xfa/fwl/core/cfwl_listbox.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/xfa/fwl/core/cfwl_listbox.cpp b/xfa/fwl/core/cfwl_listbox.cpp
index f8a5e199c2..5820a27926 100644
--- a/xfa/fwl/core/cfwl_listbox.cpp
+++ b/xfa/fwl/core/cfwl_listbox.cpp
@@ -14,18 +14,15 @@ CFWL_ListBox::CFWL_ListBox(const IFWL_App* app) : CFWL_Widget(app) {}
CFWL_ListBox::~CFWL_ListBox() {}
-void CFWL_ListBox::Initialize(const CFWL_WidgetProperties* pProperties) {
+void CFWL_ListBox::Initialize() {
ASSERT(!m_pIface);
- if (pProperties)
- *m_pProperties = *pProperties;
-
std::unique_ptr<IFWL_ListBox> pListBox(new IFWL_ListBox(
m_pApp, m_pProperties->MakeWidgetImpProperties(&m_ListBoxDP), nullptr));
pListBox->Initialize();
m_pIface = std::move(pListBox);
- CFWL_Widget::Initialize(pProperties);
+ CFWL_Widget::Initialize();
}
IFWL_ListBox* CFWL_ListBox::GetWidget() {