]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/image.cpp
handle correctly never/always shown scrollbars in GetClientSize()
[wxWidgets.git] / src / common / image.cpp
index 07ae7ac0ac936710d6dbfa8ed9f40a8dafdfba04..ba344445ef47d20963e9d4671b09a78c09c2388c 100644 (file)
@@ -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;
 }