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.