X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b960795ea82b702f302e99e547416cb573865413..36a0190ebd5bd9a7302f60f6dcd608b80574e21c:/interface/wx/font.h?ds=sidebyside diff --git a/interface/wx/font.h b/interface/wx/font.h index fee764d16c..d0a0b368a9 100644 --- a/interface/wx/font.h +++ b/interface/wx/font.h @@ -2,7 +2,6 @@ // Name: font.h // Purpose: interface of wxFont // Author: wxWidgets team -// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -271,7 +270,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 +280,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