X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/59b7da02ff62a33862accc13158870f2a9a23630..77c8efc8c37da6d6a5e2e8022d21d1cd7d76371d:/include/wx/x11/font.h diff --git a/include/wx/x11/font.h b/include/wx/x11/font.h index b2c8718392..a7cabdeb9f 100644 --- a/include/wx/x11/font.h +++ b/include/wx/x11/font.h @@ -57,6 +57,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,