diff options
Diffstat (limited to 'include/vcl/commandevent.hxx')
-rw-r--r-- | include/vcl/commandevent.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/vcl/commandevent.hxx b/include/vcl/commandevent.hxx index 371fd54716d9..adaa8ad953bb 100644 --- a/include/vcl/commandevent.hxx +++ b/include/vcl/commandevent.hxx @@ -187,11 +187,13 @@ public: class VCL_DLLPUBLIC CommandModKeyData { private: + bool mbDown; sal_uInt16 mnCode; public: - CommandModKeyData( sal_uInt16 nCode ); + CommandModKeyData( sal_uInt16 nCode, bool bDown ); + bool IsDown() const { return mbDown; } bool IsMod1() const { return (mnCode & MODKEY_MOD1) != 0; } bool IsMod2() const { return (mnCode & MODKEY_MOD2) != 0; } bool IsLeftShift() const { return (mnCode & MODKEY_LSHIFT) != 0; } |