comctl32: Redraw themed editboxes on focus change.

This commit is contained in:
Mark Harmstone 2015-02-13 00:33:55 +00:00 committed by Alexandre Julliard
parent 6f9724d581
commit 707361321a
1 changed files with 2 additions and 0 deletions

View File

@ -119,6 +119,8 @@ LRESULT CALLBACK THEMING_EditSubclassProc (HWND hwnd, UINT msg,
break;
case WM_ENABLE:
case WM_KILLFOCUS:
case WM_SETFOCUS:
theme = GetWindowTheme( hwnd );
if (theme) RedrawWindow (hwnd, NULL, NULL,
RDW_FRAME | RDW_INVALIDATE | RDW_UPDATENOW);