James Hawkins : msi: Set the text color after calling the window proc.
Alexandre Julliard
julliard at winehq.org
Mon Dec 17 06:41:58 CST 2007
Module: wine
Branch: master
Commit: b1ce93f9449b3fcc78b9efc4ff4233da5fa2a9e3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b1ce93f9449b3fcc78b9efc4ff4233da5fa2a9e3
Author: James Hawkins <truiken at gmail.com>
Date: Sun Dec 16 20:32:39 2007 -0600
msi: Set the text color after calling the window proc.
---
dlls/msi/dialog.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c
index 97e042e..ccb6acc 100644
--- a/dlls/msi/dialog.c
+++ b/dlls/msi/dialog.c
@@ -714,9 +714,6 @@ MSIText_WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
info = GetPropW(hWnd, szButtonData);
- if ( info->font )
- SetTextColor( (HDC)wParam, info->font->color );
-
if( msg == WM_CTLCOLORSTATIC &&
( info->attributes & msidbControlAttributesTransparent ) )
{
@@ -725,6 +722,8 @@ MSIText_WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
}
r = CallWindowProcW(info->oldproc, hWnd, msg, wParam, lParam);
+ if ( info->font )
+ SetTextColor( (HDC)wParam, info->font->color );
switch( msg )
{
More information about the wine-cvs
mailing list