mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 21:23:39 +00:00
comdlg32: fontdlg: Respect the CF_NOSCRIPTSEL flag.
This commit is contained in:
parent
684a121aed
commit
886d804854
|
@ -621,6 +621,8 @@ LRESULT CFn_WMInitDialog(HWND hDlg, WPARAM wParam, LPARAM lParam,
|
|||
ShowWindow(GetDlgItem(hDlg,pshHelp),SW_HIDE);
|
||||
if (!(lpcf->Flags & CF_APPLY))
|
||||
ShowWindow(GetDlgItem(hDlg,psh3),SW_HIDE);
|
||||
if (lpcf->Flags & CF_NOSCRIPTSEL)
|
||||
EnableWindow(GetDlgItem(hDlg,cmb5),FALSE);
|
||||
if (lpcf->Flags & CF_EFFECTS)
|
||||
{
|
||||
for (i=0;i<TEXT_COLORS;i++)
|
||||
|
|
Loading…
Reference in a new issue