wxHtmlWinParser is not parsing

Alejandro ahmostovoi at gmail.com
Mon May 12 08:01:18 PDT 2008


Hi,
    I'm trying to parse a pice of html code with wxHtmlWinParser but It 
always give me a null cell, I mean, wxHtmlCell.

This is the code:

    wxHtmlWinParser *pparser = new wxHtmlWinParser(psimplehtmlistbox);
    wxDC *pmemorydc = new wxClientDC(psimplehtmlistbox);
    pparser->SetDC(pmemorydc);
    wxHtmlCell *phtmlcell = 
dynamic_cast<wxHtmlCell*>(pparser->Parse(myhtmlstring));

Could someone tell me what's wrong??


Regards.
Alejandro.


More information about the wx-users mailing list