]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxStaticBitmap.py
added a few encoding convenience methods for pc-mac encoding and string handling...
[wxWidgets.git] / wxPython / demo / wxStaticBitmap.py
index e90aad9c703d9139b456c39fc8ff97ed4f7223fe..edaf6c8fb9b012603be09c642909e4a6da4b38bb 100644 (file)
@@ -20,7 +20,11 @@ class TestPanel(wxPanel):
         wxStaticBitmap(self, -1, bmp, wxPoint(80, 50),
                        wxSize(bmp.GetWidth(), bmp.GetHeight()))
 
-        bmp = images.getRobinBitmap()
+        # This one doesn't convert to the embedded format very well,
+        # (lots of colors so it explodes in size and takes a noticable
+        # amount of time to convert back to a bitmap.)  So we'll just
+        # do it the old way
+        bmp = wxBitmap('bitmaps/robin.jpg', wxBITMAP_TYPE_JPEG)
         wxStaticBitmap(self, -1, bmp, (80, 150))
 
         wxStaticText(self, -1, "Hey, if Ousterhout can do it, so can I.",