Index: xfa/fwl/core/fwl_widgetimp.h |
diff --git a/xfa/fwl/core/fwl_widgetimp.h b/xfa/fwl/core/fwl_widgetimp.h |
index 3eddfa51c24b1a916ca4d12d96523bc7fd035915..9d7fd1c59b7854f243e55aa6dcc412c33cf90f17 100644 |
--- a/xfa/fwl/core/fwl_widgetimp.h |
+++ b/xfa/fwl/core/fwl_widgetimp.h |
@@ -23,6 +23,7 @@ class IFWL_App; |
class IFWL_DataProvider; |
class IFWL_ThemeProvider; |
class IFWL_Widget; |
+enum class FWL_Type; |
class CFWL_WidgetImp { |
public: |
@@ -31,7 +32,7 @@ class CFWL_WidgetImp { |
virtual FWL_ERR Initialize(); |
virtual FWL_ERR Finalize(); |
virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const; |
- virtual uint32_t GetClassID() const; |
+ virtual FWL_Type GetClassID() const = 0; |
virtual FX_BOOL IsInstance(const CFX_WideStringC& wsClass) const; |
virtual FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE); |