From: Sebastian K. <sk...@gm...> - 2009-09-04 10:35:03
|
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 sk...@gm... |