summaryrefslogtreecommitdiff
path: root/xfa/fwl/theme/cfwl_comboboxtp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/theme/cfwl_comboboxtp.cpp')
-rw-r--r--xfa/fwl/theme/cfwl_comboboxtp.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/xfa/fwl/theme/cfwl_comboboxtp.cpp b/xfa/fwl/theme/cfwl_comboboxtp.cpp
index 76953423e6..8c35e56713 100644
--- a/xfa/fwl/theme/cfwl_comboboxtp.cpp
+++ b/xfa/fwl/theme/cfwl_comboboxtp.cpp
@@ -23,7 +23,8 @@ void CFWL_ComboBoxTP::DrawBackground(CFWL_ThemeBackground* pParams) {
switch (pParams->m_iPart) {
case CFWL_Part::Border: {
- DrawBorder(pParams->m_pGraphics, &pParams->m_rtPart, &pParams->m_matrix);
+ DrawBorder(pParams->m_pGraphics.Get(), &pParams->m_rtPart,
+ &pParams->m_matrix);
break;
}
case CFWL_Part::Background: {
@@ -95,6 +96,6 @@ void CFWL_ComboBoxTP::DrawDropDownButton(CFWL_ThemeBackground* pParams,
default:
break;
}
- DrawArrowBtn(pParams->m_pGraphics, &pParams->m_rtPart,
+ DrawArrowBtn(pParams->m_pGraphics.Get(), &pParams->m_rtPart,
FWLTHEME_DIRECTION_Down, eState, &pParams->m_matrix);
}