git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40571
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- GdkImage* img = gdk_image_get(GetPixmap(), 0, 0, GetWidth(), GetHeight());
+ GdkImage* img = gdk_drawable_get_image(GetPixmap(), 0, 0, GetWidth(), GetHeight());
wxCHECK_MSG(img, bmp, wxT("couldn't create image"));
wxCHECK_MSG(img, bmp, wxT("couldn't create image"));
{
dstbyteperline = (width + 7) / 8;
dst = (char*) malloc(dstbyteperline*height);
{
dstbyteperline = (width + 7) / 8;
dst = (char*) malloc(dstbyteperline*height);
- img = gdk_image_get( GetMask()->GetBitmap(), 0, 0, GetWidth(), GetHeight() );
+ img = gdk_drawable_get_image(GetMask()->GetBitmap(), 0, 0, GetWidth(), GetHeight());
for (int h = 0; h < height; h++)
{
for (int h = 0; h < height; h++)
{
- gdk_image = gdk_image_get( GetPixmap(),
+ gdk_image = gdk_drawable_get_image( GetPixmap(),
0, 0,
GetWidth(), GetHeight() );
}
0, 0,
GetWidth(), GetHeight() );
}
GdkImage *gdk_image_mask = (GdkImage*) NULL;
if (GetMask())
{
GdkImage *gdk_image_mask = (GdkImage*) NULL;
if (GetMask())
{
- gdk_image_mask = gdk_image_get( GetMask()->GetBitmap(),
+ gdk_image_mask = gdk_drawable_get_image( GetMask()->GetBitmap(),
0, 0,
GetWidth(), GetHeight() );
0, 0,
GetWidth(), GetHeight() );