X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f38924e863cd44e2abd49d20d201d72aa773c51e..2e53e220c27c900b456222ad4834b17a389a781b:/src/motif/dc.cpp diff --git a/src/motif/dc.cpp b/src/motif/dc.cpp index 884ac2e7e6..939442bd32 100644 --- a/src/motif/dc.cpp +++ b/src/motif/dc.cpp @@ -49,7 +49,7 @@ void wxDC::DoDrawBitmap( const wxBitmap& bitmap, wxCoord x, wxCoord y, bool useM wxCHECK_RET( bitmap.Ok(), "invalid bitmap" ); wxMemoryDC memDC; - memDC.SelectObject(bitmap); + memDC.SelectObjectAsSource(bitmap); #if 0 // Not sure if we need this. The mask should leave the masked areas as per