X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/59b7da02ff62a33862accc13158870f2a9a23630..fd5cfba71157c481b5bc90563d0d990ec67ecb11:/include/wx/dfb/font.h?ds=sidebyside diff --git a/include/wx/dfb/font.h b/include/wx/dfb/font.h index ad0e586e1e..3ccdebb422 100644 --- a/include/wx/dfb/font.h +++ b/include/wx/dfb/font.h @@ -60,6 +60,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,