X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/59b7da02ff62a33862accc13158870f2a9a23630..51623cc53f350935337e57930eaaf1afe9a48c3b:/include/wx/motif/font.h diff --git a/include/wx/motif/font.h b/include/wx/motif/font.h index e00eb848d3..935581f2e4 100644 --- a/include/wx/motif/font.h +++ b/include/wx/motif/font.h @@ -66,6 +66,19 @@ public: SetPixelSize(pixelSize); } + wxFont(int pointSize, + wxFontFamily family, + int flags = wxFONTFLAG_DEFAULT, + const wxString& face = wxEmptyString, + wxFontEncoding encoding = wxFONTENCODING_DEFAULT) + { + Create(pointSize, family, + GetStyleFromFlags(flags), + GetWeightFromFlags(flags), + GetUnderlinedFromFlags(flags), + face, encoding); + } + bool Create(int size, wxFontFamily family, wxFontStyle style,