X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f30b9eed380fc267a812460087ae50c3bbd06452..9b70925d3e82d58cf8082ad69c6f67ca6fd61895:/src/gtk/dc.cpp diff --git a/src/gtk/dc.cpp b/src/gtk/dc.cpp index 791961499c..52abd3b2be 100644 --- a/src/gtk/dc.cpp +++ b/src/gtk/dc.cpp @@ -154,7 +154,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)