# Icon Bitmaps - generated by encode_bitmaps.py
#----------------------------------------------------------------------------
from wx import ImageFromStream, BitmapFromImage
-from wx import EmptyIcon
import cStringIO
return ImageFromStream(stream)
def getPHPIcon():
- icon = EmptyIcon()
- icon.CopyFromBitmap(getPHPBitmap())
- return icon
+ return wx.IconFromBitmap(getPHPBitmap())