X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f30b9eed380fc267a812460087ae50c3bbd06452..2a45803fc3877afd0ae3ce356dfe216505165882:/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)