Should return wxImage not bool

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-04-03 19:30:16 +00:00
parent 1804e89886
commit db28c33ca2

View File

@@ -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();