gdk_bitmap/pixmap_unref -> gdk_drawable_unref

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mart Raudsepp
2006-04-04 13:54:02 +00:00
parent 15f0ad7014
commit f368b5b9ab
4 changed files with 16 additions and 16 deletions

View File

@@ -144,8 +144,8 @@ wxCursor::wxCursor(const char bits[], int width, int height,
data, mask, fg->GetColor(), bg->GetColor(),
hotSpotX, hotSpotY );
gdk_bitmap_unref( data );
gdk_bitmap_unref( mask );
gdk_drawable_unref( data );
gdk_drawable_unref( mask );
}
#if wxUSE_IMAGE
@@ -296,8 +296,8 @@ wxCursor::wxCursor( const wxImage & image )
hotSpotX, hotSpotY
);
gdk_bitmap_unref( data );
gdk_bitmap_unref( mask );
gdk_drawable_unref( data );
gdk_drawable_unref( mask );
delete [] bits;
delete [] maskBits;
}