diff options
author | nyamatongwe <devnull@localhost> | 2011-07-12 10:20:30 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-07-12 10:20:30 +1000 |
commit | b4ae9227d924a021efcf82d08c498e4bdbbf7c5b (patch) | |
tree | 79da2397ba1ed8f65005ed1154bc36fa62838f5b /include/Platform.h | |
parent | 2920827d89e857840591af32ce2cbcd05c0aec7f (diff) | |
download | scintilla-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.h | 6 |
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 |