When painting overlapped controls, paint the bottom one first.
Then work our way frontward and paint the top one last.
This commit is contained in:
parent
4b60da5d1d
commit
efc6b840a0
1 changed files with 3 additions and 3 deletions
|
@ -2438,13 +2438,13 @@ void Window::ImplCallPaint( const Region* pRegion, sal_uInt16 nPaintFlags )
|
|||
|
||||
if ( nPaintFlags & (IMPL_PAINT_PAINTALLCHILDS | IMPL_PAINT_PAINTCHILDS) )
|
||||
{
|
||||
// die Childfenster ausgeben
|
||||
Window* pTempWindow = mpWindowImpl->mpFirstChild;
|
||||
// Paint from the bottom child window and frontward.
|
||||
Window* pTempWindow = mpWindowImpl->mpLastChild;
|
||||
while ( pTempWindow )
|
||||
{
|
||||
if ( pTempWindow->mpWindowImpl->mbVisible )
|
||||
pTempWindow->ImplCallPaint( pChildRegion, nPaintFlags );
|
||||
pTempWindow = pTempWindow->mpWindowImpl->mpNext;
|
||||
pTempWindow = pTempWindow->mpWindowImpl->mpPrev;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue