When I call repaint, the window isn't actually repainted until I cover
my application's window with another window and then bring my
application to the foreground again. I have code in my mouse event
handler that calls repaint, so I would expect the window to be
repainted as soon as the user clicks the mouse, not after the window
is brought to the background and then the foreground. Is this a bug?
I'm using wxHaskell 0.8 and ghc 6.2.1 on Fedora Core 1.
Kirsten Chevalier * chevalier@... * Often in error,
never in doubt
From: Arjan van IJzendoorn <afie@cs...> - 2005-01-09 11:01:19
> When I call repaint, the window isn't actually repainted until I cover
> my application's window with another window and then bring my
> application to the foreground again.
Does the bouncing balls demo work? It uses repaint to repaint a window
in a timer. If that demo does work maybe you can see from the source
code why your code is not working.
Get latest updates about Open Source Projects, Conferences and News.