]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/wxPIA_book/Chapter-04/images.py
move wxPython to new trunk
[wxWidgets.git] / wxPython / samples / wxPIA_book / Chapter-04 / images.py
diff --git a/wxPython/samples/wxPIA_book/Chapter-04/images.py b/wxPython/samples/wxPIA_book/Chapter-04/images.py
deleted file mode 100644 (file)
index 63e5c8f..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-#----------------------------------------------------------------------
-# This file was generated by encode_bitmaps.py
-#
-from wx import ImageFromStream, BitmapFromImage
-from wx import EmptyIcon
-import cStringIO
-
-def getNewData():
-    return \
-'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x10\x00\x00\x00\x0f\x08\x06\
-\x00\x00\x00\xedsO/\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\
-\x00YIDATx\x9c\xed\xd31\n@!\x0c\x03\xd0\xa4\xfe\xfb\xdfX\xe3\xf0\x97R\xa5(.\
-\x0ef\x13\xe45\xa2\x92Vp\x92\xcf/\xd4\xaa\xb2\xcd\xb4\xc2\x14\x00\x00in\x90\
-\x84ZUDl\xa9\xa7\xc3c\xcb-\x80\xfc\x87{d8B6=B\xdb\rfy\xc0\r\xc0\xf0\x0e\xfc\
-\x1d\xaf\x84\xa7\xbf\xb1\x03\xe1,\x19&\x93\x9a\xd2\x97\x00\x00\x00\x00IEND\
-\xaeB`\x82' 
-
-def getNewBitmap():
-    return BitmapFromImage(getNewImage())
-
-def getNewImage():
-    stream = cStringIO.StringIO(getNewData())
-    return ImageFromStream(stream)
-