X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e0977894a66f5b3227d2864becaeae86a5e93c8..cbeda384e51acb82e13994cb67ac1714669cae10:/include/wx/kbdstate.h 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) { }