]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dragimag.cpp
fix for non precomp
[wxWidgets.git] / src / msw / dragimag.cpp
index 761c33e6a019fb7cdc9b5216003f5b597f196b35..9249d8c35c19b873e0c5a8ad2a2a03a83d35072e 100644 (file)
@@ -28,7 +28,6 @@
 
 #ifndef WX_PRECOMP
 #include <stdio.h>
-#include "wx/setup.h"
 #include "wx/window.h"
 #include "wx/dcclient.h"
 #include "wx/dcscreen.h"
@@ -209,7 +208,7 @@ bool wxDragImage::Create(const wxString& str, const wxCursor& cursor)
 {
     wxFont font(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
 
-    long w, h;
+    long w = 0, h = 0;
     wxScreenDC dc;
     dc.SetFont(font);
     dc.GetTextExtent(str, & w, & h);