fix for bold font

git-svn-id: svn://10.0.0.236/trunk@54961 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
varada%netscape.com
1999-12-01 23:09:55 +00:00
parent e680c6133b
commit 82cc1b2bfd
2 changed files with 7 additions and 2 deletions

View File

@@ -694,7 +694,7 @@ void CWizardUI::CreateControls()
rv = ((CComboBox*)curWidget->control)->Create(CBS_DROPDOWNLIST | WS_TABSTOP, tmpRect, this, ID);
}
else if (widgetType == "GroupBox") {
else if ((widgetType == "GroupBox") || (widgetType == "BoldGroup")) {
curWidget->control = new CButton;
rv = ((CButton*)curWidget->control)->Create(curWidget->value, BS_GROUPBOX, tmpRect, this, ID);
}
@@ -716,6 +716,11 @@ void CWizardUI::CreateControls()
{
curWidget->control->SetFont(m_pNavFont);
}
else if (curWidget->type == "BoldGroup")
{
curWidget->control->SetFont(m_pNavFont);
}
else if (curWidget->control && curWidget->control->m_hWnd)
{
curWidget->control->SetFont(m_pFont);