build fix for wxUSE_XPM==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -263,7 +263,7 @@ wxCursor::wxCursor(char **bits)
|
|||||||
|
|
||||||
bool wxCursor::CreateFromXpm(const char **bits)
|
bool wxCursor::CreateFromXpm(const char **bits)
|
||||||
{
|
{
|
||||||
#if wxUSE_IMAGE
|
#if wxUSE_IMAGE && wxUSE_XPM
|
||||||
wxCHECK_MSG( bits != NULL, false, wxT("invalid cursor data") );
|
wxCHECK_MSG( bits != NULL, false, wxT("invalid cursor data") );
|
||||||
wxXPMDecoder decoder;
|
wxXPMDecoder decoder;
|
||||||
wxImage img = decoder.ReadData(bits);
|
wxImage img = decoder.ReadData(bits);
|
||||||
|
Reference in New Issue
Block a user