diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-07-11 13:01:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-07-11 13:25:15 +0100 |
commit | 545d5157f26b7fd3c5648ae6e727b1e1addca68f (patch) | |
tree | 247694e633cdc735d058cbf79f20cfe5b4839eac /include | |
parent | 89a5464a21046821648ec77f03db8316ceb4e6f8 (diff) |
Resolves: tdf#95729 move 'alt' accel enable/disable down to systemwindow
from dialog and send the 'alt' to the active floating window, if there
is one, before trying the menubar.
so popups like the calc autofilter one can display their accelerators
when alt is pressed
Change-Id: I52e45b72885b1b0a7362cecc30e41d218a48a58d
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/dialog.hxx | 1 | ||||
-rw-r--r-- | include/vcl/syswin.hxx | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/dialog.hxx b/include/vcl/dialog.hxx index ecf086d8e508..466b3e36d8d8 100644 --- a/include/vcl/dialog.hxx +++ b/include/vcl/dialog.hxx @@ -105,7 +105,6 @@ public: private: bool ImplStartExecuteModal(); static void ImplEndExecuteModal(); - bool ImplHandleCmdEvent ( const CommandEvent& rCEvent ); public: // Dialog::Execute replacement API diff --git a/include/vcl/syswin.hxx b/include/vcl/syswin.hxx index 3ea4dcb6589e..eb2e82a79649 100644 --- a/include/vcl/syswin.hxx +++ b/include/vcl/syswin.hxx @@ -179,6 +179,7 @@ public: private: SAL_DLLPRIVATE void ImplMoveToScreen( long& io_rX, long& io_rY, long i_nWidth, long i_nHeight, vcl::Window* i_pConfigureWin ); virtual void setPosSizeOnContainee(Size aSize, Window &rBox); + bool ImplHandleCmdEvent ( const CommandEvent& rCEvent ); DECL_DLLPRIVATE_LINK_TYPED( ImplHandleLayoutTimerHdl, Idle*, void ); protected: |