https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9c5bb096bc21cee00a8b8…
commit 9c5bb096bc21cee00a8b8968214d24d5c5500d88
Author: Joachim Henze <joachim.henze(a)reactos.org>
AuthorDate: Fri Nov 18 12:42:32 2022 +0100
Commit: GitHub <noreply(a)github.com>
CommitDate: Fri Nov 18 12:42:32 2022 +0100
[COMCTL32] Remove a rosdiff TOOLBAR_EraseBackground() (#4887)
This fixes the toolbar in FileZilla 3.8 being drawn wrong (grey)
It regressed by 0.4.15-dev-1603-g 232c45fcd71b12a0d726b47f4a72e9a16f87432a
And todays fix is a partial revert of that guilty rev.
The reverted part is not even necessarily needed for what we had in mind back then,
It was just a first tiny step with the aim to get rid of the comctl32.h changes of
that commit.
But that goal was and even is far out of reach for many other reasons also.
Actually we should have reverted the toolbar.c change back then already,
before committing the "flipfix9".
CORE-18263
---
dll/win32/comctl32/toolbar.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/dll/win32/comctl32/toolbar.c b/dll/win32/comctl32/toolbar.c
index b725f3c5121..e2b6193b663 100644
--- a/dll/win32/comctl32/toolbar.c
+++ b/dll/win32/comctl32/toolbar.c
@@ -6603,10 +6603,6 @@ TOOLBAR_Paint (TOOLBAR_INFO *infoPtr, WPARAM wParam)
TRACE("psrect=(%s)\n", wine_dbgstr_rect(&ps.rcPaint));
-#ifdef __REACTOS__
- TOOLBAR_EraseBackground(infoPtr, (WPARAM)hdc, (LPARAM) 0);
-#endif
-
TOOLBAR_Refresh (infoPtr, hdc, &ps);
if (!wParam) EndPaint (infoPtr->hwndSelf, &ps);