# -*- coding: ISO-8859-1 -*- """Resource doc_icon_png (from file doc_icon.png)""" # written by resourcepackage: (1, 0, 0) source = 'doc_icon.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\002IDATx\ q0\020?'Bml\035J\03162xu\014o\035,\001oR܌F\024\005=|~~~r!\024Dd\ &`@ҕ\000xy\001\006@ 2G\01606D@O\033\014\022 \023DYc\003?gj|\ W\026O\011d&w滜\013\0328$`w\032\037s'@ڵ\010عK)\037\002R\\&+BO\ r\"S]i&Н6I\020\017\010LK\020r܎s\000m21B\034\\E:|@مP8\ $\"\006W\032mWմta\037̬1a*\0260EDPs\007.s\022v9~{\ {{;\0324pc\030ާÀ\020@#\031wa\030\000n\033p\000e\011}l;P\036\\=@ľ\035\ L#҇n(EZf4䒏VT{o{m\032\004'\012\005V\002\000ڹ6\002+\"Mpʜתς@:\ \025r\007<\032э4u\031qz\030\011/۩\016>C\002dc\024aW\016eg3]\002kb\025\ \\_'Gh\036\031bBۺzq>~܁bb\015͍(Erґ@D\"\023\023}F%S\