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:
@@ -1809,7 +1809,6 @@ bool wxWindowDC::DoGetPartialTextExtents(const wxString& text,
|
|||||||
{
|
{
|
||||||
pango_layout_iter_get_cluster_extents(iter, NULL, &pos);
|
pango_layout_iter_get_cluster_extents(iter, NULL, &pos);
|
||||||
int position = PANGO_PIXELS(pos.x);
|
int position = PANGO_PIXELS(pos.x);
|
||||||
size_t curIndex = pango_layout_iter_get_index(iter);
|
|
||||||
widths[i++] = position;
|
widths[i++] = position;
|
||||||
}
|
}
|
||||||
while (i < len)
|
while (i < len)
|
||||||
|
Reference in New Issue
Block a user