From a805de23ff2a1ad5c0eaf135aacdc503ff585461 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Wed, 24 Dec 2008 15:45:34 +0000 Subject: [PATCH] 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 --- src/common/image.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/image.cpp b/src/common/image.cpp index 07ae7ac0ac..ba344445ef 100644 --- a/src/common/image.cpp +++ b/src/common/image.cpp @@ -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; } -- 2.45.2