X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e0977894a66f5b3227d2864becaeae86a5e93c8..a70ab3b804b6c363f8bcbed0b4fce94b7fb03612:/interface/wx/kbdstate.h diff --git a/interface/wx/kbdstate.h b/interface/wx/kbdstate.h index 9a99a7c217..45310d19c5 100644 --- a/interface/wx/kbdstate.h +++ b/interface/wx/kbdstate.h @@ -26,15 +26,18 @@ class wxKeyboardState { public: /** - Default constructor. + Constructor initializes the modifier key settings. By default, no modifiers are active. */ - wxKeyboardState(); + wxKeyboardState(bool controlDown = false, + bool shiftDown = false, + bool altDown = false, + bool metaDown = false); /** Return the bit mask of all pressed modifier keys. - + The return value is a combination of @c wxMOD_ALT, @c wxMOD_CONTROL, @c wxMOD_SHIFT and @c wxMOD_META bit masks. Additionally, @c wxMOD_NONE is defined as 0, i.e. corresponds to no modifiers (see HasModifiers())