]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove unneeded code in wxWindowDC::DoGetPartialTextExtents
authorRobin Dunn <robin@alldunn.com>
Wed, 22 Nov 2006 15:06:48 +0000 (15:06 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 22 Nov 2006 15:06:48 +0000 (15:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/dcclient.cpp

index 6022888051ce8cfa903778129f635f3db8589b76..1fdc8aab532705f80689f98118d643f61957877d 100644 (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)