Bugfix : Zooming works correct, no more errors on screen.
[xara-cairo.git] / GetSubBitmap-fix.patch
blobed9899290b2826f5984f2c3f64b74084552d26d5
1 --- wxWidgets/src/gtk/bitmap.cpp 2005-09-25 20:59:03.000000000 +0100
2 +++ wxWidgets-bmpfix/src/gtk/bitmap.cpp 2005-09-30 11:33:30.000000000 +0100
3 @@ -1282,7 +1282,7 @@
5 GdkPixbuf *pixbuf = gdk_pixbuf_new(GDK_COLORSPACE_RGB,
6 gdk_pixbuf_get_has_alpha(GetPixbuf()),
7 - 8, GetWidth(), GetHeight());
8 + 8, rect.width, rect.height);
9 ret.SetPixbuf(pixbuf);
10 gdk_pixbuf_copy_area(GetPixbuf(),
11 rect.x, rect.y, rect.width, rect.height,