projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated date
[wxWidgets.git]
/
wxPython
/
demo
/
wxStaticBitmap.py
diff --git
a/wxPython/demo/wxStaticBitmap.py
b/wxPython/demo/wxStaticBitmap.py
index 467f56d604766833618363930bc2377b13e47a6b..1b057913ef3a93da40b0b6c9dc921a985a57c130 100644
(file)
--- 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()))
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.",
wxStaticBitmap(self, -1, bmp, (80, 150))
wxStaticText(self, -1, "Hey, if Ousterhout can do it, so can I.",