From c24c06d2bb5e6762cd791f25f7069f300f441a03 Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 1 Feb 2018 09:40:02 +0000 Subject: [PATCH] Windows: Remove an old check that occurred when a WM_NCPAINT message was received and always call handlePaintMessage() instead --- modules/juce_gui_basics/native/juce_win32_Windowing.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/juce_gui_basics/native/juce_win32_Windowing.cpp b/modules/juce_gui_basics/native/juce_win32_Windowing.cpp index 99b340dc6f..ca3a9cde38 100644 --- a/modules/juce_gui_basics/native/juce_win32_Windowing.cpp +++ b/modules/juce_gui_basics/native/juce_win32_Windowing.cpp @@ -3064,8 +3064,7 @@ private: return 0; case WM_NCPAINT: - if (wParam != 1) // (1 = a repaint of the entire NC region) - handlePaintMessage(); // this must be done, even with native titlebars, or there are rendering artifacts. + handlePaintMessage(); // this must be done, even with native titlebars, or there are rendering artifacts. if (hasTitleBar()) break; // let the DefWindowProc handle drawing the frame.