removed invalid restriction

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2004-06-09 05:13:10 +00:00
parent bdac31bad6
commit 521808ff62

View File

@ -723,7 +723,6 @@ bool wxBitmap::Create(void *data, wxBitmapType type, int width, int height, int
wxBitmap::wxBitmap(const wxImage& image, int depth) wxBitmap::wxBitmap(const wxImage& image, int depth)
{ {
wxCHECK_RET( image.Ok(), wxT("invalid image") ) wxCHECK_RET( image.Ok(), wxT("invalid image") )
wxCHECK_RET( depth == -1, wxT("invalid bitmap depth") )
m_refData = new wxBitmapRefData(); m_refData = new wxBitmapRefData();