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:
@@ -62,8 +62,8 @@ void wxHtmlSelection::Set(const wxHtmlCell *fromCell, const wxHtmlCell *toCell)
|
|||||||
wxPoint p2 = toCell ? toCell->GetAbsPos() : wxDefaultPosition;
|
wxPoint p2 = toCell ? toCell->GetAbsPos() : wxDefaultPosition;
|
||||||
if ( toCell )
|
if ( toCell )
|
||||||
{
|
{
|
||||||
p2.x += toCell->GetWidth()-1;
|
p2.x += toCell->GetWidth();
|
||||||
p2.y += toCell->GetHeight()-1;
|
p2.y += toCell->GetHeight();
|
||||||
}
|
}
|
||||||
Set(p1, fromCell, p2, toCell);
|
Set(p1, fromCell, p2, toCell);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user