fixed single word selection

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2003-09-18 22:44:16 +00:00
parent 4a65f2c80d
commit afcc5de1b6

View File

@ -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);
}