X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b9e09383acad70d338f233bbcc7327463757c23..235a997f9aea9d80774e296d314682e99e0c46f1:/include/wx/kbdstate.h diff --git a/include/wx/kbdstate.h b/include/wx/kbdstate.h index 93412c975f..25b660c0df 100644 --- a/include/wx/kbdstate.h +++ b/include/wx/kbdstate.h @@ -28,6 +28,9 @@ public: m_shiftDown(shiftDown), m_altDown(altDown), m_metaDown(metaDown) +#ifdef __WXOSX__ + ,m_rawControlDown(false) +#endif { } @@ -45,7 +48,9 @@ public: return (m_controlDown ? wxMOD_CONTROL : 0) | (m_shiftDown ? wxMOD_SHIFT : 0) | (m_metaDown ? wxMOD_META : 0) | +#ifdef __WXOSX__ (m_rawControlDown ? wxMOD_RAW_CONTROL : 0) | +#endif (m_altDown ? wxMOD_ALT : 0); }