]> git.saurik.com Git - wxWidgets.git/commitdiff
Blind compilation fix in the case where libXpm
authorMattia Barbon <mbarbon@cpan.org>
Mon, 28 Apr 2003 19:55:18 +0000 (19:55 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Mon, 28 Apr 2003 19:55:18 +0000 (19:55 +0000)
isn't available.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/x11/bitmap.cpp

index cbee3462f6f768c6c1e6395b1852672c37131b75..8f8ba22e1c9d4d3f1b9da4fd8d3cc11a34e42162 100644 (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