X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e0977894a66f5b3227d2864becaeae86a5e93c8..05112735c29d896a101918aacd2224b54f6dd653:/include/wx/kbdstate.h?ds=sidebyside diff --git a/include/wx/kbdstate.h b/include/wx/kbdstate.h index b3a44e88c0..d2055a0c09 100644 --- a/include/wx/kbdstate.h +++ b/include/wx/kbdstate.h @@ -20,11 +20,14 @@ class WXDLLIMPEXP_CORE wxKeyboardState { public: - wxKeyboardState() - : m_controlDown(false), - m_shiftDown(false), - m_altDown(false), - m_metaDown(false) + wxKeyboardState(bool controlDown = false, + bool shiftDown = false, + bool altDown = false, + bool metaDown = false) + : m_controlDown(controlDown), + m_shiftDown(shiftDown), + m_altDown(altDown), + m_metaDown(metaDown) { }