Mark Harmstone : comctl32: Redraw themed editboxes on focus change.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Feb 16 10:01:20 CST 2015


Module: wine
Branch: master
Commit: 707361321a9202cc5ca773e22ad5370583025da5
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=707361321a9202cc5ca773e22ad5370583025da5

Author: Mark Harmstone <hellas at burntcomma.com>
Date:   Fri Feb 13 00:33:55 2015 +0000

comctl32: Redraw themed editboxes on focus change.

---

 dlls/comctl32/theme_edit.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/comctl32/theme_edit.c b/dlls/comctl32/theme_edit.c
index c6fd34c..ff4e56c 100644
--- a/dlls/comctl32/theme_edit.c
+++ b/dlls/comctl32/theme_edit.c
@@ -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);




More information about the wine-cvs mailing list