Index: xfa/fwl/basewidget/fwl_editimp.cpp |
diff --git a/xfa/fwl/basewidget/fwl_editimp.cpp b/xfa/fwl/basewidget/fwl_editimp.cpp |
index 8b4dd39321cd95cbe771494d31d6f5c5e0a2b1e3..bdf6d970028c8c597c29e7bffc1a89c25469268e 100644 |
--- a/xfa/fwl/basewidget/fwl_editimp.cpp |
+++ b/xfa/fwl/basewidget/fwl_editimp.cpp |
@@ -928,7 +928,7 @@ void CFWL_EditImp::DrawTextBk(CFX_Graphics* pGraphics, |
CFWL_ThemeBackground param; |
param.m_pWidget = m_pInterface; |
param.m_iPart = CFWL_Part::Background; |
- param.m_dwData = FWL_PARTDATA_EDT_Background; |
+ param.m_bStaticBackground = false; |
param.m_dwStates = m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_ReadOnly |
? CFWL_PartState_ReadOnly |
: CFWL_PartState_Normal; |
@@ -949,7 +949,8 @@ void CFWL_EditImp::DrawTextBk(CFX_Graphics* pGraphics, |
rtStatic.Set(m_rtClient.right() - rtScorll.height, |
m_rtClient.bottom() - rtScorll.height, rtScorll.height, |
rtScorll.height); |
- param.m_dwData = FWL_PARTDATA_EDT_StaticBackground; |
+ param.m_bStaticBackground = true; |
+ param.m_bMaximize = true; |
param.m_rtPart = rtStatic; |
pTheme->DrawBackground(¶m); |
} |