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 );
|
wxMemoryInputStream is( data, count );
|
||||||
wxImage image( is, wxBITMAP_TYPE_PNG );
|
wxImage image( is, wxBITMAP_TYPE_PNG );
|
||||||
wxBitmap bitmap( image );
|
|
||||||
|
|
||||||
return image;
|
return image;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue