From 5d3128fd92300a8eb5c1b51a44142c3d7a2e7c47 Mon Sep 17 00:00:00 2001 From: Stephan Schäfer Date: Tue, 16 Apr 2002 06:58:29 +0000 Subject: #96972# changed GetPosPixel for frames --- vcl/source/window/floatwin.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'vcl/source/window/floatwin.cxx') diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx index 9978ae699911..5539e7c8c3c2 100644 --- a/vcl/source/window/floatwin.cxx +++ b/vcl/source/window/floatwin.cxx @@ -2,9 +2,9 @@ * * $RCSfile: floatwin.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: ssa $ $Date: 2002-03-27 15:31:08 $ + * last change: $Author: ssa $ $Date: 2002-04-16 07:58:29 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -413,7 +413,8 @@ FloatingWindow* FloatingWindow::ImplFloatHitTest( Window* pReference, const Poin do { - Rectangle devRect( OutputToAbsoluteScreenPixel( ScreenToOutputPixel(pWin->GetPosPixel()) ), pWin->GetSizePixel() ) ; + //Rectangle devRect( OutputToAbsoluteScreenPixel( ScreenToOutputPixel(pWin->GetPosPixel()) ), pWin->GetSizePixel() ) ; + Rectangle devRect( pWin->GetWindowExtentsRelative( NULL ) ); if ( devRect.IsInside( aAbsolute ) ) { rHitTest = IMPL_FLOATWIN_HITTEST_WINDOW; -- cgit