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.