Unconditional assert means failure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -237,7 +237,7 @@ bool wxBitmap::Create(int width, int height, int depth)
|
|||||||
pf = &gs_pixel_format_32;
|
pf = &gs_pixel_format_32;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
wxASSERT_MSG( 0, wxT("invalid bitmap depth") );
|
wxFAIL_MSG(wxT("invalid bitmap depth"));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user