X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cbaa866f0ac4b4e8dd7243f94b7717312fd5ce30..f31bbefd1070af6162b9deeda9d4e528efbc1b31:/src/generic/dragimgg.cpp diff --git a/src/generic/dragimgg.cpp b/src/generic/dragimgg.cpp index 1992db6c9b..36bd745ccc 100644 --- a/src/generic/dragimgg.cpp +++ b/src/generic/dragimgg.cpp @@ -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);