From 23c386ba20f310b1e9916bde1a5f0668ea8fb6e1 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 10 Oct 2006 17:02:34 +0000 Subject: [PATCH] Minor correction git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/richtext/richtext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/richtext/richtext.cpp b/samples/richtext/richtext.cpp index bb254ecdb9..5b9d31f672 100644 --- a/samples/richtext/richtext.cpp +++ b/samples/richtext/richtext.cpp @@ -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); }