From afcc5de1b6473ed38b7dfa46f4d25842a75f78a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 18 Sep 2003 22:44:16 +0000 Subject: [PATCH] fixed single word selection git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/htmlcell.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/html/htmlcell.cpp b/src/html/htmlcell.cpp index f378ce4a9e..cda05a607a 100644 --- a/src/html/htmlcell.cpp +++ b/src/html/htmlcell.cpp @@ -62,8 +62,8 @@ void wxHtmlSelection::Set(const wxHtmlCell *fromCell, const wxHtmlCell *toCell) wxPoint p2 = toCell ? toCell->GetAbsPos() : wxDefaultPosition; if ( toCell ) { - p2.x += toCell->GetWidth()-1; - p2.y += toCell->GetHeight()-1; + p2.x += toCell->GetWidth(); + p2.y += toCell->GetHeight(); } Set(p1, fromCell, p2, toCell); } -- 2.45.2