module Graphics.UI.WXCore
(
module Graphics.UI.WXCore.WxcDefs
, module Graphics.UI.WXCore.WxcClasses
, module Graphics.UI.WXCore.WxcClassInfo
, module Graphics.UI.WXCore.Defines
, module Graphics.UI.WXCore.Types
, module Graphics.UI.WXCore.Process
, module Graphics.UI.WXCore.Print
, module Graphics.UI.WXCore.Draw
, module Graphics.UI.WXCore.DragAndDrop
, module Graphics.UI.WXCore.Events
, module Graphics.UI.WXCore.Frame
, module Graphics.UI.WXCore.Dialogs
, module Graphics.UI.WXCore.Controls
, module Graphics.UI.WXCore.Layout
, module Graphics.UI.WXCore.Image
, module Graphics.UI.WXCore.OpenGL
, run
) where
import System.Mem( performGC )
import Graphics.UI.WXCore.WxcDefs
import Graphics.UI.WXCore.WxcClasses
import Graphics.UI.WXCore.WxcClassInfo
import Graphics.UI.WXCore.Types
import Graphics.UI.WXCore.Defines
import Graphics.UI.WXCore.Process
import Graphics.UI.WXCore.Print
import Graphics.UI.WXCore.Events hiding ( StreamStatus(..) )
import Graphics.UI.WXCore.Draw
import Graphics.UI.WXCore.DragAndDrop
import Graphics.UI.WXCore.Frame
import Graphics.UI.WXCore.Dialogs
import Graphics.UI.WXCore.Controls
import Graphics.UI.WXCore.Layout
import Graphics.UI.WXCore.Image
import Graphics.UI.WXCore.OpenGL
import Graphics.UI.WXCore.GHCiSupport
run :: IO a -> IO ()
run action
= do enableGUI
appOnInit (do wxcAppInitAllImageHandlers
_ <- action
return ())
performGC
performGC