summaryrefslogtreecommitdiff
path: root/xfa/fwl/theme/datetimepickertp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/theme/datetimepickertp.cpp')
-rw-r--r--xfa/fwl/theme/datetimepickertp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fwl/theme/datetimepickertp.cpp b/xfa/fwl/theme/datetimepickertp.cpp
index 99c5ccb448..63fbc13110 100644
--- a/xfa/fwl/theme/datetimepickertp.cpp
+++ b/xfa/fwl/theme/datetimepickertp.cpp
@@ -45,7 +45,7 @@ FX_BOOL CFWL_DateTimePickerTP::DrawBackground(CFWL_ThemeBackground* pParams) {
#ifdef THEME_XPSimilar
void CFWL_DateTimePickerTP::DrawDropDownButton(CFWL_ThemeBackground* pParams,
CFX_Matrix* pMatrix) {
- FX_DWORD dwStates = pParams->m_dwStates;
+ uint32_t dwStates = pParams->m_dwStates;
dwStates &= 0x03;
FWLTHEME_STATE eState = FWLTHEME_STATE_Normal;
switch (eState & dwStates) {
@@ -111,7 +111,7 @@ void CFWL_DateTimePickerTP::DrawDropDownButton(CFWL_ThemeBackground* pParams,
}
#endif
void CFWL_DateTimePickerTP::initThemeData() {
- FX_DWORD* pData = (FX_DWORD*)&m_pThemeData->BoxBkColor;
+ uint32_t* pData = (uint32_t*)&m_pThemeData->BoxBkColor;
*pData++ = 0, *pData++ = 0, *pData++ = ArgbEncode(255, 220, 220, 215),
*pData++ = ArgbEncode(255, 255, 255, 255),
*pData++ = ArgbEncode(255, 255, 240, 207),