From 95d45ff5bcefa4ceabd04e1c20135976114008b7 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 12 Jul 2011 10:20:30 +1000 Subject: Report control key as SCMOD_META with GTK+ on OS X. Mostly from Mitchell Foral. --- include/Platform.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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 -- cgit v1.2.3