From: Václav Slavík Date: Thu, 18 Sep 2003 22:44:16 +0000 (+0000) Subject: fixed single word selection X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/afcc5de1b6473ed38b7dfa46f4d25842a75f78a1 fixed single word selection git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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); }