X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c5ae2d2a6f716e8a89b27579026b9d085f84191..3f4f90c2a0c1f274d1918b320132ed0ca2922fe5:/wxPython/demo/wxStaticBitmap.py diff --git a/wxPython/demo/wxStaticBitmap.py b/wxPython/demo/wxStaticBitmap.py index 467f56d604..1b057913ef 100644 --- a/wxPython/demo/wxStaticBitmap.py +++ b/wxPython/demo/wxStaticBitmap.py @@ -21,11 +21,7 @@ class TestPanel(wxPanel): wxStaticBitmap(self, -1, bmp, wxPoint(80, 50), wxSize(bmp.GetWidth(), bmp.GetHeight())) - # 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(opj('bitmaps/robin.jpg'), wxBITMAP_TYPE_JPEG) + bmp = images.getRobinBitmap() wxStaticBitmap(self, -1, bmp, (80, 150)) wxStaticText(self, -1, "Hey, if Ousterhout can do it, so can I.",