X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c21a9bda7aa6b18c0729076ce2910e05dab4b6b7..ab67e8874db324fab5223cc8d5dff8a8de3e2b77:/include/wx/private/markupparserattr.h diff --git a/include/wx/private/markupparserattr.h b/include/wx/private/markupparserattr.h index f122d371ff..7a58acd46d 100644 --- a/include/wx/private/markupparserattr.h +++ b/include/wx/private/markupparserattr.h @@ -78,8 +78,8 @@ public: virtual void OnUnderlinedStart() { DoChangeFont(&wxFont::Underlined); } virtual void OnUnderlinedEnd() { DoEndAttr(); } - virtual void OnStrikethroughStart() { } // TODO: No support in wxFont yet. - virtual void OnStrikethroughEnd() { } + virtual void OnStrikethroughStart() { DoChangeFont(&wxFont::Strikethrough); } + virtual void OnStrikethroughEnd() { DoEndAttr(); } virtual void OnBigStart() { DoChangeFont(&wxFont::Larger); } virtual void OnBigEnd() { DoEndAttr(); }