| Index: xfa/src/fwl/src/theme/pushbuttontp.cpp
|
| diff --git a/xfa/src/fwl/src/theme/pushbuttontp.cpp b/xfa/src/fwl/src/theme/pushbuttontp.cpp
|
| index 13c5eef56719ba9af8fa680ebca01f3c2b2db783..8194b249be7c0886990b96ba6a2fe76ab196ac41 100644
|
| --- a/xfa/src/fwl/src/theme/pushbuttontp.cpp
|
| +++ b/xfa/src/fwl/src/theme/pushbuttontp.cpp
|
| @@ -63,7 +63,7 @@ FX_BOOL CFWL_PushButtonTP::DrawBackground(CFWL_ThemeBackground *pParams)
|
| PUSHBUTTON_SIZE_Corner,
|
| PUSHBUTTON_SIZE_Corner);
|
| fillPath.AddRectangle(rtInner.left, rtInner.top, rtInner.width, rtInner.height);
|
| - FX_INT32 iColor = GetColorID(pParams->m_dwStates);
|
| + int32_t iColor = GetColorID(pParams->m_dwStates);
|
| DrawAxialShading(pGraphics,
|
| rect.left + PUSHBUTTON_SIZE_Corner,
|
| rect.top,
|
| @@ -159,7 +159,7 @@ void CFWL_PushButtonTP::SetThemeData(FX_DWORD dwID)
|
| m_pThemeData->clrFill[4] = ArgbEncode(255, 245, 244, 234);
|
| }
|
| }
|
| -FX_INT32 CFWL_PushButtonTP::GetColorID(FX_DWORD dwStates)
|
| +int32_t CFWL_PushButtonTP::GetColorID(FX_DWORD dwStates)
|
| {
|
| return dwStates &= FWL_PARTSTATE_PSB_Mask;
|
| }
|
|
|