Problem solved. I don't know why I thought it would be a good idea to try closing a window from a closing event. I now call wxcAppExit and the segfault is gone.
It still bothers me that there was a segfault in the first place. And I still don't know if windowGetOnIconize is needed and what for. David. ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users