summaryrefslogtreecommitdiff
path: root/xfa/fwl/theme/cfwl_carettp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/theme/cfwl_carettp.cpp')
-rw-r--r--xfa/fwl/theme/cfwl_carettp.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/xfa/fwl/theme/cfwl_carettp.cpp b/xfa/fwl/theme/cfwl_carettp.cpp
index 0ebc519642..39ba20bad7 100644
--- a/xfa/fwl/theme/cfwl_carettp.cpp
+++ b/xfa/fwl/theme/cfwl_carettp.cpp
@@ -24,8 +24,8 @@ FX_BOOL CFWL_CaretTP::DrawBackground(CFWL_ThemeBackground* pParams) {
if (!pParams)
return FALSE;
switch (pParams->m_iPart) {
- case FWL_PART_CAT_Background: {
- if (!(pParams->m_dwStates & FWL_PARTSTATE_CAT_HightLight)) {
+ case CFWL_Part::Background: {
+ if (!(pParams->m_dwStates & CFWL_PartState_HightLight)) {
return TRUE;
}
DrawCaretBK(pParams->m_pGraphics, pParams->m_dwStates,
@@ -33,6 +33,8 @@ FX_BOOL CFWL_CaretTP::DrawBackground(CFWL_ThemeBackground* pParams) {
&(pParams->m_matrix));
break;
}
+ default:
+ break;
}
return TRUE;
}