Add GetParser methods for the tag handlers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2013-04-24 02:40:02 +00:00
parent 75a438f9ac
commit 047ea2e26a
4 changed files with 23 additions and 1 deletions

View File

@@ -269,6 +269,7 @@ public:
wxHtmlWinTagHandler() : wxHtmlTagHandler() {}
virtual void SetParser(wxHtmlParser *parser) {wxHtmlTagHandler::SetParser(parser); m_WParser = (wxHtmlWinParser*) parser;}
virtual wxHtmlWinParser* GetParser() const { return (wxHtmlWinParser*)m_Parser; }
protected:
wxHtmlWinParser *m_WParser; // same as m_Parser, but overcasted