Support some CSS styles for the links in wxHTML too.

Refactor limited CSS styles support for <span> tag to reuse it for <a> tag as
well.

Closes #14599.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-10-07 22:38:56 +00:00
parent bca27719fe
commit 0d7acfb995
5 changed files with 139 additions and 102 deletions

View File

@@ -259,6 +259,8 @@ private:
// the wxHtmlWinParser object
//-----------------------------------------------------------------------------
class WXDLLIMPEXP_HTML wxHtmlStyleParams;
class WXDLLIMPEXP_HTML wxHtmlWinTagHandler : public wxHtmlTagHandler
{
DECLARE_ABSTRACT_CLASS(wxHtmlWinTagHandler)
@@ -271,6 +273,8 @@ public:
protected:
wxHtmlWinParser *m_WParser; // same as m_Parser, but overcasted
void ApplyStyle(const wxHtmlStyleParams &styleParams);
wxDECLARE_NO_COPY_CLASS(wxHtmlWinTagHandler);
};