X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c7a49742ec6b4effe012dc7204db307e1267bf6a..ab67e8874db324fab5223cc8d5dff8a8de3e2b77:/include/wx/font.h diff --git a/include/wx/font.h b/include/wx/font.h index 27f42bbca8..b14281221e 100644 --- a/include/wx/font.h +++ b/include/wx/font.h @@ -318,6 +318,10 @@ protected: return (flags & wxFONTFLAG_UNDERLINED) != 0; } + static bool GetStrikethroughFromFlags(int flags) + { + return (flags & wxFONTFLAG_STRIKETHROUGH) != 0; + } private: // the currently default encoding: by default, it's the default system