X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1f91072fc86dca08851486ec19cd573f5bf27279..c7c6e54baed01937426239dd38164ee0326fa172:/src/gtk/dcclient.cpp diff --git a/src/gtk/dcclient.cpp b/src/gtk/dcclient.cpp index 6022888051..1fdc8aab53 100644 --- a/src/gtk/dcclient.cpp +++ b/src/gtk/dcclient.cpp @@ -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)