From 250e211d7fb82ad3c7d39b0e7569fa9b439f77e3 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 20 May 2020 07:33:46 +0200 Subject: [PATCH] re-adding lost assignement --- src/osx/cocoa/utils.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/cocoa/utils.mm b/src/osx/cocoa/utils.mm index 723443cdb3..b8367bbe67 100644 --- a/src/osx/cocoa/utils.mm +++ b/src/osx/cocoa/utils.mm @@ -615,7 +615,7 @@ wxBitmap wxWindowDCImpl::DoGetAsBitmap(const wxRect *subrect) const } else { - [view bitmapImageRepForCachingDisplayInRect:[view bounds]]; + rep = [view bitmapImageRepForCachingDisplayInRect:[view bounds]]; [view cacheDisplayInRect:[view bounds] toBitmapImageRep:rep]; }