Mark alpha a static data (not to be freed), too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -236,6 +236,7 @@ bool wxImage::Create( int width, int height, unsigned char* data, unsigned char*
|
||||
M_IMGDATA->m_height = height;
|
||||
M_IMGDATA->m_ok = true;
|
||||
M_IMGDATA->m_static = static_data;
|
||||
M_IMGDATA->m_staticAlpha = static_data;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user