Patch # 984209 - Calls to wxFind() were using an old signature. They now check for...
[wxWidgets.git] / src / mac / carbon / bitmap.cpp
index 6cbaa9d9b76178bd55967c581059beb46677d666..67ec56751220ebc2870d375b53315b3c4531777f 100644 (file)
@@ -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();