class wxHtmlListBoxStyle : public wxDefaultHtmlRenderingStyle
{
public:
- wxHtmlListBoxStyle(wxHtmlListBox& hlbox) : m_hlbox(hlbox) { }
+ wxHtmlListBoxStyle(const wxHtmlListBox& hlbox) : m_hlbox(hlbox) { }
virtual wxColour GetSelectedTextColour(const wxColour& colFg)
{
if ( IsSelected(n) )
{
wxHtmlSelection htmlSel;
- htmlSel.Set(wxPoint(), cell, wxPoint(INT_MAX, INT_MAX), cell);
+ htmlSel.Set(wxPoint(0,0), cell, wxPoint(INT_MAX, INT_MAX), cell);
htmlRendInfo.SetSelection(&htmlSel);
if ( m_htmlRendStyle )
htmlRendInfo.SetStyle(m_htmlRendStyle);