summaryrefslogtreecommitdiff
path: root/FL/Enumerations.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-13 10:48:14 +0000
committerManolo Gouy <Manolo>2016-04-13 10:48:14 +0000
commit562d29bd7cd57d657cdfa6ea9ed23c8948224c1f (patch)
tree579509dc3ae02fac98e2bfc348d977572d4f8ff7 /FL/Enumerations.H
parentd92a0c396119f9d2566c633ee490ed93effd0ae1 (diff)
Remove platform-dependent code from Enumerations.H
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11596 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Enumerations.H')
-rw-r--r--FL/Enumerations.H13
1 files changed, 1 insertions, 12 deletions
diff --git a/FL/Enumerations.H b/FL/Enumerations.H
index 2983dfc69..9203b514c 100644
--- a/FL/Enumerations.H
+++ b/FL/Enumerations.H
@@ -48,6 +48,7 @@
# include "Fl_Export.H"
# include "fl_types.h"
+# include <FL/platform_types.h> // for FL_COMMAND and FL_CONTROL
/** \name Version Numbers
@@ -574,18 +575,6 @@ enum Fl_When { // Fl_Widget::when():
#define FL_KEY_MASK 0x0000ffff ///< All keys are 16 bit for now
// FIXME: Unicode needs 24 bits!
-#ifdef __APPLE__ // look and feel
-# define FL_COMMAND FL_META ///< An alias for FL_CTRL on WIN32 and X11, or FL_META on MacOS X
-# define FL_CONTROL FL_CTRL ///< An alias for FL_META on WIN32 and X11, or FL_CTRL on MacOS X
-#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: you need to define aliases for FL_COMMAND and FL_CONTROL"
-# define FL_COMMAND FL_CTRL
-# define FL_CONTROL FL_META
-#else
-# define FL_COMMAND FL_CTRL ///< An alias for FL_CTRL on WIN32 and X11, or FL_META on MacOS X
-# define FL_CONTROL FL_META ///< An alias for FL_META on WIN32 and X11, or FL_CTRL on MacOS X
-#endif // __APPLE__ look and feel
-
/*@}*/ // group: Event States
/** \name Box Types