Browse Source

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

tags/2021-05-28
ed 7 years ago
parent
commit
c24c06d2bb
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      modules/juce_gui_basics/native/juce_win32_Windowing.cpp

+ 1
- 2
modules/juce_gui_basics/native/juce_win32_Windowing.cpp 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.


Loading…
Cancel
Save