| Index: xfa/fwl/core/ifwl_checkbox.cpp
|
| diff --git a/xfa/fwl/core/ifwl_checkbox.cpp b/xfa/fwl/core/ifwl_checkbox.cpp
|
| index 0d18e2cec52d2c5f911db4017c11cf40f6a38940..04f367f7721edd15a4bff6e7c8dc13eea2b16d7e 100644
|
| --- a/xfa/fwl/core/ifwl_checkbox.cpp
|
| +++ b/xfa/fwl/core/ifwl_checkbox.cpp
|
| @@ -15,10 +15,10 @@
|
| #include "xfa/fwl/core/cfwl_evtcheckstatechanged.h"
|
| #include "xfa/fwl/core/cfwl_msgkey.h"
|
| #include "xfa/fwl/core/cfwl_msgmouse.h"
|
| +#include "xfa/fwl/core/cfwl_notedriver.h"
|
| #include "xfa/fwl/core/cfwl_themebackground.h"
|
| #include "xfa/fwl/core/cfwl_themetext.h"
|
| #include "xfa/fwl/core/cfwl_widgetmgr.h"
|
| -#include "xfa/fwl/core/fwl_noteimp.h"
|
| #include "xfa/fwl/core/ifwl_app.h"
|
| #include "xfa/fwl/core/ifwl_themeprovider.h"
|
|
|
| @@ -70,8 +70,8 @@ void IFWL_CheckBox::GetWidgetRect(CFX_RectF& rect, bool bAutoSize) {
|
| }
|
| rect.Inflate(kCaptionMargin, kCaptionMargin);
|
|
|
| - IFWL_CheckBoxDP* pData =
|
| - static_cast<IFWL_CheckBoxDP*>(m_pProperties->m_pDataProvider);
|
| + IFWL_CheckBox::DataProvider* pData =
|
| + static_cast<IFWL_CheckBox::DataProvider*>(m_pProperties->m_pDataProvider);
|
| FX_FLOAT fCheckBox = pData->GetBoxSize(this);
|
| rect.width += fCheckBox;
|
| rect.height = std::max(rect.height, fCheckBox);
|
| @@ -172,8 +172,8 @@ void IFWL_CheckBox::Layout() {
|
| FX_FLOAT fBoxTop = m_rtClient.top;
|
| FX_FLOAT fClientBottom = m_rtClient.bottom();
|
|
|
| - IFWL_CheckBoxDP* pData =
|
| - static_cast<IFWL_CheckBoxDP*>(m_pProperties->m_pDataProvider);
|
| + IFWL_CheckBox::DataProvider* pData =
|
| + static_cast<IFWL_CheckBox::DataProvider*>(m_pProperties->m_pDataProvider);
|
| FX_FLOAT fCheckBox = pData->GetBoxSize(this);
|
| switch (m_pProperties->m_dwStyleExes & FWL_STYLEEXT_CKB_VLayoutMask) {
|
| case FWL_STYLEEXT_CKB_Top:
|
|
|