# -*- coding: ISO-8859-1 -*- """Resource genericicon_png (from file genericicon.png)""" # written by resourcepackage: (1, 0, 0) source = 'genericicon.png' package = 'resourcepackage.testwx' ### wxPython specific functions originalExtension = '.png' from wxPython.wx import wxImageFromStream, wxBitmapFromImage, wxEmptyIcon import cStringIO def getData( ): """Return the data from the resource as a simple string""" return data def getImage( ): """Return the data from the resource as a wxImage""" stream = cStringIO.StringIO(data) return wxImageFromStream(stream) def getBitmap( ): """Return the data from the resource as a wxBitmap""" return wxBitmapFromImage(getImage()) def getIcon( ): """Return the data from the resource as a wxIcon""" icon = wxEmptyIcon() icon.CopyFromBitmap(getBitmap()) return icon data = "PNG\015\012\032\012\000\000\000\015IHDR\000\000\000 \000\000\000 \010\006\000\000\000szz\000\000\000\004sBIT\010\010\010\010|\010d\000\000\0021IDATx\ +\004a\030?,\026=I'U.[\016.\022\021m(\011\\\034G\024IrQ8\0276\037\036W4\ fgNmw~}3JDEZkܘjW\000@4enrV\000M\000j8\ 9in\014\021iO\005 m\000B\002N\010A\030wAVW\014w\007\ \005A6#\034\033s\0218<\001`gn+$*~Ϸ\005澦UH\012\004I5\"=\032\ \03067A8QJ極\007b1\01417\007\020]4RED0\004L\006NN 3\010\015-,\ ,D&u\032C\001\033\003XY\011׳Y>+#M\002vOOad$\\~hml\022ڬ\ D>\031*e(\026㷢(\035\006\006&\\_Z|><\025@D\033C\020\036[_\020u\005!^_\ ap\020zGw(\031Qw\000\037\021;<\017\001D*\000>%LN[MMpt\004]]w7#Si\ ]\011\013\005Iq\005|'ll@s\001\000ZZDmmyOP\000puջDDi\ \013N\014D\025\037$\005h3\000\000\000\000IENDB`" ### end