diff --git a/src/gui/guiWrapper.h b/src/gui/guiWrapper.h index e57e52fe..19b125d1 100644 --- a/src/gui/guiWrapper.h +++ b/src/gui/guiWrapper.h @@ -7,6 +7,10 @@ #include #endif +#if BOOST_OS_MACOS +#include +#endif + struct WindowHandleInfo { #if BOOST_OS_WINDOWS @@ -36,6 +40,10 @@ enum struct PlatformKeyCodes : uint32 LCONTROL = GDK_KEY_Control_L, RCONTROL = GDK_KEY_Control_R, TAB = GDK_KEY_Tab, +#elif BOOST_OS_MACOS + LCONTROL = kVK_Control, + RCONTROL = kVK_RightControl, + TAB = kVK_Tab, #else LCONTROL = 0, RCONTROL = 0,