X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c74e7fe1de14f32dcd6f3c9cdd727de540bbd0e..6e264973e636cc41915d166cb7eddf2a7e72cf9b:/include/wx/mac/font.h diff --git a/include/wx/mac/font.h b/include/wx/mac/font.h index 6b41fc9c61..e65149037e 100644 --- a/include/wx/mac/font.h +++ b/include/wx/mac/font.h @@ -100,6 +100,15 @@ public: (void)Create(size, family, style, weight, underlined, face, encoding); } + wxFont(const wxNativeFontInfo& info) + { + Init(); + + (void)Create(info); + } + + wxFont(const wxString& fontDesc); + bool Create(int size, int family, int style, @@ -108,6 +117,8 @@ public: const wxString& face = wxEmptyString, wxFontEncoding encoding = wxFONTENCODING_DEFAULT); + bool Create(const wxNativeFontInfo& info); + virtual ~wxFont(); // assignment