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:
parent
cd01e3646a
commit
6cee329241
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user