X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f5413b878c19eafae19edb48455d0d79b37b0ffc..d929eddf3a3dbb04f37624d255f4e24e07595ca1:/include/wx/html/winpars.h?ds=sidebyside diff --git a/include/wx/html/winpars.h b/include/wx/html/winpars.h index bdb16749cf..562a9dd37d 100644 --- a/include/wx/html/winpars.h +++ b/include/wx/html/winpars.h @@ -259,6 +259,8 @@ private: // the wxHtmlWinParser object //----------------------------------------------------------------------------- +class WXDLLIMPEXP_FWD_HTML wxHtmlStyleParams; + class WXDLLIMPEXP_HTML wxHtmlWinTagHandler : public wxHtmlTagHandler { DECLARE_ABSTRACT_CLASS(wxHtmlWinTagHandler) @@ -267,10 +269,13 @@ 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 + void ApplyStyle(const wxHtmlStyleParams &styleParams); + wxDECLARE_NO_COPY_CLASS(wxHtmlWinTagHandler); };