]> git.saurik.com Git - wxWidgets.git/commitdiff
oops, commited debugging code by mistake
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 31 May 2003 21:51:17 +0000 (21:51 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 31 May 2003 21:51:17 +0000 (21:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmlwin.cpp

index 43da986f296449e7d2c43dbf2f9799b66ddd5f90..e7f539af479f46d62efea18a65df6f5067207342 100644 (file)
@@ -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(),