hm yea ok i guess that is fine...

i was setting verbose true and then not opening the window which
caused a pop up...

i guess if i close the window then it should be set back to false...

thanks...

On Tue, Aug 25, 2009 at 8:57 AM, Andreas Krinke<andreas.kri...@gmx.de> wrote:
> Daniel Aquino wrote:
>> yea but that means you have to create the window.
>>
>> I guess at that point you could write a small wrapper function that
>> would only call wxLogVerbose if the window has been opened...
>>
>> But I was going for the simple approach of having wxLogVerbose lines
>> in my app which only took affect if the window was open...
>>
>> This would seem clean and the way I would have designed it.
>
> I think, I don't understand what you're trying to archive.
>
> If you want to have the log window you do:
>
> local log = wx.wxLogWindow( frame, "Log", true, false )
> wx.wxLog.SetVerbose(true)
>
> If you don't want the log window, you don't do this.
>
> This way, you can have calls to wx.wxLogVerbose everywhere in your program.
>
> ------------------------------------------------------------------------------
> 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
>

------------------------------------------------------------------------------
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