Index: xfa/fwl/core/fwl_noteimp.h |
diff --git a/xfa/fwl/core/fwl_noteimp.h b/xfa/fwl/core/fwl_noteimp.h |
index 8607a334f11a5190e44dd989bc5c80e811993541..723d2e5742e0a96d34f259db8742bc3b5e9ad52c 100644 |
--- a/xfa/fwl/core/fwl_noteimp.h |
+++ b/xfa/fwl/core/fwl_noteimp.h |
@@ -13,13 +13,15 @@ |
#include "xfa/fwl/core/ifwl_widget.h" |
#include "xfa/fxgraphics/include/cfx_graphics.h" |
-#define FWL_KEYFLAG_Ctrl (1 << 0) |
-#define FWL_KEYFLAG_Alt (1 << 1) |
-#define FWL_KEYFLAG_Shift (1 << 2) |
-#define FWL_KEYFLAG_Command (1 << 3) |
-#define FWL_KEYFLAG_LButton (1 << 4) |
-#define FWL_KEYFLAG_RButton (1 << 5) |
-#define FWL_KEYFLAG_MButton (1 << 6) |
+enum FWL_KeyFlag { |
+ FWL_KEYFLAG_Ctrl = 1 << 0, |
+ FWL_KEYFLAG_Alt = 1 << 1, |
+ FWL_KEYFLAG_Shift = 1 << 2, |
+ FWL_KEYFLAG_Command = 1 << 3, |
+ FWL_KEYFLAG_LButton = 1 << 4, |
+ FWL_KEYFLAG_RButton = 1 << 5, |
+ FWL_KEYFLAG_MButton = 1 << 6 |
+}; |
class CFWL_CoreToolTipDP; |
class CFWL_MsgActivate; |