From 6cee329241bc37e110e3514ef4f99b2dbd301dbb Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Mon, 28 Apr 2003 19:55:18 +0000 Subject: [PATCH] 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 --- src/x11/bitmap.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/x11/bitmap.cpp b/src/x11/bitmap.cpp index cbee3462f6..8f8ba22e1c 100644 --- a/src/x11/bitmap.cpp +++ b/src/x11/bitmap.cpp @@ -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 -- 2.45.2