From f305b882868a03295f1b3108976d14354fa1553c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 29 Jul 2016 15:44:06 +0100 Subject: unhook the alt handling thing from SystemWindow so it could be used from things that aren't dialogs Change-Id: I649c5a05ad9c0634be9cef2bbe16a4643e58fc12 --- include/vcl/accel.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/vcl/accel.hxx b/include/vcl/accel.hxx index 7db25e4ce4ea..295e2db8cec4 100644 --- a/include/vcl/accel.hxx +++ b/include/vcl/accel.hxx @@ -28,6 +28,7 @@ class ImplAccelData; class ImplAccelEntry; +class CommandEvent; class VCL_DLLPUBLIC Accelerator : public Resource { @@ -79,6 +80,8 @@ public: void SetSelectHdl( const Link& rLink ) { maSelectHdl = rLink; } Accelerator& operator=( const Accelerator& rAccel ); + + static bool ToggleMnemonicsOnHierarchy(const CommandEvent& rCEvent, vcl::Window *pWindow); }; #endif // INCLUDED_VCL_ACCEL_HXX -- cgit