Minor correction

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2006-10-10 17:02:34 +00:00
parent 1807a1f3cf
commit 23c386ba20

View File

@ -1282,7 +1282,7 @@ void MyFrame::OnInsertSymbol(wxCommandEvent& WXUNUSED(event))
if (!dlg.UseNormalFont())
{
wxFont font(attr.GetFont());
font.SetFaceName(dlg.GetNormalTextFontName());
font.SetFaceName(dlg.GetFontName());
attr.SetFont(font);
ctrl->SetStyle(insertionPoint, insertionPoint+1, attr);
}