7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 14:51:41 +00:00

Don't pointlessly construct a wxBitmap

This commit is contained in:
Marek Roszko 2022-04-10 07:46:54 -04:00
parent 82820d4b1c
commit fd83e675a2

View File

@ -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;
}