Blind compilation fix in the case where libXpm

isn't available.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2003-04-28 19:55:18 +00:00
parent cd01e3646a
commit 6cee329241

View File

@ -1359,6 +1359,8 @@ bool wxXPMFileHandler::LoadFile(wxBitmap *bitmap, const wxString& name,
wxImage image(decoder.ReadFile(stream));
return image.Ok() && bitmap->CreateFromImage(image);
}
return FALSE;
#else // !wxHAVE_LIB_XPM && !wxUSE_STREAMS
return FALSE;
#endif // wxHAVE_LIB_XPM / wxUSE_STREAMS