1 forward ctrl-accel keypresses to application, even when a dlg is open (e.g. useful for custom animation pane)
3 From: Thorsten Behrens <thb@openoffice.org>
8 vcl/source/window/dlgctrl.cxx | 4 +++-
9 1 files changed, 3 insertions(+), 1 deletions(-)
12 diff --git vcl/source/window/dlgctrl.cxx vcl/source/window/dlgctrl.cxx
13 index 1e9a1e2..d03489c 100644
14 --- vcl/source/window/dlgctrl.cxx
15 +++ vcl/source/window/dlgctrl.cxx
16 @@ -790,7 +790,9 @@ BOOL Window::ImplDlgCtrl( const KeyEvent& rKEvt, BOOL bKeyInput )
17 pWindow = pWindow->GetWindow( WINDOW_NEXT );
21 + else if ( !aKeyCode.IsMod1() ) // no ctrl pressed - those are
22 + // application-wide shortcuts
23 + // we want to let pass
25 xub_Unicode c = rKEvt.GetCharCode();