/////////////////////////////////////////////////////////////////////////////
-// Name: font.h
+// Name: wx/osx/font.h
// Purpose: wxFont class
// Author: Julian Smart
// Modified by:
wxOSX_SYSTEM_FONT_MINI,
wxOSX_SYSTEM_FONT_MINI_BOLD,
wxOSX_SYSTEM_FONT_LABELS,
- wxOSX_SYSTEM_FONT_VIEWS,
+ wxOSX_SYSTEM_FONT_VIEWS
};
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,