[Bug 3637] New: dialog: no wm_paint message at first draw