public:
wxHtmlWinParser(wxHtmlWindowInterface *wndIface = NULL);
- ~wxHtmlWinParser();
+ virtual ~wxHtmlWinParser();
virtual void InitParser(const wxString& source);
virtual void DoneParser();
virtual wxFont* CreateCurrentFont();
protected:
- virtual void AddText(const wxChar* txt);
+ virtual void AddText(const wxString& txt);
private:
void DoAddText(wxChar *temp, int& templen, wxChar nbsp);
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