1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Windows: Remove an old check that occurred when a WM_NCPAINT message was received and always call handlePaintMessage() instead

This commit is contained in:
ed 2018-02-01 09:40:02 +00:00
parent bbdaa82dce
commit c24c06d2bb

View file

@ -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.