fixed compilation with wxUSE_WXDIB==0 (bug 1667819)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ce3b4b90c5
commit
b928bd059f
@ -215,9 +215,7 @@ wxCursor::wxCursor(const wxImage& image)
|
||||
wxLogWarning(_("Failed to create cursor."));
|
||||
return;
|
||||
}
|
||||
#else
|
||||
HCURSOR hcursor = 0;
|
||||
#endif
|
||||
#endif // wxUSE_WXDIB
|
||||
|
||||
m_refData = new wxCursorRefData(hcursor, true /* delete it later */);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user