X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a71d815bbe669ebb9bdb9409926a272c37a5a9aa..15f0ad701496612df8c145e8e46d4b38515c0bbf:/src/generic/statusbr.cpp?ds=sidebyside diff --git a/src/generic/statusbr.cpp b/src/generic/statusbr.cpp index f098347991..5703a62980 100644 --- a/src/generic/statusbr.cpp +++ b/src/generic/statusbr.cpp @@ -19,7 +19,6 @@ #if wxUSE_STATUSBAR #ifndef WX_PRECOMP -#include "wx/setup.h" #include "wx/frame.h" #include "wx/settings.h" #include "wx/dcclient.h" @@ -233,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);