From 521808ff62a4e48c88f6853048d9d1befcb18c23 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 9 Jun 2004 05:13:10 +0000 Subject: [PATCH] removed invalid restriction git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/bitmap.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mac/carbon/bitmap.cpp b/src/mac/carbon/bitmap.cpp index 6cbaa9d9b7..67ec567512 100644 --- a/src/mac/carbon/bitmap.cpp +++ b/src/mac/carbon/bitmap.cpp @@ -723,7 +723,6 @@ bool wxBitmap::Create(void *data, wxBitmapType type, int width, int height, int wxBitmap::wxBitmap(const wxImage& image, int depth) { wxCHECK_RET( image.Ok(), wxT("invalid image") ) - wxCHECK_RET( depth == -1, wxT("invalid bitmap depth") ) m_refData = new wxBitmapRefData();