mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-14 07:47:06 +01:00
8 lines
306 B
Python
8 lines
306 B
Python
|
|
# There will normally be a log message if a non-existent file is
|
|
# loaded into a wx.Bitmap. It can be suppressed with wx.LogNull
|
|
noLog = wx.LogNull()
|
|
bmp = wx.Bitmap('bogus.png')
|
|
# when noLog is destroyed the old log sink is restored
|
|
del noLog
|