diff options
author | nyamatongwe <unknown> | 2011-07-12 10:20:30 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-07-12 10:20:30 +1000 |
commit | 95d45ff5bcefa4ceabd04e1c20135976114008b7 (patch) | |
tree | 82a5a8e6945cecf219f5cb617a41979c763ab866 /include/Platform.h | |
parent | 7697b45ca3fb21f277c747475e1c18c0ee3c23b2 (diff) | |
download | scintilla-mirror-95d45ff5bcefa4ceabd04e1c20135976114008b7.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 |