From 4a9d531345426e99f0682a813081f4cf5822251a Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 30 Apr 2013 20:07:58 +0000 Subject: [PATCH] Documentation tweaks for wxFontInfo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/font.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/wx/font.h b/interface/wx/font.h index fee764d16c..6fe2e6eeb5 100644 --- a/interface/wx/font.h +++ b/interface/wx/font.h @@ -271,7 +271,7 @@ enum wxFontEncoding /** - Description of wxFont. + @class wxFontInfo This class is a helper used for wxFont creation using named parameter idiom: it allows to specify various wxFont attributes using the chained @@ -281,7 +281,7 @@ enum wxFontEncoding For example, to create an italic font with the given face name and size you could use: @code - wxFont font(wxFontInfo(12).FaceName().Italic()); + wxFont font(wxFontInfo(12).FaceName("Helvetica").Italic()); @endcode Notice that all of the methods of this object return a reference to the