]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dragimag.cpp
clean up wxEvtHandler::m_eventsLocker weirdness: there is no need to allocate it...
[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);