diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-12-16 13:30:53 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-12-16 13:30:53 +0000 |
commit | 69b684b12e42bf1396bdffca88ca880ac3c2e00b (patch) | |
tree | 52ad5a6f28df2991ad5635c1ea9d4923229c563e /vcl/source/window | |
parent | 692b9bb291b9c5efb6c2daf77b213bde07326016 (diff) |
CWS-TOOLING: integrate CWS rtlcontrols
2008-12-11 21:08:49 +0100 fs r265367 : CONTEXT_WRITING_MODE is transient
2008-12-11 21:08:00 +0100 fs r265365 : REGISTER_PROP_3
2008-12-11 20:53:44 +0100 fs r265362 : ContextWritingMode is not MAYBEVOID
2008-12-11 15:29:08 +0100 fs r265315 : prevent a deadlock during complex.dbaccess.DatabaseDocument test
2008-12-11 15:01:13 +0100 fs r265304 : manual RESYNC to m37
2008-12-10 20:04:38 +0100 pl r265230 : #i30631# fix a snafu in mirroring
2008-12-10 19:14:45 +0100 pl r265229 : #i30631# rework PaintToDevice for RTL controls
2008-12-05 10:19:13 +0100 fs r264893 : #i10000# ImplInitSettings => ImplInitWindow (ImplInitSettings clashed with base classes ImplInitSettings on unxsols4)
2008-12-03 12:55:24 +0100 fs r264768 : #i100000#
2008-12-03 07:11:48 +0100 fs r264741 : #i10000#
2008-12-02 10:37:51 +0100 fs r264670 : CWS-TOOLING: rebase CWS rtlcontrols to trunk@264325 (milestone: DEV300:m36)
2008-12-02 09:27:50 +0100 fs r264660 : merge from trunk
2008-11-25 10:28:36 +0100 ama r264277 : Fix #i94572#
2008-11-24 11:46:48 +0100 fs r264218 : #i30631# proper context writing mode
2008-11-24 09:38:04 +0100 fs r264204 : #i30631# (approved by PL)
2008-11-24 09:35:47 +0100 fs r264203 : #i30631# Context/WritingMode
2008-11-24 09:33:36 +0100 fs r264202 : #i30631# Context/WritingMode
2008-11-24 09:31:53 +0100 fs r264200 : #i30631# RTL
2008-11-19 08:51:48 +0100 fs r263963 : #i10000#
2008-11-18 20:58:11 +0100 fs r263878 : #i10000#
2008-11-18 15:30:44 +0100 fs r263778 : migrate the CWS from CVS to SVN
the CVS changes contained in this change set are the ones between the
following two CVS tags:
CWS_DEV300_RTLCONTROLS_ANCHOR
CWS_DEV300_RTLCONTROLS_PRE_MIGRATION
2008-11-18 12:29:04 +0100 ama r263762 : Fix #i94572#: Context direction for drawing objects
2008-11-18 12:25:50 +0100 ama r263761 : Fix #i94572#: Context direction for drawing objects
2008-11-18 12:02:30 +0100 ama r263759 : Fix #i94572#: Context direction for drawing objects
Diffstat (limited to 'vcl/source/window')
-rw-r--r-- | vcl/source/window/dndevdis.cxx | 10 | ||||
-rw-r--r-- | vcl/source/window/window.cxx | 122 | ||||
-rw-r--r-- | vcl/source/window/window2.cxx | 16 | ||||
-rw-r--r-- | vcl/source/window/winproc.cxx | 10 |
4 files changed, 69 insertions, 89 deletions
diff --git a/vcl/source/window/dndevdis.cxx b/vcl/source/window/dndevdis.cxx index 168c20fc5188..3b317ab18cae 100644 --- a/vcl/source/window/dndevdis.cxx +++ b/vcl/source/window/dndevdis.cxx @@ -89,7 +89,7 @@ void SAL_CALL DNDEventDispatcher::drop( const DropTargetDropEvent& dtde ) while( pChildWindow->ImplGetClientWindow() ) pChildWindow = pChildWindow->ImplGetClientWindow(); - if( pChildWindow->ImplHasMirroredGraphics() && !pChildWindow->IsRTLEnabled() ) + if( pChildWindow->ImplIsAntiparallel() ) pChildWindow->ImplReMirror( location ); aSolarGuard.clear(); @@ -145,7 +145,7 @@ void SAL_CALL DNDEventDispatcher::dragEnter( const DropTargetDragEnterEvent& dtd while( pChildWindow->ImplGetClientWindow() ) pChildWindow = pChildWindow->ImplGetClientWindow(); - if( pChildWindow->ImplHasMirroredGraphics() && !pChildWindow->IsRTLEnabled() ) + if( pChildWindow->ImplIsAntiparallel() ) pChildWindow->ImplReMirror( location ); aSolarGuard.clear(); @@ -208,7 +208,7 @@ void SAL_CALL DNDEventDispatcher::dragOver( const DropTargetDragEvent& dtde ) while( pChildWindow->ImplGetClientWindow() ) pChildWindow = pChildWindow->ImplGetClientWindow(); - if( pChildWindow->ImplHasMirroredGraphics() && !pChildWindow->IsRTLEnabled() ) + if( pChildWindow->ImplIsAntiparallel() ) pChildWindow->ImplReMirror( location ); aSolarGuard.clear(); @@ -266,7 +266,7 @@ void SAL_CALL DNDEventDispatcher::dropActionChanged( const DropTargetDragEvent& while( pChildWindow->ImplGetClientWindow() ) pChildWindow = pChildWindow->ImplGetClientWindow(); - if( pChildWindow->ImplHasMirroredGraphics() && !pChildWindow->IsRTLEnabled() ) + if( pChildWindow->ImplIsAntiparallel() ) pChildWindow->ImplReMirror( location ); aSolarGuard.clear(); @@ -323,7 +323,7 @@ void SAL_CALL DNDEventDispatcher::dragGestureRecognized( const DragGestureEvent& while( pChildWindow->ImplGetClientWindow() ) pChildWindow = pChildWindow->ImplGetClientWindow(); - if( pChildWindow->ImplHasMirroredGraphics() && !pChildWindow->IsRTLEnabled() ) + if( pChildWindow->ImplIsAntiparallel() ) pChildWindow->ImplReMirror( origin ); aSolarGuard.clear(); diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index a493fd427baa..cb8e5655c0c6 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -709,7 +709,7 @@ void Window::ImplInitWindowData( WindowType nType ) mpWindowImpl->mbDisableAccessibleLabelForRelation = FALSE; // TRUE: do not set LabelFor relation on accessible objects mpWindowImpl->mbDisableAccessibleLabeledByRelation = FALSE; // TRUE: do not set LabeledBy relation on accessible objects - mbEnableRTL = TRUE; // TRUE: this outdev will be mirrored if RTL window layout (UI mirroring) is globally active + mbEnableRTL = Application::GetSettings().GetLayoutRTL(); // TRUE: this outdev will be mirrored if RTL window layout (UI mirroring) is globally active } // ----------------------------------------------------------------------- @@ -774,6 +774,9 @@ void Window::ImplInit( Window* pParent, WinBits nStyle, SystemParentData* pSyste mpWindowImpl->mpOverlapData->mnTopLevel = 1; } + if( pParent && ! mpWindowImpl->mbFrame ) + mbEnableRTL = pParent->mbEnableRTL; + // test for frame creation if ( mpWindowImpl->mbFrame ) { @@ -1388,7 +1391,7 @@ Window* Window::ImplFindWindow( const Point& rFramePos ) USHORT Window::ImplHitTest( const Point& rFramePos ) { Point aFramePos( rFramePos ); - if( ImplHasMirroredGraphics() && !IsRTLEnabled() ) + if( ImplIsAntiparallel() ) { // - RTL - re-mirror frame pos at this window ImplReMirror( aFramePos ); @@ -2401,7 +2404,7 @@ void Window::ImplCallPaint( const Region* pRegion, USHORT nPaintFlags ) Rectangle aPaintRect = aPaintRegion.GetBoundRect(); // - RTL - re-mirror paint rect and region at this window - if( ImplHasMirroredGraphics() && !IsRTLEnabled() ) + if( ImplIsAntiparallel() ) { ImplReMirror( aPaintRect ); ImplReMirror( aPaintRegion ); @@ -2675,7 +2678,7 @@ void Window::ImplInvalidate( const Region* pRegion, USHORT nFlags ) if ( pRegion ) { // --- RTL --- remirror region before intersecting it - if ( ImplHasMirroredGraphics() && !IsRTLEnabled() ) + if ( ImplIsAntiparallel() ) { Region aRgn( *pRegion ); ImplReMirror( aRgn ); @@ -2896,7 +2899,7 @@ void Window::ImplScroll( const Rectangle& rRect, bScrollChilds = FALSE; // --- RTL --- check if this window requires special action - BOOL bReMirror = ( ImplHasMirroredGraphics() && !IsRTLEnabled() ); + BOOL bReMirror = ( ImplIsAntiparallel() ); Rectangle aRectMirror( rRect ); if( bReMirror ) @@ -3268,12 +3271,21 @@ void Window::ImplPosSizeWindow( long nX, long nY, // #106948# always mirror our pos if our parent is not mirroring, even // if we are also not mirroring // --- RTL --- check if parent is in different coordinates - if( !bnXRecycled && mpWindowImpl->mpParent && !mpWindowImpl->mpParent->mpWindowImpl->mbFrame && mpWindowImpl->mpParent->ImplHasMirroredGraphics() && !mpWindowImpl->mpParent->IsRTLEnabled() ) + if( !bnXRecycled && mpWindowImpl->mpParent && !mpWindowImpl->mpParent->mpWindowImpl->mbFrame && mpWindowImpl->mpParent->ImplIsAntiparallel() ) + { + // --- RTL --- (re-mirror at parent window) + nX = mpWindowImpl->mpParent->mnOutWidth - mnOutWidth - nX; + } + } + else if( !bnXRecycled && mpWindowImpl->mpParent && !mpWindowImpl->mpParent->mpWindowImpl->mbFrame && mpWindowImpl->mpParent->ImplIsAntiparallel() ) + { + // mirrored window in LTR UI { // --- RTL --- (re-mirror at parent window) nX = mpWindowImpl->mpParent->mnOutWidth - mnOutWidth - nX; } } + // check maPos as well, as it could have been changed for client windows (ImplCallMove()) if ( mpWindowImpl->mnAbsScreenX != aPtDev.X() || nX != mpWindowImpl->mnX || nOrgX != mpWindowImpl->maPos.X() ) { @@ -6132,7 +6144,7 @@ Region Window::GetWindowClipRegionPixel( USHORT nFlags ) const Region* pWinChildClipRegion = ((Window*)this)->ImplGetWinChildClipRegion(); aWinClipRegion = *pWinChildClipRegion; // --- RTL --- remirror clip region before passing it to somebody - if( ((Window*)this)->ImplHasMirroredGraphics() && !IsRTLEnabled() ) + if( ImplIsAntiparallel() ) ImplReMirror( aWinClipRegion ); } @@ -6180,7 +6192,7 @@ void Window::ExpandPaintClipRegion( const Region& rRegion ) Region aWinChildRegion = *ImplGetWinChildClipRegion(); // --- RTL -- only this region is in frame coordinates, so re-mirror it - if( ImplHasMirroredGraphics() && !IsRTLEnabled() ) + if( ImplIsAntiparallel() ) ImplReMirror( aWinChildRegion ); aDevPixRegion.Intersect( aWinChildRegion ); if( ! aDevPixRegion.IsEmpty() ) @@ -7202,7 +7214,7 @@ void Window::SetPosSizePixel( long nX, long nY, Window* pParent = pWindow->GetParent(); nX += pParent->mnOutOffX; } - if( GetParent() && GetParent()->ImplHasMirroredGraphics() && !GetParent()->IsRTLEnabled() ) + if( GetParent() && GetParent()->ImplIsAntiparallel() ) { // --- RTL --- (re-mirror at parent window) Rectangle aRect( Point ( nX, nY ), Size( nWidth, nHeight ) ); @@ -7324,7 +7336,7 @@ long Window::ImplGetUnmirroredOutOffX() long offx = mnOutOffX; if( ImplHasMirroredGraphics() ) { - if( mpWindowImpl->mpParent && !mpWindowImpl->mpParent->mpWindowImpl->mbFrame && mpWindowImpl->mpParent->ImplHasMirroredGraphics() && !mpWindowImpl->mpParent->IsRTLEnabled() ) + if( mpWindowImpl->mpParent && !mpWindowImpl->mpParent->mpWindowImpl->mbFrame && mpWindowImpl->mpParent->ImplIsAntiparallel() ) { if ( !ImplIsOverlapWindow() ) offx -= mpWindowImpl->mpParent->mnOutOffX; @@ -7857,6 +7869,10 @@ void Window::SetPointerPosPixel( const Point& rPos ) // mirroring is required here, SetPointerPos bypasses SalGraphics mpGraphics->mirror( aPos.X(), this ); } + else if( ImplIsAntiparallel() ) + { + ImplReMirror( aPos ); + } mpWindowImpl->mpFrame->SetPointerPos( aPos.X(), aPos.Y() ); } @@ -7867,7 +7883,7 @@ Point Window::GetPointerPosPixel() DBG_CHKTHIS( Window, ImplDbgCheckWindow ); Point aPos( mpWindowImpl->mpFrameData->mnLastMouseX, mpWindowImpl->mpFrameData->mnLastMouseY ); - if( ImplHasMirroredGraphics() && !IsRTLEnabled() ) + if( ImplIsAntiparallel() ) { // --- RTL --- (re-mirror mouse pos at this window) ImplReMirror( aPos ); @@ -7882,13 +7898,11 @@ Point Window::GetLastPointerPosPixel() DBG_CHKTHIS( Window, ImplDbgCheckWindow ); Point aPos( mpWindowImpl->mpFrameData->mnBeforeLastMouseX, mpWindowImpl->mpFrameData->mnBeforeLastMouseY ); -#ifndef REMOTE_APPSERVER - if( ImplHasMirroredGraphics() && !IsRTLEnabled() ) + if( ImplIsAntiparallel() ) { // --- RTL --- (re-mirror mouse pos at this window) ImplReMirror( aPos ); } -#endif return ImplFrameToOutput( aPos ); } @@ -7920,7 +7934,7 @@ Window::PointerState Window::GetPointerState() SalFrame::SalPointerState aSalPointerState; aSalPointerState = mpWindowImpl->mpFrame->GetPointerState(); - if( ImplHasMirroredGraphics() && !IsRTLEnabled() ) + if( ImplIsAntiparallel() ) { // --- RTL --- (re-mirror mouse pos at this window) ImplReMirror( aSalPointerState.maPos ); @@ -9688,7 +9702,7 @@ Reference< ::com::sun::star::rendering::XSpriteCanvas > Window::GetFullscreenSpr return xSpriteCanvas; } -void Window::ImplPaintToMetaFile( GDIMetaFile* pMtf, OutputDevice* pTargetOutDev, const Region* pOuterClip ) +void Window::ImplPaintToDevice( OutputDevice* i_pTargetOutDev, const Point& i_rPos ) { BOOL bRVisible = mpWindowImpl->mbReallyVisible; mpWindowImpl->mbReallyVisible = mpWindowImpl->mbVisible; @@ -9697,8 +9711,8 @@ void Window::ImplPaintToMetaFile( GDIMetaFile* pMtf, OutputDevice* pTargetOutDev long nOldDPIX = ImplGetDPIX(); long nOldDPIY = ImplGetDPIY(); - mnDPIX = pTargetOutDev->ImplGetDPIX(); - mnDPIY = pTargetOutDev->ImplGetDPIY(); + mnDPIX = i_pTargetOutDev->ImplGetDPIX(); + mnDPIY = i_pTargetOutDev->ImplGetDPIY(); BOOL bOutput = IsOutputEnabled(); EnableOutput(); @@ -9710,8 +9724,8 @@ void Window::ImplPaintToMetaFile( GDIMetaFile* pMtf, OutputDevice* pTargetOutDev SetClipRegion(); GDIMetaFile* pOldMtf = GetConnectMetaFile(); - pMtf->WindEnd(); - SetConnectMetaFile( pMtf ); + GDIMetaFile aMtf; + SetConnectMetaFile( &aMtf ); // put a push action to metafile Push(); @@ -9750,8 +9764,6 @@ void Window::ImplPaintToMetaFile( GDIMetaFile* pMtf, OutputDevice* pTargetOutDev SetDigitLanguage( GetDigitLanguage() ); Rectangle aPaintRect( Point( 0, 0 ), GetOutputSizePixel() ); aClipRegion.Intersect( aPaintRect ); - if( pOuterClip ) - aClipRegion.Intersect( *pOuterClip ); SetClipRegion( aClipRegion ); // do the actual paint @@ -9768,37 +9780,30 @@ void Window::ImplPaintToMetaFile( GDIMetaFile* pMtf, OutputDevice* pTargetOutDev EnableOutput( bOutput ); mpWindowImpl->mbReallyVisible = bRVisible; + // paint metafile to VDev + VirtualDevice* pMaskedDevice = new VirtualDevice( *i_pTargetOutDev, 0, 0 ); + pMaskedDevice->SetOutputSizePixel( GetOutputSizePixel() ); + pMaskedDevice->EnableRTL( IsRTLEnabled() ); + aMtf.WindStart(); + aMtf.Play( pMaskedDevice ); + BitmapEx aBmpEx( pMaskedDevice->GetBitmapEx( Point( 0, 0 ), pMaskedDevice->GetOutputSizePixel() ) ); + i_pTargetOutDev->DrawBitmapEx( i_rPos, aBmpEx ); + // get rid of virtual device now so they don't pile up during recursive calls + delete pMaskedDevice, pMaskedDevice = NULL; + + for( Window* pChild = mpWindowImpl->mpFirstChild; pChild; pChild = pChild->mpWindowImpl->mpNext ) { if( pChild->mpWindowImpl->mpFrame == mpWindowImpl->mpFrame && pChild->IsVisible() ) { - Region aClip( aPaintRect ); - if( pOuterClip ) - aClip.Intersect( *pOuterClip ); - sal_Int32 nDeltaX = GetOutOffXPixel() - pChild->GetOutOffXPixel(); - sal_Int32 nDeltaY = GetOutOffYPixel() - pChild->GetOutOffYPixel(); - pMtf->Move( nDeltaX, nDeltaY ); - aClip.Move( nDeltaX, nDeltaY ); - pChild->ImplPaintToMetaFile( pMtf, pTargetOutDev, &aClip ); - pMtf->Move( -nDeltaX, -nDeltaY ); - } - } - - for( Window* pOverlap = mpWindowImpl->mpFirstOverlap; pOverlap; pOverlap = pOverlap->mpWindowImpl->mpNext ) - { - if( pOverlap->mpWindowImpl->mpFrame == mpWindowImpl->mpFrame && pOverlap->IsVisible() ) - { - Region aClip; - sal_Int32 nDeltaX = GetOutOffXPixel() - pOverlap->GetOutOffXPixel(); - sal_Int32 nDeltaY = GetOutOffYPixel() - pOverlap->GetOutOffYPixel(); - pMtf->Move( nDeltaX, nDeltaY ); - if( pOuterClip ) - { - aClip = *pOuterClip; - aClip.Move( nDeltaX, nDeltaY ); - } - pOverlap->ImplPaintToMetaFile( pMtf, pTargetOutDev, pOuterClip ? &aClip : NULL ); - pMtf->Move( -nDeltaX, -nDeltaY ); + long nDeltaX = pChild->mnOutOffX - mnOutOffX; + if( ImplHasMirroredGraphics() ) + nDeltaX = mnOutWidth - nDeltaX - pChild->mnOutWidth; + long nDeltaY = pChild->GetOutOffYPixel() - GetOutOffYPixel(); + Point aPos( i_rPos ); + Point aDelta( nDeltaX, nDeltaY ); + aPos += aDelta; + pChild->ImplPaintToDevice( i_pTargetOutDev, aPos ); } } @@ -9815,7 +9820,11 @@ void Window::ImplPaintToMetaFile( GDIMetaFile* pMtf, OutputDevice* pTargetOutDev void Window::PaintToDevice( OutputDevice* pDev, const Point& rPos, const Size& /*rSize*/ ) { // FIXME: scaling: currently this is for pixel copying only - GDIMetaFile aMF; + + DBG_ASSERT( ! pDev->ImplHasMirroredGraphics(), "PaintToDevice to mirroring graphics" ); + DBG_ASSERT( ! pDev->IsRTLEnabled(), "PaintToDevice to mirroring device" ); + + Point aPos = pDev->LogicToPixel( rPos ); Window* pRealParent = NULL; @@ -9835,23 +9844,14 @@ void Window::PaintToDevice( OutputDevice* pDev, const Point& rPos, const Size& / mpWindowImpl->mbVisible = TRUE; if( mpWindowImpl->mpBorderWindow ) - mpWindowImpl->mpBorderWindow->ImplPaintToMetaFile( &aMF, pDev ); + mpWindowImpl->mpBorderWindow->ImplPaintToDevice( pDev, rPos ); else - ImplPaintToMetaFile( &aMF, pDev ); + ImplPaintToDevice( pDev, rPos ); mpWindowImpl->mbVisible = bVisible; if( pRealParent ) SetParent( pRealParent ); - - pDev->Push(); - pDev->SetMapMode(); - - aMF.Move( aPos.X(), aPos.Y() ); - aMF.WindStart(); - aMF.Play( pDev ); - - pDev->Pop(); } XubString Window::GetSurroundingText() const diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx index 42389fc12e40..0595a7a9ab8a 100644 --- a/vcl/source/window/window2.cxx +++ b/vcl/source/window/window2.cxx @@ -68,8 +68,6 @@ DBG_NAMEEX( Window ) #define IMPL_MAXSAVEBACKSIZE (640*480) #define IMPL_MAXALLSAVEBACKSIZE (800*600*2) -//#define USE_NEW_RTL_IMPLEMENTATION - // ======================================================================= struct ImplFocusDelData : public ImplDelData @@ -690,15 +688,10 @@ IMPL_LINK( Window, ImplTrackTimerHdl, Timer*, pTimer ) // Tracking-Event erzeugen Point aMousePos( mpWindowImpl->mpFrameData->mnLastMouseX, mpWindowImpl->mpFrameData->mnLastMouseY ); - if( ImplHasMirroredGraphics() && !IsRTLEnabled() ) + if( ImplIsAntiparallel() ) { // - RTL - re-mirror frame pos at pChild -#ifdef USE_NEW_RTL_IMPLEMENTATION - Window *pRefWindow = (Window*) mpDummy4; - pRefWindow->ImplReMirror( aMousePos ); -#else ImplReMirror( aMousePos ); -#endif } MouseEvent aMEvt( ImplFrameToOutput( aMousePos ), mpWindowImpl->mpFrameData->mnClickCount, 0, @@ -768,15 +761,10 @@ void Window::EndTracking( USHORT nFlags ) if ( !(nFlags & ENDTRACK_DONTCALLHDL) ) { Point aMousePos( mpWindowImpl->mpFrameData->mnLastMouseX, mpWindowImpl->mpFrameData->mnLastMouseY ); - if( ImplHasMirroredGraphics() && !IsRTLEnabled() ) + if( ImplIsAntiparallel() ) { // - RTL - re-mirror frame pos at pChild -#ifdef USE_NEW_RTL_IMPLEMENTATION - Window *pRefWindow = (Window*) mpDummy4; - pRefWindow->ImplReMirror( aMousePos ); -#else ImplReMirror( aMousePos ); -#endif } MouseEvent aMEvt( ImplFrameToOutput( aMousePos ), diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx index 56fcdee394d3..a8be05bf4909 100644 --- a/vcl/source/window/winproc.cxx +++ b/vcl/source/window/winproc.cxx @@ -80,9 +80,6 @@ extern void MyOutputDebugString( char *s); #endif -//#define USE_NEW_RTL_IMPLEMENTATION - - // ======================================================================= #define IMPL_MIN_NEEDSYSWIN 49 @@ -458,15 +455,10 @@ long ImplHandleMouseEvent( Window* pWindow, USHORT nSVEvent, BOOL bMouseLeave, // Ein paar Test ausfuehren und Message abfangen oder Status umsetzen if ( pChild ) { - if( pChild->ImplHasMirroredGraphics() && !pChild->IsRTLEnabled() ) + if( pChild->ImplIsAntiparallel() ) { // - RTL - re-mirror frame pos at pChild -#ifdef USE_NEW_RTL_IMPLEMENTATION - Window *pRefWindow = (Window*) pChild->mpDummy4; - pRefWindow->ImplReMirror( aMousePos ); -#else pChild->ImplReMirror( aMousePos ); -#endif } // no mouse messages to system object windows ? // !!!KA: Is it OK to comment this out? !!! |