Hello,

I've just installed wxhaskell via cabal. But every time i create a
timer i get this warning message that looks as follows:

"assert "m_dynamicEvents" failed in SearchDynamicEventTable(): caller
should check that we have dynamic events"

Everything seems to work just fine if i ignore it. So I'm wondering
what the meaning of it is and how to get rid of it?

The simplest program I've been able to make that produces this message is

gui = do
  f <- frame [text := "Hello World"]
  t <- timer f [interval := 20]
  return ()

If i comment out the timer part i don't get the warning message.
Likewise if I modify the program and add an "on paint" event to the
frame the warning message never pops up. Like so:

gui = do
  f <- frame [text := "Hello World", on paint := (\_ _ -> return ())]
  t <- timer f [interval := 20]
  return ()

Regards
Sebastian Klüft
skl...@gmail.com

------------------------------------------------------------------------------
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
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to