Implement strike-through support in wxFont in wxOSX.
Implement support for this attribute in wxOSX too. Closes #16547. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -114,7 +114,7 @@ enum wxFontFlag
|
||||
/// Underlined style (not underlined by default).
|
||||
wxFONTFLAG_UNDERLINED = 1 << 6,
|
||||
|
||||
/// Strike-through style (only supported in wxMSW and wxGTK currently).
|
||||
/// Strike-through style (implemented in MSW, GTK, and OSX)
|
||||
wxFONTFLAG_STRIKETHROUGH = 1 << 7,
|
||||
|
||||
/// the mask of all currently used flags
|
||||
@@ -384,7 +384,7 @@ public:
|
||||
/**
|
||||
Use a strike-through version of the font.
|
||||
|
||||
Currently this is only implemented in wxMSW and wxGTK.
|
||||
Currently this is only implemented in wxMSW, wxGTK and OSX.
|
||||
*/
|
||||
wxFontInfo& Strikethrough(bool strikethrough = true);
|
||||
|
||||
@@ -810,7 +810,7 @@ public:
|
||||
/**
|
||||
Returns stricken-through version of this font.
|
||||
|
||||
Currently stricken-through fonts are only supported in wxMSW and wxGTK.
|
||||
Currently stricken-through fonts are only supported in wxMSW, wxGTK and OSX.
|
||||
|
||||
@see MakeStrikethrough()
|
||||
|
||||
@@ -872,7 +872,7 @@ public:
|
||||
/**
|
||||
Changes this font to be stricken-through.
|
||||
|
||||
Currently stricken-through fonts are only supported in wxMSW and wxGTK.
|
||||
Currently stricken-through fonts are only supported in wxMSW, wxGTK and OSX.
|
||||
|
||||
@see Strikethrough()
|
||||
|
||||
@@ -1076,7 +1076,7 @@ public:
|
||||
/**
|
||||
Sets strike-through attribute of the font.
|
||||
|
||||
Currently stricken-through fonts are only supported in wxMSW and wxGTK.
|
||||
Currently stricken-through fonts are only supported in wxMSW, wxGTK and OSX.
|
||||
|
||||
@param strikethrough
|
||||
@true to add strike-through style, @false to remove it.
|
||||
|
Reference in New Issue
Block a user