Fixes to wxFont strike-through support in wxOSX.
Don't create strike-through fonts by default. Also add support for strike-through in wxCarbon. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -121,9 +121,14 @@ public:
|
||||
wxFontStyle style,
|
||||
wxFontWeight weight,
|
||||
bool underlined,
|
||||
bool strikethrough,
|
||||
const wxString& faceName,
|
||||
wxFontEncoding encoding)
|
||||
{ Init(size,family,style,weight,underlined,faceName,encoding); }
|
||||
{
|
||||
Init(size, family, style, weight,
|
||||
underlined, strikethrough,
|
||||
faceName, encoding);
|
||||
}
|
||||
|
||||
~wxNativeFontInfo() { Free(); }
|
||||
|
||||
@@ -144,6 +149,7 @@ public:
|
||||
wxFontStyle style,
|
||||
wxFontWeight weight,
|
||||
bool underlined,
|
||||
bool strikethrough,
|
||||
const wxString& faceName ,
|
||||
wxFontEncoding encoding);
|
||||
|
||||
|
Reference in New Issue
Block a user