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:
@@ -1359,6 +1359,8 @@ bool wxXPMFileHandler::LoadFile(wxBitmap *bitmap, const wxString& name,
|
|||||||
wxImage image(decoder.ReadFile(stream));
|
wxImage image(decoder.ReadFile(stream));
|
||||||
return image.Ok() && bitmap->CreateFromImage(image);
|
return image.Ok() && bitmap->CreateFromImage(image);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return FALSE;
|
||||||
#else // !wxHAVE_LIB_XPM && !wxUSE_STREAMS
|
#else // !wxHAVE_LIB_XPM && !wxUSE_STREAMS
|
||||||
return FALSE;
|
return FALSE;
|
||||||
#endif // wxHAVE_LIB_XPM / wxUSE_STREAMS
|
#endif // wxHAVE_LIB_XPM / wxUSE_STREAMS
|
||||||
|
Reference in New Issue
Block a user