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:
parent
bbdaa82dce
commit
c24c06d2bb
1 changed files with 1 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue