From 99456d43512ba7af42f8c6c430905b78d8340c5e Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Sun, 10 Apr 2022 07:46:54 -0400 Subject: [PATCH] Don't pointlessly construct a wxBitmap (cherry picked from commit fd83e675a2a66df16bf35c6839c39ec7e464273e) --- common/bitmap_store.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/common/bitmap_store.cpp b/common/bitmap_store.cpp index 7a43d55881..776c195240 100644 --- a/common/bitmap_store.cpp +++ b/common/bitmap_store.cpp @@ -158,7 +158,6 @@ wxImage BITMAP_STORE::getImage( BITMAPS aBitmapId, int aHeight ) wxMemoryInputStream is( data, count ); wxImage image( is, wxBITMAP_TYPE_PNG ); - wxBitmap bitmap( image ); return image; }