diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2004-08-20 11:25:06 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2004-08-20 11:25:06 +0000 |
commit | 53edc913216ea5b34094d05e03255d5996674928 (patch) | |
tree | 0a844c45386b68d9c1d72e1818c32e1813e0e1d9 /basctl/source/dlged | |
parent | 5feaeefdef549ceb9229ab50af90f76413c0fe5e (diff) |
INTEGRATION: CWS aw016 (1.31.76); FILE MERGED
2004/08/02 09:11:52 aw 1.31.76.2: RESYNC: (1.31-1.32); FILE MERGED
2004/07/21 15:02:01 aw 1.31.76.1: #i31562#
When scrolling, someone was rescuing the Wallpaper and forced the window scroll to be done without background refresh. I do not know why, but that causes the repaint
problems. Taking that out.
Diffstat (limited to 'basctl/source/dlged')
-rw-r--r-- | basctl/source/dlged/dlged.cxx | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx index a6f28dee3cea..17aae9244643 100644 --- a/basctl/source/dlged/dlged.cxx +++ b/basctl/source/dlged/dlged.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dlged.cxx,v $ * - * $Revision: 1.32 $ + * $Revision: 1.33 $ * - * last change: $Author: rt $ $Date: 2004-07-12 15:54:40 $ + * last change: $Author: rt $ $Date: 2004-08-20 12:25:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -387,14 +387,19 @@ void DlgEditor::DoScroll( ScrollBar* pActScroll ) pWindow->Update(); - Wallpaper aOldBackground = pWindow->GetBackground(); - pWindow->SetBackground(); + // #i31562# + // When scrolling, someone was rescuing the Wallpaper and forced the window scroll to + // be done without background refresh. I do not know why, but that causes the repaint + // problems. Taking that out. + // Wallpaper aOldBackground = pWindow->GetBackground(); + // pWindow->SetBackground(); + pWindow->Scroll( -nX, -nY, SCROLL_NOCHILDREN ); aMap.SetOrigin( Point( -aScrollPos.Width(), -aScrollPos.Height() ) ); pWindow->SetMapMode( aMap ); pWindow->Update(); - pWindow->SetBackground( aOldBackground ); + // pWindow->SetBackground( aOldBackground ); DlgEdHint aHint( DLGED_HINT_WINDOWSCROLLED ); Broadcast( aHint ); |