Hi,

This is an answer I got from the wxPython NG:

"""
If it is a wxLog message (I think it is) then you can temporarily 
disable log messages by creating an instance of wx.LogNull.  Or you can 
do something like set the log target to some other object than the 
default wx.LogGui, or set the log level to a higher level so those 
messages are not logged.
"""

Regards,

Philippe



Iain King wrote:

> I have a wxpython program that displays TIF images.  Sometimes it will
> encounter a tag the tiff loader cant handle.  Rather than silently
> ignoring it, it pops up a window:
> 
> Python Warning
> unknown field with tag blah blah
> 
> I don't want it to do this, but I can't work out how to turn it off.
> Anyone know?
> 
> Iain

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to