Fixed 5 bugs in wxImage and Blit
Removed warning messages Some more clientdata fiddleing Added bitmap support to wxTreeCtrl Fixed some bugs in wxTreeCtrl Added licence.txt to /docs/gtk/ git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -452,10 +452,10 @@ wxBitmap::wxBitmap( const wxImage &image )
|
||||
|
||||
if (image.HasMask())
|
||||
{
|
||||
if ((r == r_mask) && (b = b_mask) && (g = g_mask))
|
||||
gdk_image_put_pixel( mask_image, x, y, 0 );
|
||||
else
|
||||
if ((r == r_mask) && (b == b_mask) && (g == g_mask))
|
||||
gdk_image_put_pixel( mask_image, x, y, 1 );
|
||||
else
|
||||
gdk_image_put_pixel( mask_image, x, y, 0 );
|
||||
}
|
||||
|
||||
switch (render_depth)
|
||||
|
Reference in New Issue
Block a user