Remove unneeded code in wxWindowDC::DoGetPartialTextExtents

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-11-22 15:06:48 +00:00
parent 50f65288b1
commit 4ed696943f

View File

@ -1809,7 +1809,6 @@ bool wxWindowDC::DoGetPartialTextExtents(const wxString& text,
{
pango_layout_iter_get_cluster_extents(iter, NULL, &pos);
int position = PANGO_PIXELS(pos.x);
size_t curIndex = pango_layout_iter_get_index(iter);
widths[i++] = position;
}
while (i < len)