diff options
Diffstat (limited to 'starmath/source/dialog.cxx')
-rw-r--r-- | starmath/source/dialog.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index d75a66267f0f..f1ac1d6eec33 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -1001,7 +1001,7 @@ void SmShowSymbolSet::Paint(vcl::RenderContext& rRenderContext, const tools::Rec rRenderContext.Pop(); } -void SmShowSymbolSet::MouseButtonDown(const MouseEvent& rMEvt) +bool SmShowSymbolSet::MouseButtonDown(const MouseEvent& rMEvt) { GrabFocus(); @@ -1023,6 +1023,8 @@ void SmShowSymbolSet::MouseButtonDown(const MouseEvent& rMEvt) if (rMEvt.GetClicks() > 1) aDblClickHdlLink.Call(*this); } + + return true; } bool SmShowSymbolSet::KeyInput(const KeyEvent& rKEvt) @@ -1159,10 +1161,11 @@ void SmShowSymbol::Paint(vcl::RenderContext& rRenderContext, const tools::Rectan (rRenderContext.GetOutputSize().Height() * 7 / 10)), rText); } -void SmShowSymbol::MouseButtonDown(const MouseEvent& rMEvt) +bool SmShowSymbol::MouseButtonDown(const MouseEvent& rMEvt) { if (rMEvt.GetClicks() > 1) aDblClickHdlLink.Call(*this); + return true; } void SmShowSymbol::SetSymbol(const SmSym *pSymbol) |