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:
Julian Smart
2006-01-21 16:47:30 +00:00
parent 14d776932c
commit 64c288fa47
22 changed files with 76 additions and 14 deletions

View File

@@ -209,11 +209,15 @@ wxCursor::wxCursor(const wxImage& image)
HCURSOR hcursor = wxBitmapToHCURSOR( wxBitmap(imageSized),
hotSpotX, hotSpotY );
#if wxUSE_WXDIB
if ( !hcursor )
{
wxLogWarning(_("Failed to create cursor."));
return;
}
#else
HCURSOR hcursor = 0;
#endif
m_refData = new wxCursorRefData(hcursor, true /* delete it later */);
}