aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Platform.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-07-12 10:20:30 +1000
committernyamatongwe <devnull@localhost>2011-07-12 10:20:30 +1000
commitb4ae9227d924a021efcf82d08c498e4bdbbf7c5b (patch)
tree79da2397ba1ed8f65005ed1154bc36fa62838f5b /include/Platform.h
parent2920827d89e857840591af32ce2cbcd05c0aec7f (diff)
downloadscintilla-mirror-b4ae9227d924a021efcf82d08c498e4bdbbf7c5b.tar.gz
Report control key as SCMOD_META with GTK+ on OS X.
Mostly from Mitchell Foral.
Diffstat (limited to 'include/Platform.h')
-rw-r--r--include/Platform.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/Platform.h b/include/Platform.h
index 8180b0a6d..b0f3de0dc 100644
--- a/include/Platform.h
+++ b/include/Platform.h
@@ -16,6 +16,7 @@
#define PLAT_GTK 0
#define PLAT_GTK_WIN32 0
+#define PLAT_GTK_MACOSX 0
#define PLAT_MACOSX 0
#define PLAT_WIN 0
#define PLAT_WX 0
@@ -38,6 +39,11 @@
#define PLAT_GTK_WIN32 1
#endif
+#if defined(__APPLE__)
+#undef PLAT_GTK_MACOSX
+#define PLAT_GTK_MACOSX 1
+#endif
+
#elif defined(__APPLE__)
#undef PLAT_MACOSX