]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dragimag.cpp
Rework the wxCusor ctor taking wx stock number to provide as many cursors as
[wxWidgets.git] / src / msw / dragimag.cpp
index 2cb08d63d31c44396e6837fd2026c7cfe4b969da..4f42ad81d99ef53768300cbfffeeb7e41fdc7354 100644 (file)
@@ -205,7 +205,7 @@ bool wxDragImage::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);