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:
Włodzimierz Skiba 2006-03-27 17:25:14 +00:00
parent be437778be
commit 6a64f8d41d

View File

@ -237,7 +237,7 @@ bool wxBitmap::Create(int width, int height, int depth)
pf = &gs_pixel_format_32;
break;
default:
wxASSERT_MSG( 0, wxT("invalid bitmap depth") );
wxFAIL_MSG(wxT("invalid bitmap depth"));
return false;
}