Daniel Aquino wrote:
> but I was referring to , "web browser alert style boxes" vs "a log
> window".  If the log window is closed it should not produce, "web
> browser alert style boxes"

Setting the last parameter of wx.wxLogWindow() to false seems to solve
the problem:

local log = wx.wxLogWindow( frame, "Log", true, false )
wx.wxLog.SetVerbose(true)

After that, any call to wx.wxLogVerbose() will produce output in the log
window. If it's closed, nothing happens.

The last option is "passToOld":
(see http://docs.wxwidgets.org/stable/wx_wxlogwindow.html)

Setting it to false means every log message is processed by the log
window only. Therefore the default handler which shows a message box for
wx.wxLogVerbose is ignored.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to