Bug 545892 - Always pass WM_NCPAINT events to the default event procedure. r=bent, a=beta7

This commit is contained in:
Jim Mathies 2010-10-27 08:48:09 -05:00
Родитель e8a2a185ff
Коммит ce89cd5c59
1 изменённых файлов: 1 добавлений и 6 удалений

Просмотреть файл

@ -240,12 +240,6 @@ ProcessOrDeferMessage(HWND hwnd,
deferred = new DeferredRedrawMessage(hwnd, flags);
break;
}
case WM_NCPAINT: {
UINT flags = RDW_INVALIDATE | RDW_FRAME | RDW_NOINTERNALPAINT |
RDW_NOERASE | RDW_NOCHILDREN | RDW_ERASENOW;
deferred = new DeferredRedrawMessage(hwnd, flags);
break;
}
// This message will generate a WM_PAINT message if there are invalid
// areas.
@ -289,6 +283,7 @@ ProcessOrDeferMessage(HWND hwnd,
// Messages that are safe to pass to DefWindowProc go here.
case WM_ENTERIDLE:
case WM_GETICON:
case WM_NCPAINT: // (never trap nc paint events)
case WM_GETMINMAXINFO:
case WM_GETTEXT:
case WM_NCHITTEST: