[Bug 2624] In dialogs, an incorrect extra WM_ERASEBKGND is sent after WM_PAINT