mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-21 03:07:08 +01:00
9 lines
304 B
Python
9 lines
304 B
Python
|
|
# Don't try to load the image if it doesn't exist. This avoids the
|
|
# log messages without blocking all the others.
|
|
if os.path.exists('bogus.png'):
|
|
bmp = wx.Bitmap('bogus.png')
|
|
else:
|
|
pass
|
|
# ... do something else here...
|