From 743d19bf25915e33d88996373752d62321d5aaa6 Mon Sep 17 00:00:00 2001 From: narzoul Date: Sat, 14 Dec 2019 15:54:50 +0100 Subject: [PATCH] Fixed popup menu scrolling --- DDrawCompat/Gdi/PaintHandlers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/DDrawCompat/Gdi/PaintHandlers.cpp b/DDrawCompat/Gdi/PaintHandlers.cpp index 4de90c6..6c814e5 100644 --- a/DDrawCompat/Gdi/PaintHandlers.cpp +++ b/DDrawCompat/Gdi/PaintHandlers.cpp @@ -269,6 +269,7 @@ namespace case WM_PAINT: { D3dDdi::ScopedCriticalSection lock; + RedrawWindow(hwnd, nullptr, nullptr, RDW_INVALIDATE | RDW_ERASE | RDW_FRAME); return onPaint(hwnd, origWndProc); }