]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilo.
authorRobert Roebling <robert@roebling.de>
Sat, 5 May 2007 10:11:07 +0000 (10:11 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 5 May 2007 10:11:07 +0000 (10:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/dragimgg.cpp

index 1992db6c9bed7b07a71f1ae77de8e0bff20e0be8..36bd745ccc2671c3a5245238d5d2ddd16c32bccc 100644 (file)
@@ -172,7 +172,7 @@ bool wxGenericDragImage::Create(const wxString& str, const wxCursor& cursor)
 {
     wxFont font(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
 
-    long w = 0, h = 0;
+    wxCoord w = 0, h = 0;
     wxScreenDC dc;
     dc.SetFont(font);
     dc.GetTextExtent(str, & w, & h);