]> git.saurik.com Git - wxWidgets.git/commitdiff
Minor correction
authorJulian Smart <julian@anthemion.co.uk>
Tue, 10 Oct 2006 17:02:34 +0000 (17:02 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 10 Oct 2006 17:02:34 +0000 (17:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/richtext/richtext.cpp

index bb254ecdb93098fd973b59257af942ca57adf29a..5b9d31f6726b932086dc92967388a4cf4eb54fb4 100644 (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);
             }