Don't pointlessly construct a wxBitmap
(cherry picked from commit fd83e675a2
)
This commit is contained in:
parent
529048dac1
commit
99456d4351
|
@ -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