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:
parent
82820d4b1c
commit
fd83e675a2
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user