From 303313165165302d5f95b234a79c83413ec9c8c8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 31 May 2003 21:51:17 +0000 Subject: [PATCH] oops, commited debugging code by mistake git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/htmlwin.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index 43da986f29..e7f539af47 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -663,12 +663,7 @@ void wxHtmlWindow::OnDraw(wxDC& dc) dc.SetBackgroundMode(wxTRANSPARENT); GetViewStart(&x, &y); - wxHtmlSelection sel; - sel.Set(wxPoint(20,80), - m_Cell->FindCellByPos(20,80,wxHTML_FIND_TERMINAL|wxHTML_FIND_NONTERMINAL), - wxPoint(200,300), - m_Cell->FindCellByPos(200,300,wxHTML_FIND_TERMINAL|wxHTML_FIND_NONTERMINAL)); - wxHtmlRenderingState rstate(IsSelectionEnabled() ? &sel : NULL); + wxHtmlRenderingState rstate(NULL); m_Cell->Draw(dc, 0, 0, y * wxHTML_SCROLL_STEP + rect.GetTop(), y * wxHTML_SCROLL_STEP + rect.GetBottom(), -- 2.45.2