X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bc55e31bdc7fbf6f1006f298ed8310e7972984e9..e3e8e3c0aa864da4c7e5bfbee200d9f0732cf4c5:/include/wx/html/winpars.h diff --git a/include/wx/html/winpars.h b/include/wx/html/winpars.h index 965738d542..c5d6f337dd 100644 --- a/include/wx/html/winpars.h +++ b/include/wx/html/winpars.h @@ -41,7 +41,7 @@ class WXDLLIMPEXP_HTML wxHtmlWinParser : public wxHtmlParser public: wxHtmlWinParser(wxHtmlWindowInterface *wndIface = NULL); - ~wxHtmlWinParser(); + virtual ~wxHtmlWinParser(); virtual void InitParser(const wxString& source); virtual void DoneParser(); @@ -64,9 +64,10 @@ public: // for this DC. If you want actual values, call // GetDC()->GetChar...() - // returns associated wxWindow + // returns interface to the rendering window wxHtmlWindowInterface *GetWindowInterface() {return m_windowInterface;} #if WXWIN_COMPATIBILITY_2_6 + // deprecated, use GetWindowInterface()->GetHTMLWindow() instead wxDEPRECATED( wxHtmlWindow *GetWindow() ); #endif @@ -229,7 +230,7 @@ class WXDLLIMPEXP_HTML wxHtmlWinTagHandler : public wxHtmlTagHandler public: wxHtmlWinTagHandler() : wxHtmlTagHandler() {} - virtual void SetParser(wxHtmlParser *parser) {wxHtmlTagHandler::SetParser(parser); m_WParser = (wxHtmlWinParser*) parser;}; + virtual void SetParser(wxHtmlParser *parser) {wxHtmlTagHandler::SetParser(parser); m_WParser = (wxHtmlWinParser*) parser;} protected: wxHtmlWinParser *m_WParser; // same as m_Parser, but overcasted