jodonoghue/wxHaskell — pull request #6 by HeinrichApfelmus (2012-04-18 20:11:51+00:00)
Title: Enable GUI support in GHCi by default on MacOS X

This patch bakes the old `EnableGUI.hs` solution right into the wxcore package. This works because GHC packages may reference external libraries that GHCi will link in.

Note: The new GHCiSupport.hs module probably needs to be wrapped in #ifdefs.

Note: People need to be reminded to use the `ghci -fno-ghci-sandbox` flag if they want to use wx from GHCi.

This patch does not address the issue that wx is prone to crashes when used twice from GHCi.