From b53a62a9706ef0d4e24e24826c19acc1193afe6d Mon Sep 17 00:00:00 2001 From: Catalin Date: Sun, 5 Mar 2017 15:10:52 +0200 Subject: [PATCH] Remove check for SM_CXCURSOR. --- src/msw/dragimag.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/msw/dragimag.cpp b/src/msw/dragimag.cpp index 867ed0455b..85a56001df 100644 --- a/src/msw/dragimag.cpp +++ b/src/msw/dragimag.cpp @@ -334,14 +334,8 @@ bool wxDragImage::BeginDrag(const wxPoint& hotspot, wxWindow* window, bool fullS #else if (!m_hCursorImageList) { -#ifndef SM_CXCURSOR - // Smartphone may not have these metric symbol - int cxCursor = 16; - int cyCursor = 16; -#else int cxCursor = ::GetSystemMetrics(SM_CXCURSOR); int cyCursor = ::GetSystemMetrics(SM_CYCURSOR); -#endif m_hCursorImageList = (WXHIMAGELIST) ImageList_Create(cxCursor, cyCursor, ILC_MASK, 1, 1); }