From: Julian Smart Date: Sun, 3 Apr 2005 19:30:16 +0000 (+0000) Subject: Should return wxImage not bool X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/db28c33ca268429840045ef81c17ee1459f4ec47 Should return wxImage not bool git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mgl/bitmap.cpp b/src/mgl/bitmap.cpp index bef5fc7e40..b8a3f3906d 100644 --- a/src/mgl/bitmap.cpp +++ b/src/mgl/bitmap.cpp @@ -317,7 +317,7 @@ wxBitmap::wxBitmap(const wxImage& image, int depth) wxImage wxBitmap::ConvertToImage() const { - wxCHECK_MSG( Ok(), FALSE, wxT("invalid bitmap") ); + wxCHECK_MSG( Ok(), wxImage(), wxT("invalid bitmap") ); int width, height; width = GetWidth();