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:
parent
bdac31bad6
commit
521808ff62
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user