gdk_draw_pixmap -> gdk_draw_drawable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1261,7 +1261,7 @@ wxBitmap wxBitmap::GetSubBitmap( const wxRect& rect) const
|
||||
if (ret.GetPixmap())
|
||||
{
|
||||
GdkGC *gc = gdk_gc_new( ret.GetPixmap() );
|
||||
gdk_draw_pixmap( ret.GetPixmap(), gc, GetPixmap(), rect.x, rect.y, 0, 0, rect.width, rect.height );
|
||||
gdk_draw_drawable( ret.GetPixmap(), gc, GetPixmap(), rect.x, rect.y, 0, 0, rect.width, rect.height );
|
||||
gdk_gc_destroy( gc );
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user