mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[COMDLG32] Set background to transparent for font dialog sample text
Import Wine commit wine-5.19-325-g4273004e65a:
4273004e65
CORE-18588
This commit is contained in:
parent
f89b406de6
commit
c8ef276778
1 changed files with 1 additions and 0 deletions
|
@ -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]],
|
||||
|
|
Loading…
Reference in a new issue