Commit 70736132 authored by Mark Harmstone's avatar Mark Harmstone Committed by Alexandre Julliard

comctl32: Redraw themed editboxes on focus change.

parent 6f9724d5
...@@ -119,6 +119,8 @@ LRESULT CALLBACK THEMING_EditSubclassProc (HWND hwnd, UINT msg, ...@@ -119,6 +119,8 @@ LRESULT CALLBACK THEMING_EditSubclassProc (HWND hwnd, UINT msg,
break; break;
case WM_ENABLE: case WM_ENABLE:
case WM_KILLFOCUS:
case WM_SETFOCUS:
theme = GetWindowTheme( hwnd ); theme = GetWindowTheme( hwnd );
if (theme) RedrawWindow (hwnd, NULL, NULL, if (theme) RedrawWindow (hwnd, NULL, NULL,
RDW_FRAME | RDW_INVALIDATE | RDW_UPDATENOW); RDW_FRAME | RDW_INVALIDATE | RDW_UPDATENOW);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment