From 901b583c7117e84cecf01d741d61bc1ac1625ba7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 3 Jun 2003 23:13:41 +0000 Subject: [PATCH] compilation fixed after recent wxHTML changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/htmllbox.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/generic/htmllbox.cpp b/src/generic/htmllbox.cpp index d3b96e0353..812e663dd7 100644 --- a/src/generic/htmllbox.cpp +++ b/src/generic/htmllbox.cpp @@ -224,21 +224,21 @@ void wxHtmlListBox::OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const wxHtmlCell *cell = m_cache->Get(n); wxCHECK_RET( cell, _T("this cell should be cached!") ); - wxHtmlRenderingState htmlRendState; + wxHtmlRenderingInfo htmlRendInfo; // draw the selected cell in selected state if ( IsSelected(n) ) { wxHtmlSelection htmlSel; htmlSel.Set(wxPoint(0, 0), cell, wxPoint(INT_MAX, INT_MAX), cell); - htmlRendState.SetSelection(&htmlSel); - htmlRendState.SetSelectionState(wxHTML_SEL_IN); + htmlRendInfo.SetSelection(&htmlSel); + //htmlRendInfo.SetSelectionState(wxHTML_SEL_IN); } // note that we can't stop drawing exactly at the window boundary as then // even the visible cells part could be not drawn, so always draw the // entire cell - cell->Draw(dc, rect.x, rect.y, 0, INT_MAX, htmlRendState); + cell->Draw(dc, rect.x, rect.y, 0, INT_MAX, htmlRendInfo); } wxCoord wxHtmlListBox::OnMeasureItem(size_t n) const -- 2.49.0