]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/statusbr.cpp
fix for non precomp
[wxWidgets.git] / src / generic / statusbr.cpp
index f098347991124693863775c29267cba392dfa5df..5703a629808e386b14b8b0a23c8cbec725d1e93c 100644 (file)
@@ -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);