X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aead8a4eabecca466070be6a1ff0e911602d75d9..d429e1874391e29f35e42f209e0a57f113790d58:/src/generic/htmllbox.cpp?ds=inline diff --git a/src/generic/htmllbox.cpp b/src/generic/htmllbox.cpp index 42b511279f..3b78664fd0 100644 --- a/src/generic/htmllbox.cpp +++ b/src/generic/htmllbox.cpp @@ -331,7 +331,7 @@ void wxHtmlListBox::OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const if ( IsSelected(n) ) { wxHtmlSelection htmlSel; - htmlSel.Set(wxPoint(0, 0), cell, wxPoint(INT_MAX, INT_MAX), cell); + htmlSel.Set(wxPoint(), cell, wxPoint(INT_MAX, INT_MAX), cell); htmlRendInfo.SetSelection(&htmlSel); if ( m_htmlRendStyle ) htmlRendInfo.SetStyle(m_htmlRendStyle);