On Thu, Sep 01, 2011 at 20:26:47 +0100, Dave Tapley wrote:
> I also so happen to be using a wxWidget-2.8 I compiled locally with debug
> on:
> $ wx-config --list
>     Default config is gtk2-unicode-debug-2.8
> 
> I've noticed when running some code I've inherited that I get this (debug
> only) assertion from wxWidgets:
> [Debug] 20:17:32: ./src/common/event.cpp(1397): assert "m_dynamicEvents"
> failed in SearchDynamicEventTable(): caller should check that we have
> dynamic events

OK, good (in the sense that you said something which seems new but
coherent with current facts/hypotheses about how the world fit
together).

Short answer:

You can make this go away by building wxWidgets without debug mode

Long answer:

See, the symptom I mostly experience is "using the stock wxWidgets
that comes with MacOS X results in annoying dialogue boxes" (and
with the message you pasted.  Do you get annoying dialogue boxes as
well?  It turns out that the Mac platform is irrelevant here. The
environment where we get this failure is a wxWidgets with debug mode
enabled, and that so happens to be what MacOS X ships with.

We tried just disabling this in the underlying C bits, but turned
out to be unwise because, well... you kind of need an event handler
to handle events. Back to the drawing board.

I don't really understand the issue at hand, but I know Jeremy has
done some more investigating...

http://wewantarock.wordpress.com/2011/06/17/how-does-wxhaskell-event-handling-work-part-1/

Me, I'm motivated to see the outcome of this so that (A) we have a
better idea what we're dealing with and (B) so that Mac users can
have wxHaskell "just work" :-)

Let us know how you get on!

-- 
Eric Kow <http://erickow.com>

Attachment: pgp91nCmMsYX8.pgp
Description: PGP signature

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel

Reply via email to