]> git.saurik.com Git - wxWidgets.git/commitdiff
Unconditional assert means failure.
authorWłodzimierz Skiba <abx@abx.art.pl>
Mon, 27 Mar 2006 17:25:14 +0000 (17:25 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Mon, 27 Mar 2006 17:25:14 +0000 (17:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mgl/bitmap.cpp

index 8c5bcd2a80bb1c17259e3cc018fd46a4320c5f76..39206d2f38546b5d0f91ed95478370befee8a1c2 100644 (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;
     }