summaryrefslogtreecommitdiff
path: root/vcl/source/window/window2.cxx
diff options
context:
space:
mode:
authorStephan Schäfer <ssa@openoffice.org>2002-12-03 13:36:25 +0000
committerStephan Schäfer <ssa@openoffice.org>2002-12-03 13:36:25 +0000
commit9b9d4312b639864f1bfe53ee8aed212138ee58f9 (patch)
tree384d208107c4d294cae8dfb442643c43a5eec345 /vcl/source/window/window2.cxx
parent51fd5855a3ad093f57f8b98c8b78ba95d2985150 (diff)
#105827# remirror tracking coords if required
Diffstat (limited to 'vcl/source/window/window2.cxx')
-rw-r--r--vcl/source/window/window2.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index 388beeb26ce1..99baa3e9ae03 100644
--- a/vcl/source/window/window2.cxx
+++ b/vcl/source/window/window2.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: window2.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: pl $ $Date: 2002-10-16 16:50:04 $
+ * last change: $Author: ssa $ $Date: 2002-12-03 14:36:25 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -865,6 +865,10 @@ void Window::EndTracking( USHORT nFlags )
if ( !(nFlags & ENDTRACK_DONTCALLHDL) )
{
Point aMousePos( mpFrameData->mnLastMouseX, mpFrameData->mnLastMouseY );
+ if( ImplHasMirroredGraphics() && !IsRTLEnabled() )
+ // - RTL - re-mirror frame pos at pChild
+ ImplReMirror( aMousePos );
+
MouseEvent aMEvt( ImplFrameToOutput( aMousePos ),
mpFrameData->mnClickCount, 0,
mpFrameData->mnMouseCode, mpFrameData->mnMouseCode );