diff --git a/samples/keyboard/keyboard.cpp b/samples/keyboard/keyboard.cpp index f218f6bbaf..cdde7c350c 100644 --- a/samples/keyboard/keyboard.cpp +++ b/samples/keyboard/keyboard.cpp @@ -338,7 +338,9 @@ const char* GetVirtualKeyCodeName(int keycode) WXK_(WINDOWS_LEFT) WXK_(WINDOWS_RIGHT) - WXK_(COMMAND) +#ifdef __WXOSX__ + WXK_(RAW_CONTROL) +#endif #undef WXK_ default: