X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c21a9bda7aa6b18c0729076ce2910e05dab4b6b7..51623cc53f350935337e57930eaaf1afe9a48c3b:/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(); }