X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b5f1895643cf94b38ac19a4c1151e259310852e..15f0ad701496612df8c145e8e46d4b38515c0bbf:/src/generic/statusbr.cpp diff --git a/src/generic/statusbr.cpp b/src/generic/statusbr.cpp index e294b18078..5703a62980 100644 --- a/src/generic/statusbr.cpp +++ b/src/generic/statusbr.cpp @@ -232,7 +232,7 @@ void wxStatusBarGeneric::DrawFieldText(wxDC& dc, int i) wxString text(GetStatusText(i)); - long x, y; + long x = 0, y = 0; dc.GetTextExtent(text, &x, &y);