projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0b0f6f8
)
Mark alpha a static data (not to be freed), too
author
Robert Roebling
<robert@roebling.de>
Wed, 24 Dec 2008 15:45:34 +0000
(15:45 +0000)
committer
Robert Roebling
<robert@roebling.de>
Wed, 24 Dec 2008 15:45:34 +0000
(15:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57528
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/image.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/image.cpp
b/src/common/image.cpp
index 07ae7ac0ac936710d6dbfa8ed9f40a8dafdfba04..ba344445ef47d20963e9d4671b09a78c09c2388c 100644
(file)
--- 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_height = height;
M_IMGDATA->m_ok = true;
M_IMGDATA->m_static = static_data;
+ M_IMGDATA->m_staticAlpha = static_data;
return true;
}
return true;
}