From b4d40ffae3f955fab2fac838430c89aca452c45f Mon Sep 17 00:00:00 2001 From: dsinclair Date: Thu, 5 May 2016 10:28:02 -0700 Subject: Remove CLASSHASH defines in favour of an enum class. This Cl updates all the CLASSHASH defines to use an enum class. A few defines where unabled and were either updated or removed if the number no longer exists in the code base. Review-Url: https://codereview.chromium.org/1946213003 --- xfa/fwl/theme/cfwl_listboxtp.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'xfa/fwl/theme/cfwl_listboxtp.h') diff --git a/xfa/fwl/theme/cfwl_listboxtp.h b/xfa/fwl/theme/cfwl_listboxtp.h index 9ae85c72e7..a13df08845 100644 --- a/xfa/fwl/theme/cfwl_listboxtp.h +++ b/xfa/fwl/theme/cfwl_listboxtp.h @@ -12,11 +12,13 @@ class CFWL_ListBoxTP : public CFWL_WidgetTP { public: CFWL_ListBoxTP(); - virtual ~CFWL_ListBoxTP(); - virtual FX_BOOL IsValidWidget(IFWL_Widget* pWidget); - virtual FX_BOOL DrawBackground(CFWL_ThemeBackground* pParams); - virtual FWL_Error Initialize(); - virtual FWL_Error Finalize(); + ~CFWL_ListBoxTP() override; + + // CFWL_WidgetTP + bool IsValidWidget(IFWL_Widget* pWidget) override; + FX_BOOL DrawBackground(CFWL_ThemeBackground* pParams) override; + FWL_Error Initialize() override; + FWL_Error Finalize() override; protected: void DrawListBoxItem(CFX_Graphics* pGraphics, -- cgit v1.2.3