Compile with wxUSE_DYNLIB_CLASS and wxUSE_WXDIB set to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -154,7 +154,7 @@ bool wxGenericDragImage::Create(const wxString& str, const wxCursor& cursor)
|
||||
|
||||
dc2.SelectObject(wxNullBitmap);
|
||||
|
||||
#if wxUSE_IMAGE_IN_DRAGIMAGE
|
||||
#if wxUSE_IMAGE_IN_DRAGIMAGE && (!defined(__WXMSW__) || wxUSE_WXDIB)
|
||||
// Make the bitmap masked
|
||||
wxImage image = bitmap.ConvertToImage();
|
||||
image.SetMaskColour(255, 255, 255);
|
||||
|
Reference in New Issue
Block a user