X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93ccaed86983970c4a2aa5af34593781e5b8964f..5a56a532f29c35adfe6eb2c1c81315fa1e7ba921:/include/wx/motif/font.h diff --git a/include/wx/motif/font.h b/include/wx/motif/font.h index 906bc2462a..d6aeb9e1bf 100644 --- a/include/wx/motif/font.h +++ b/include/wx/motif/font.h @@ -37,6 +37,14 @@ public: (void)Create(size, family, style, weight, underlined, face, encoding); } + wxFont(const wxNativeFontInfo& info) + { + Init(); + + (void)Create(info.pointSize, info.family, info.style, info.weight, + info.underlined, info.faceName, info.encoding); + } + bool Create(int size, int family, int style,