From 6a64f8d41d1e85aa437cf36b20c6e44000e9bf34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Skiba?= Date: Mon, 27 Mar 2006 17:25:14 +0000 Subject: [PATCH] Unconditional assert means failure. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mgl/bitmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mgl/bitmap.cpp b/src/mgl/bitmap.cpp index 8c5bcd2a80..39206d2f38 100644 --- a/src/mgl/bitmap.cpp +++ b/src/mgl/bitmap.cpp @@ -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; }