Skip to content
Snippets Groups Projects
Commit 4273004e authored by Jeffrey Smith's avatar Jeffrey Smith Committed by Alexandre Julliard
Browse files

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

parent 9668d44f
No related branches found
No related tags found
No related merge requests found
......@@ -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]],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment