From 20cc4e199e83b2d3a357b096b01a830028317707 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 7 Apr 2009 10:41:30 +0000 Subject: [PATCH] document wxFont(wxString) ctor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/font.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/interface/wx/font.h b/interface/wx/font.h index 2aa73fd21a..97e44fe539 100644 --- a/interface/wx/font.h +++ b/interface/wx/font.h @@ -357,6 +357,15 @@ public: const wxString& faceName = wxEmptyString, wxFontEncoding encoding = wxFONTENCODING_DEFAULT); + /** + Constructor from font description string. + + This constructor uses SetNativeFontInfo() to initialize the font. If @a + fontdesc is invalid font remains uninitialized, i.e. its IsOk() method + will return @false. + */ + wxFont(const wxString& fontdesc); + /** Destructor.