Remove check for SM_CXCURSOR.
This commit is contained in:
parent
0ff8012c4a
commit
b53a62a970
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user