From f87058d19a3448face48202c7040ee4d95ba39c1 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Thu, 21 Apr 2016 06:22:11 -0700 Subject: Convert some FWL defines to enums. This CL converts FWL_WGTCAPACITY_* defines to the CFWL_WidgetCapacity enum class. The FWL_PART_* defines to the FWL_Part enum class and the FWL_PartState_* defines to an enum. Review URL: https://codereview.chromium.org/1898713003 --- xfa/fwl/core/fwl_formimp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xfa/fwl/core/fwl_formimp.h') diff --git a/xfa/fwl/core/fwl_formimp.h b/xfa/fwl/core/fwl_formimp.h index 66e96b33b8..dccdf7f2af 100644 --- a/xfa/fwl/core/fwl_formimp.h +++ b/xfa/fwl/core/fwl_formimp.h @@ -48,7 +48,7 @@ class CFWL_SysBtn { : m_dwState &= ~FWL_SYSBUTTONSTATE_Disabled; } int32_t GetPartState() { - return (IsDisabled() ? FWL_PARTSTATE_FRM_Disabled : (m_dwState + 1)); + return (IsDisabled() ? CFWL_PartState_Disabled : (m_dwState + 1)); } CFX_RectF m_rtBtn; -- cgit v1.2.3