mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-27 14:10:07 +01:00
⁉️ Not sure if the generated .rst stuff is intended to have
whitespace like this in it or not, so seperating this from the other
commits, so easy to revert if necessary.
8 lines
306 B
Python
8 lines
306 B
Python
|
|
# There will normally be a log message if a non-existant 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
|