msi: Set the text color after calling the window proc.

This commit is contained in:
James Hawkins 2007-12-16 20:32:39 -06:00 committed by Alexandre Julliard
parent b1cc87cb65
commit b1ce93f944
1 changed files with 2 additions and 3 deletions

View File

@ -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 )
{