]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dc.cpp
add other known types for gdk_pixbuf_save()
[wxWidgets.git] / src / gtk / dc.cpp
index 791961499cb692d5dea1710dce660cf40b1bb84e..9814072bef1c7997660128569acc5dc13fca0786 100644 (file)
@@ -2,7 +2,6 @@
 // Name:        src/gtk/dc.cpp
 // Purpose:
 // Author:      Robert Roebling
-// RCS-ID:      $Id$
 // Copyright:   (c) 1998 Robert Roebling
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -154,7 +153,7 @@ bool wxGTKCairoDCImpl::DoStretchBlit(int xdest, int ydest, int dstWidth, int dst
         {
             wxMask* mask = bitmap.GetMask();
             if (mask)
-                maskSurf = mask->GetBitmap();
+                maskSurf = *mask;
         }
     }
     if (maskSurf)