On Mon, Sep 24, 2012 at 7:39 AM, Victor Bombi <son...@telefonica.net> wrote:
> Trying both compilations:
>
> 2.8.12 behaves as always
> 2.9.4 wx gets hung specially when I run I lane that reads output from
> another exe with io.popen which sometimes gives erratic assertions.

...and the assertions are?

> The assertions corresponding to wxSizer::GetItem didnt happen in 2.8.12
> althought they were activated in this widgets. I will check if I did
> something different in both compilations (which could be one possibility)

Embrace the idea of only accessing array items using indices that are
actually valid. Don't waste your time trying to deliberately make your
program unstable.

> the other possibility is that the threading model has changed something from
> 2.8.12 to 2.9.4.
>
> In my experience realy 2.8.12 is stable and 2.9.4 unstable

I suspect that there is more going on with your application, I have
had great success with 2.9.x.

The key to a robust GUI program is to program defensively. If the
basis of your program knowingly accesses invalid values you won't fair
well when users are thrown into the mix. They'll attempt to do all
sorts of strange things and all you can do is to make sure that you
gracefully handle these problems. I promise that if you that if you
try to work with, rather than against, wxWidgets you will have greater
success.

Regards,
    John

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to