Well the thing is if the wxLogWindow is closed then the default
behavior will produce those alert dialogs...

I really don't want that...

I have a small function which I use for that purpose.

On Mon, Aug 24, 2009 at 11:26 AM, John Labenski<jlaben...@gmail.com> wrote:
> On Mon, Aug 24, 2009 at 11:12 AM, Daniel
> Aquino<mr.danielaqu...@gmail.com> wrote:
>> hm ok I'll look into that...
>>
>> 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"
>>
>
> You mean a wxMessageDialog?  A dialog with optional Ok/Cancel/Yes/No buttons.
>
> http://docs.wxwidgets.org/stable/wx_wxmessagedialog.html#wxmessagedialog
>
> You could create a little function to centralize your logging that
> creates a wxMessageDialog with all the appropriate flags and takes
> your message string as a parameter.
>
> Hope this helps,
>    John
>
> ------------------------------------------------------------------------------
> 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