Commit 4273004e authored by Jeff Smith's avatar Jeff Smith Committed by Alexandre Julliard

comdlg32: Set background to transparent for font dialog sample text.

parent 9668d44f
......@@ -1186,6 +1186,7 @@ static LRESULT CFn_WMPaint(HWND hDlg, WPARAM wParam, LPARAM lParam, const CHOOSE
/* Draw the sample text itself */
hOrigFont = SelectObject( hdc, CreateFontIndirectW( &lf ) );
SetTextColor( hdc, lpcf->rgbColors );
SetBkMode( hdc, TRANSPARENT );
DrawTextW( hdc,
sample_lang_text[CHARSET_ORDER[lpcf->lpLogFont->lfCharSet]],
......
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