From 380f20a6000bd640d7fd8f1567961f1f05d79f5a Mon Sep 17 00:00:00 2001 From: dsinclair Date: Wed, 13 Apr 2016 12:04:43 -0700 Subject: Remove some FWL code. Remove unused or ifdef'd code from FWL. Review URL: https://codereview.chromium.org/1874963002 --- xfa/fwl/theme/cfwl_monthcalendartp.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'xfa/fwl/theme/cfwl_monthcalendartp.cpp') diff --git a/xfa/fwl/theme/cfwl_monthcalendartp.cpp b/xfa/fwl/theme/cfwl_monthcalendartp.cpp index 2d53080b37..154a6bdcea 100644 --- a/xfa/fwl/theme/cfwl_monthcalendartp.cpp +++ b/xfa/fwl/theme/cfwl_monthcalendartp.cpp @@ -101,23 +101,15 @@ FX_BOOL CFWL_MonthCalendarTP::DrawBackground(CFWL_ThemeBackground* pParams) { break; } case FWL_PART_MCD_LBtn: { -#ifdef THEME_XPSimilar FWLTHEME_STATE eState = GetState(pParams->m_dwStates); DrawArrowBtn(pParams->m_pGraphics, &pParams->m_rtPart, FWLTHEME_DIRECTION_Left, eState, &pParams->m_matrix); -#else - DrawLButton(pParams, &pParams->m_matrix); -#endif break; } case FWL_PART_MCD_RBtn: { -#ifdef THEME_XPSimilar FWLTHEME_STATE eState = GetState(pParams->m_dwStates); DrawArrowBtn(pParams->m_pGraphics, &pParams->m_rtPart, FWLTHEME_DIRECTION_Right, eState, &pParams->m_matrix); -#else - DrawRButton(pParams, &pParams->m_matrix); -#endif break; } case FWL_PART_MCD_HSeparator: { -- cgit v1.2.3