packages feed

wx 0.92.0.0 → 0.92.1.0

raw patch · 17 files changed

+166/−152 lines, 17 files

Files

src/Graphics/UI/WX.hs view
@@ -1,11 +1,12 @@ --------------------------------------------------------------------------------
-{-| Module      :  WX
-    Copyright   :  (c) Daan Leijen 2003
-    License     :  wxWindows
+{-| 
+Module      :  WX
+Copyright   :  (c) Daan Leijen 2003
+License     :  wxWindows
 
-    Maintainer  :  wxhaskell-devel@lists.sourceforge.net
-    Stability   :  provisional
-    Portability :  portable
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
 
 The WX module just re-exports functionality from helper modules and
 defines the 'start' function.
src/Graphics/UI/WX/Attributes.hs view
@@ -1,12 +1,13 @@ {-# LANGUAGE ExistentialQuantification #-}
 --------------------------------------------------------------------------------
-{-| Module      :  Attributes
-    Copyright   :  (c) Daan Leijen 2003
-    License     :  wxWindows
+{-|
+Module      :  Attributes
+Copyright   :  (c) Daan Leijen 2003
+License     :  wxWindows
 
-    Maintainer  :  wxhaskell-devel@lists.sourceforge.net
-    Stability   :  provisional
-    Portability :  portable
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
 
 
 Widgets @w@ can have attributes of type @a@ represented by the type 'Attr' @w a@.
@@ -141,7 +142,7 @@ castProps coerce props
   = map (castProp coerce) props
 
--- | Create a /reflective/ attribute with a specified name: value can possibly
+-- | Create a /reflective/ attribute with a specified name: value can possibly be
 -- retrieved using 'getPropValue'. Note: the use of this function is discouraged
 -- as it leads to non-compositional code.
 reflectiveAttr :: Typeable a => String -> (w -> IO a) -> (w -> a -> IO ()) -> Attr w a
@@ -150,7 +151,7 @@   where
     updater w f   = do x <- getter w; setter w (f x); return x
 
--- | Create a /reflective/ attribute with a specified name: value can possibly
+-- | Create a /reflective/ attribute with a specified name: value can possibly be
 -- retrieved using 'getPropValue'. Note: the use of this function is discouraged
 -- as it leads to non-compositional code.
 createAttr :: Typeable a => String -> (w -> IO a) -> (w -> a -> IO ()) -> CreateAttr w a
@@ -325,7 +326,7 @@       (PropModify f, ps) -> cont (f def) ps
       (PropNone, ps)     -> cont def ps
 
--- | Try to find a property value. Return |Nothing| if not found at all.
+-- | Try to find a property value. Return @Nothing@ if not found at all.
 findProperty :: Typeable a => Attr w a -> a -> [Prop w] -> Maybe (a,[Prop w])
 findProperty attr def props
   = case filterProperty attr props of
@@ -340,7 +341,7 @@ withStyleProperty prop flag 
   = withStylePropertyEx prop (bitsSet flag) (\isSet style -> if isSet then (style .+. flag) else (style .-. flag)) 
 
--- | Transform the properties based on a style property. The flag is interpreted negatively, i.e. |True|
+-- | Transform the properties based on a style property. The flag is interpreted negatively, i.e. @True@
 -- removes the bit instead of setting it.
 withStylePropertyNot :: Attr w Bool -> Style -> ([Prop w] -> Style -> a) -> [Prop w] -> Style -> a
 withStylePropertyNot prop flag 
src/Graphics/UI/WX/Classes.hs view
@@ -1,12 +1,13 @@ {-# LANGUAGE MultiParamTypeClasses, FunctionalDependencies, DeriveDataTypeable, ScopedTypeVariables #-}
 --------------------------------------------------------------------------------
-{-| Module      :  Classes
-    Copyright   :  (c) Daan Leijen 2003
-    License     :  wxWindows
+{-|
+Module      :  Classes
+Copyright   :  (c) Daan Leijen 2003
+License     :  wxWindows
 
-    Maintainer  :  wxhaskell-devel@lists.sourceforge.net
-    Stability   :  provisional
-    Portability :  portable
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
 
 This modules defines attributes common to many widgets and
 organizes them into Haskell classes. Look at the instance definitions
@@ -69,7 +70,7 @@ -- | Widgets with a label or text field.
 class Textual w where
   -- | The text of a widget. It is interpreted differently for
-  -- for different widgets, for example, the title of a frame or the content of a
+  -- different widgets, for example, the title of a frame or the content of a
   -- static text control.
   text       :: Attr w String
   appendText :: w -> String -> IO ()
@@ -379,7 +380,7 @@ class HasDefault w where
   -- | Define a default item as any type deriving from 'Window'. Great care
   --   is required when using this option as you will have to cast the item
-  --   to/from Window() using 'objectCast'. 
+  --   to/from @Window ()@ using 'objectCast'. 
   --   For the common use case where the window in question is a 'Button', 
   --   please use 'defaultButton' as it is typesafe.
   unsafeDefaultItem :: Attr w (Window ())
src/Graphics/UI/WX/Controls.hs view
@@ -1,13 +1,14 @@ {-# LANGUAGE TypeSynonymInstances, FlexibleInstances, MultiParamTypeClasses, DeriveDataTypeable #-}
 --------------------------------------------------------------------------------
-{-| Module      :  Controls
-    Copyright   :  (c) Daan Leijen 2003
-                   (c) Shelarcy (shelarcy@gmail.com) 2006
-    License     :  wxWindows
+{-| 
+Module      :  Controls
+Copyright   :  (c) Daan Leijen 2003
+               (c) Shelarcy (shelarcy@gmail.com) 2006
+License     :  wxWindows
 
-    Maintainer  :  wxhaskell-devel@lists.sourceforge.net
-    Stability   :  provisional
-    Portability :  portable
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
 
 Defines common GUI controls.
 -}
@@ -101,7 +102,7 @@ -- controls. It has a standard background and maintains standard keyboard
 -- navigation (ie. /Tab/ moves through the controls).
 --
--- Note: 'defaultButton' attibute is removed. Set 'defaultButton' to parent
+-- Note: the 'defaultButton' attribute is removed. Set 'defaultButton' to parent
 -- 'Frame' or 'Dialog' instead of this control now. This is an incompatible
 -- change to support wxWidgets 2.8.x.
 --
@@ -117,7 +118,7 @@ 
 -- | Create a 'Panel' with a specific style.
 --
--- Note: 'defaultButton' attibute is removed. Set 'defaultButton' to parent
+-- Note: the 'defaultButton' attribute is removed. Set 'defaultButton' to parent
 -- 'Frame' or 'Dialog' instead of this control now. This is an incompatible
 -- change to support wxWidgets 2.8.x.
 --
@@ -353,8 +354,8 @@ entry parent props
   = textCtrlEx parent getRichTE props
 
--- | Create a single-line text entry control. Note: 'alignment' has to
--- be set at creation time (or the entry has default alignment (=left) ).
+-- | Create a single-line text entry control. Note: 'alignment' can only
+-- be set at creation time (default is left alignment).
 --
 -- * Instances: 'Wrap', 'Aligned', 'Commanding', 'Updating' -- 'Textual', 'Literate', 'Dimensions', 'Colored', 'Visible', 'Child',
 --             'Able', 'Tipped', 'Identity', 'Styled', 'Reactive', 'Paint'.
@@ -364,7 +365,7 @@   = textCtrlEx parent getRichTE props
 
 -- | Create a multi-line text control. Note: the 'wrap' and 'alignment'
--- have to be set at creation time or the default to 'WrapNone' and 'AlignLeft' respectively.
+-- can only be set at creation time, the defaults are 'WrapNone' and 'AlignLeft' respectively.
 --
 -- * Instances: 'Wrap', 'Aligned', 'Commanding', 'Updating' -- 'Textual', 'Literate', 'Dimensions', 'Colored', 'Visible', 'Child',
 --             'Able', 'Tipped', 'Identity', 'Styled', 'Reactive', 'Paint'.
@@ -377,7 +378,7 @@ -- | Create a multi-line text rich-text control with a certain wrap mode
 -- Enables font and color settings on windows, while being equal to 'textCtrl'
 -- on other platforms. Note: the 'wrap' and 'alignment'
--- have to be set at creation time or the default to 'WrapNone' and 'AlignLeft' respectively.
+-- can only be set at creation time, the defaults are 'WrapNone' and 'AlignLeft' respectively.
 --
 -- * Instances: 'Wrap', 'Aligned', 'Commanding', 'Updating' -- 'Textual', 'Literate', 'Dimensions', 'Colored', 'Visible', 'Child',
 --             'Able', 'Tipped', 'Identity', 'Styled', 'Reactive', 'Paint'.
@@ -421,7 +422,7 @@   command = newEvent "command" textCtrlGetOnTextEnter textCtrlOnTextEnter
 
 -- | Process @enter@ key events, used in a 'comboBox' or 'textCtrl' and
--- catched using a 'on' 'command' handler.
+-- catched using an 'on' 'command' handler
 -- (otherwise pressing @Enter@ is either processed
 -- internally by the control or used for navigation between dialog controls).
 processEnter :: Styled w => Attr w Bool
@@ -598,7 +599,7 @@     = choiceDelete w i
 
 
--- | Create a choice item to select a one of a list of strings.
+-- | Create a choice item to select one of a list of strings.
 --
 -- * Instances: 'Sorted', 'Selecting','Selection','Items' -- 'Textual', 'Literate', 'Dimensions', 'Colored', 'Visible', 'Child',
 --             'Able', 'Tipped', 'Identity', 'Styled', 'Reactive', 'Paint'.
@@ -608,7 +609,7 @@   = choiceEx parent 0 props
 
 
--- | Create a choice item, given a set of style flags, to select a one of a list of strings
+-- | Create a choice item, given a set of style flags, to select one of a list of strings
 --
 -- * Instances: 'Selecting','Selection','Items' -- 'Textual', 'Literate', 'Dimensions', 'Colored', 'Visible', 'Child',
 --             'Able', 'Tipped', 'Identity', 'Styled', 'Reactive', 'Paint'.
@@ -976,7 +977,7 @@   command = newEvent "command" sliderGetOnCommand sliderOnCommand
 
 -- | Create a horizontal slider with a specified minimum and maximum. Set
--- the 'Bool' argument to 'True' to show labels (minimumn, maximum, and
+-- the 'Bool' argument to 'True' to show labels (minimum, maximum, and
 -- current value). The 'selection' attribute gives the current value.
 --
 -- * Instances: 'Commanding','Selection' -- 'Textual', 'Literate', 'Dimensions', 'Colored', 'Visible', 'Child',
@@ -987,7 +988,7 @@   = sliderEx parent min max (wxHORIZONTAL .+. (if showLabels then wxSL_LABELS else 0)) props
 
 -- | Create a vertical slider with a specified minimum and maximum. Set
--- the 'Bool' argument to 'True' to show labels (minimumn, maximum, and
+-- the 'Bool' argument to 'True' to show labels (minimum, maximum, and
 -- current value). The 'selection' attribute gives the current value.
 --
 -- * Instances: 'Commanding','Selection' -- 'Textual', 'Literate', 'Dimensions', 'Colored', 'Visible', 'Child',
@@ -1293,7 +1294,7 @@ --  let w = 65 --ceiling $ size / realToFrac cols
   forM_ [0 .. cols - 1] $ \i -> listCtrlSetColumnWidth ctrl i w
 
--- | A small wrapper over WX's ListCtrl, allowing us to keep the data
+-- | A small wrapper over WX's 'ListCtrl', allowing us to keep the data
 --   we're representing as well as its string form (shown to the user as
 --   rows).
 data ListView a = ListView {
@@ -1373,16 +1374,16 @@   MediaCtrl
 --------------------------------------------------------------------------------}
 
--- | Optional back-end for your MediaCtrl.
---   If you want to know more about back-end, you must see wxWidgets' Document.
---   <http://www.wxwidgets.org/manuals/stable/wx_wxmediactrl.html#choosingbackendwxmediactrl>
+-- | Optional backend for your MediaCtrl.
+--   If you want to know more about backend, you must see wxWidgets' document:
+--   <http://docs.wxwidgets.org/trunk/classwx_media_ctrl.html#mediactrl_choosing_backend>
 data MediaCtrlBackend =
-      DirectShow            -- ^ Use ActiveMovie\/DirectShow. Default back-end on Windows.
+      DirectShow            -- ^ Use ActiveMovie\/DirectShow. Default backend on Windows.
     | MediaControlInterface -- ^ Use Media Command Interface. Windows Only.
     | WindowsMediaPlayer10  -- ^ Use Windows Media Player 10. Windows Only. Require to use wxWidgets 2.8.x.
     | QuickTime             -- ^ Use QuickTime. Mac Only. 
     | GStreamer             -- ^ Use GStreamer. Unix Only. Require GStreamer and GStreamer Support.
-    | DefaultBackend        -- ^ Use default back-end on your platform.
+    | DefaultBackend        -- ^ Use default backend on your platform.
    deriving (Eq,Show)
 
 fromMediaCtrlBackend :: MediaCtrlBackend -> String
@@ -1407,7 +1408,7 @@ mediaCtrl parent props
   = mediaCtrlEx parent defaultStyle DefaultBackend props
 
--- | Create MediaCtrl with choosing back-end. This is useful to select back-end on
+-- | Create MediaCtrl with choosing backend. This is useful to select backend on
 -- Windows. But if you don't want to cause any effect to other platforms, you must
 -- use wxToolkit or #ifdef macro to choose correct function for platforms.
 -- For example,
@@ -1507,7 +1508,7 @@   = newEvent "wizardEvent" wizardGetOnWizEvent wizardOnWizEvent
  
 -- | Run the wizard.
--- IMPORTANT: `windowDestroy` needs to be called on the wizard when it is no longer used. After
+-- IMPORTANT: `windowDestroy` must be called on the wizard when it is no longer used. After
 -- `windowDestroy` has been called, the wizard or any of its children must not be accessed anymore.
 runWizard :: Wizard a -> WizardPage b -> IO Bool
 runWizard wiz page = wizardRunWizard wiz page >>= return . (/=0)
src/Graphics/UI/WX/Dialogs.hs view
@@ -1,12 +1,13 @@ {-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-}
 --------------------------------------------------------------------------------
-{-| Module      :  Dialogs
-    Copyright   :  (c) Daan Leijen 2003
-    License     :  wxWindows
+{-|
+Module      :  Dialogs
+Copyright   :  (c) Daan Leijen 2003
+License     :  wxWindows
 
-    Maintainer  :  wxhaskell-devel@lists.sourceforge.net
-    Stability   :  provisional
-    Portability :  portable
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
 
 Defines common dialogs.
 
src/Graphics/UI/WX/Draw.hs view
@@ -1,12 +1,13 @@ {-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-}
 --------------------------------------------------------------------------------
-{-|	Module      :  Draw
-	Copyright   :  (c) Daan Leijen 2003
-	License     :  wxWindows
+{-|
+Module      :  Draw
+Copyright   :  (c) Daan Leijen 2003
+License     :  wxWindows
 
-	Maintainer  :  wxhaskell-devel@lists.sourceforge.net
-	Stability   :  provisional
-	Portability :  portable
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
 
 Drawing.
 
@@ -216,4 +217,4 @@ drawImage dc image pt props
   = do bm <- bitmapCreateFromImage image (-1)
        drawBitmap dc bm pt False props
-       bitmapDelete bm+       bitmapDelete bm
src/Graphics/UI/WX/Events.hs view
@@ -1,13 +1,14 @@ 
 --------------------------------------------------------------------------------
-{-|	Module      :  Events
-	Copyright   :  (c) Daan Leijen 2003
-	               (c) Shelarcy (shelarcy@gmail.com) 2006
-	License     :  wxWindows
+{-|
+Module      :  Events
+Copyright   :  (c) Daan Leijen 2003
+               (c) Shelarcy (shelarcy@gmail.com) 2006
+License     :  wxWindows
 
-	Maintainer  :  wxhaskell-devel@lists.sourceforge.net
-	Stability   :  provisional
-	Portability :  portable
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
 
 Define event handling. Events are parametrised by the widget that can
 correspond to a certain event and the type of the event handler.
@@ -16,7 +17,7 @@ > Reactive w => Event w (IO ())
 
 This means that all widgets in the 'Reactive' class can respond to
-'resize' events. (and since 'Window' is an instance of this class, this
+'resize' events (and since 'Window' is an instance of this class, this
 means that basically all visible widgets are reactive).
 
 An @Event w a@ can be transformed into an attribute of type 'Attr' @w a@
@@ -28,7 +29,7 @@ For convenience, the 'mouse' and 'keyboard' have a serie of /event filters/:
 'click', 'drag', 'enterKey', 'charKey', etc. These filters are write-only
 and do not overwrite any previous mouse or keyboard handler but all stay
-active at the same time. However, all filter will be overwritten again
+active at the same time. However, all filters will be overwritten again
 when 'mouse' or 'keyboard' is set again. For example, the following program
 makes sense:
 
@@ -40,7 +41,7 @@ 
 If you want to set the 'mouse' later but retain the old event filters,
 you can first read the current 'mouse' handler and call it in the 
-new handler (and the same for the 'keyboard' of course). This implemenation
+new handler (and the same for the 'keyboard', of course). This implementation
 technique is used to implement event filters themselves and is also
 very useful when setting an event handler for a 'closing' event:
 
src/Graphics/UI/WX/Frame.hs view
@@ -1,13 +1,14 @@ 
 --------------------------------------------------------------------------------
-{-|	Module      :  Frame
-	Copyright   :  (c) Daan Leijen 2003
-	               (c) Jeremy O'Donoghue 2007
-	License     :  wxWindows
+{-|
+Module      :  Frame
+Copyright   :  (c) Daan Leijen 2003
+               (c) Jeremy O'Donoghue 2007
+License     :  wxWindows
 
-	Maintainer  :  wxhaskell-devel@lists.sourceforge.net
-	Stability   :  provisional
-	Portability :  portable
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
 
 Frames.
     
@@ -83,7 +84,7 @@ frameLoadRes rc name props = 
     frameLoadChildRes objectNull rc name props
 
--- | Complete the construction of a frame whcih is the child of some
+-- | Complete the construction of a frame which is the child of some
 --   existing parent window.
 frameLoadChildRes :: Window a -> FilePath -> String -> [Prop (Frame ())] -> IO (Frame ())
 frameLoadChildRes parent rc name props =
src/Graphics/UI/WX/Layout.hs view
@@ -1,12 +1,13 @@ 
 -----------------------------------------------------------------------------------------
-{-|	Module      :  Layout
-	Copyright   :  (c) Daan Leijen 2003
-	License     :  BSD-style
+{-|
+Module      :  Layout
+Copyright   :  (c) Daan Leijen 2003
+License     :  BSD-style
 
-	Maintainer  :  wxhaskell-devel@lists.sourceforge.net
-	Stability   :  provisional
-	Portability :  portable
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
 
 Just re-exports functionality of "Graphics.UI.WXCore.Layout". See that module
 for a description of layout combinators. 
@@ -40,4 +41,4 @@ -- | Forms can contain other widgets.
 class Form w where
   -- | Set the layout of the child widgets.
-  layout :: Attr w Layout+  layout :: Attr w Layout
src/Graphics/UI/WX/Media.hs view
@@ -1,13 +1,14 @@ {-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-}
 --------------------------------------------------------------------------------
-{-|	Module      :  Media
-	Copyright   :  (c) Daan Leijen 2003
-	               (c) shelarcy 2007
-	License     :  wxWindows
+{-|
+Module      :  Media
+Copyright   :  (c) Daan Leijen 2003
+               (c) shelarcy 2007
+License     :  wxWindows
 
-	Maintainer  :  wxhaskell-devel@lists.sourceforge.net
-	Stability   :  provisional
-	Portability :  portable
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
 
 Images, Media, Sounds, and action!
 -}
@@ -38,7 +39,7 @@ -- | Return a managed bitmap object. Bitmaps are abstract images used
 -- for drawing to a device context. The file path should point to
 -- a valid bitmap file, normally a @.ico@, @.bmp@, @.xpm@, or @.png@,
--- but any file format supported by |Image| is correctly loaded.
+-- but any file format supported by 'Image' is correctly loaded.
 --
 -- Instances: 'Sized'.
 bitmap :: FilePath -> Bitmap ()
@@ -58,7 +59,7 @@ --------------------------------------------------------------------}
 -- | Return a managed image. Images are platform independent representations
 -- of pictures, using an array of rgb pixels. See "Graphics.UI.WXCore.Image" for
--- lowlevel pixel manipulation. The file path should point to
+-- low-level pixel manipulation. The file path should point to
 -- a valid image file, like @.jpg@, @.bmp@, @.xpm@, or @.png@, for example.
 --
 -- Instances: 'Sized'.
src/Graphics/UI/WX/Menu.hs view
@@ -1,13 +1,14 @@ {-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-}
 --------------------------------------------------------------------------------
-{-|	Module      :  Menu
-	Copyright   :  (c) Daan Leijen 2003
-	               (c) Shelarcy (shelarcy@gmail.com) 2006
-	License     :  wxWindows
+{-|
+Module      :  Menu
+Copyright   :  (c) Daan Leijen 2003
+               (c) Shelarcy (shelarcy@gmail.com) 2006
+License     :  wxWindows
 
-	Maintainer  :  wxhaskell-devel@lists.sourceforge.net
-	Stability   :  provisional
-	Portability :  portable
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
 
 Defines Menus, toolbars, and statusbars.
     
@@ -15,7 +16,7 @@ that can contain 'menuItem's. Menu items can contain event handlers
 using ('on' 'command'), but they can also be set, using the 'menu'
 function, on a frame or (mdi) window so that the menu command is handled
-in the context of the active window instead of the context of the
+in the context of the active window, instead of the context of the
 entire application. 
 
 > do frame  <- frame    [text := "Demo"]
@@ -131,8 +132,6 @@ menuHelp props
   = menuPane ([text := "&Help"] ++ props)
 
--- | Complete the construction of a menu which has been loaded
---   from a resource file.
 -- | Get a menu by name from a menu loaded from a resource file, 
 --   given the frame which owns the menu. You
 --   can directly set properties on the item as part of the call, which
@@ -176,7 +175,7 @@ 
 -- | Append a menu item. The label can contain
 -- menu accellerators by using an ampersand. It can also contain keyboard accellerators
--- after a tab (@'\\t'@) character.
+-- after a tab (@'\t'@) character.
 --
 -- > menuItem menu [text := "&Open\tCtrl+O", help := "Opens an existing document"] 
 --
@@ -514,7 +513,7 @@       setter (ToolBarItem toolbar id isToggle) io
         = evtHandlerOnMenuCommand toolbar id io
 
--- | React on tool event. (normally handled by 'menu' though, so only use this
+-- | React on tool event (normally handled by 'menu' though, so only use this
 -- for orphan toolbar items).
 tool :: ToolBarItem -> Event (Window w) (IO ())
 tool (ToolBarItem toolbar id isToggle)
@@ -525,11 +524,11 @@     setter w io
       = evtHandlerOnMenuCommand w id io
 
--- | Create a tool bar item based on a menu. Takes a a relevant menu
--- item, a label and an image file (bmp, png, gif, ico, etc.) as arguments. The image
--- file is normally 16x15 pixels.
+-- | Create a tool bar item based on a menu. Takes a relevant menu
+-- item, a label and an image file (bmp, png, gif, ico, etc.) as arguments. The image from the
+-- file is normally 16 pixels wide and 15 pixels high.
 -- The toolbar item will fire the relevant menu items just as if the menu has been selected.
--- Checkable menus will give a checkable toolbar item. Beware though that checkable tools
+-- Checkable menus will give a checkable toolbar item. Beware though, that checkable tools
 -- normally require a specific @on command@ handler to keep them synchronised with the 
 -- corresponding menu item.
 toolMenu :: ToolBar a -> MenuItem a -> String -> FilePath -> [Prop ToolBarItem] -> IO ToolBarItem
src/Graphics/UI/WX/Timer.hs view
@@ -1,14 +1,15 @@ {-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-}
 --------------------------------------------------------------------------------
-{-|	Module      :  Timer
-	Copyright   :  (c) Daan Leijen 2003
-	License     :  wxWindows
+{-|
+Module      :  Timer
+Copyright   :  (c) Daan Leijen 2003
+License     :  wxWindows
 
-	Maintainer  :  wxhaskell-devel@lists.sourceforge.net
-	Stability   :  provisional
-	Portability :  portable
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
 
-Support for milli-second timers.
+Support for millisecond timers.
 -}
 --------------------------------------------------------------------------------
 module Graphics.UI.WX.Timer
@@ -27,7 +28,7 @@ {--------------------------------------------------------------------
 
 --------------------------------------------------------------------}
--- | A timer generates a 'command' event on a specified milli-second 'interval'.
+-- | A timer generates a 'command' event on a specified millisecond 'interval'.
 --
 -- * Attributes: 'interval'
 --
@@ -44,7 +45,7 @@        set t props
        return t
 
--- | The milli-second interval of the timer.
+-- | The millisecond interval of the timer.
 interval :: Attr Timer Int
 interval
   = newAttr "timer-interval"
@@ -71,4 +72,4 @@ 
 instance Commanding Timer where
   command
-    = newEvent "command" timerGetOnCommand timerOnCommand+    = newEvent "command" timerGetOnCommand timerOnCommand
src/Graphics/UI/WX/TopLevelWindow.hs view
@@ -1,12 +1,13 @@ {-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-}
 --------------------------------------------------------------------------------
-{-|	Module      :  TopLevelWindow
-	Copyright   :  (c) Jeremy O'Donoghue, 2007
-	License     :  wxWindows
+{-|
+Module      :  TopLevelWindow
+Copyright   :  (c) Jeremy O'Donoghue, 2007
+License     :  wxWindows
 
-	Maintainer  :  wxhaskell-devel@lists.sourceforge.net
-	Stability   :  provisional
-	Portability :  portable
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
 
 wxTopLevelwindow (wxWidgets >= 2.8.0) defines an (abstract) common base class
 for wxFrame and wxDialog.
src/Graphics/UI/WX/Types.hs view
@@ -1,12 +1,13 @@ {-# LANGUAGE ScopedTypeVariables #-}
 --------------------------------------------------------------------------------
-{-|	Module      :  Types
-	Copyright   :  (c) Daan Leijen 2003
-	License     :  wxWindows
+{-|
+Module      :  Types
+Copyright   :  (c) Daan Leijen 2003
+License     :  wxWindows
 
-	Maintainer  :  wxhaskell-devel@lists.sourceforge.net
-	Stability   :  provisional
-	Portability :  portable
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
 
 Basic types.
 -}
@@ -141,4 +142,4 @@ -- | Create a bitmask from a list of types.
 mask :: BitMask b => [b] -> Int
 mask xs
-  = foldr (.+.) 0 (map toBitMask xs)+  = foldr (.+.) 0 (map toBitMask xs)
src/Graphics/UI/WX/Variable.hs view
@@ -1,11 +1,12 @@ --------------------------------------------------------------------------------
-{-|	Module      :  Variable
-	Copyright   :  (c) Daan Leijen 2003
-	License     :  wxWindows
+{-|
+Module      :  Variable
+Copyright   :  (c) Daan Leijen 2003
+License     :  wxWindows
 
-	Maintainer  :  wxhaskell-devel@lists.sourceforge.net
-	Stability   :  provisional
-	Portability :  portable
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
 
 Mutable variables.
 -}
src/Graphics/UI/WX/Window.hs view
@@ -2,13 +2,14 @@ {-# LANGUAGE FlexibleInstances     #-}
 {-# LANGUAGE TypeSynonymInstances  #-}
 --------------------------------------------------------------------------------
-{-|	Module      :  Window
-	Copyright   :  (c) Daan Leijen 2003
-	License     :  wxWindows
+{-|
+Module      :  Window
+Copyright   :  (c) Daan Leijen 2003
+License     :  wxWindows
 
-	Maintainer  :  wxhaskell-devel@lists.sourceforge.net
-	Stability   :  provisional
-	Portability :  portable
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
 
 Exports default instances for generic windows.
 
@@ -340,7 +341,7 @@ 
 -- | Ensure that a widget is refitted inside a window when
 -- its size changes, for example when the 'text' of a 
--- 'staticText' control changes. (calls 'windowReFit')
+-- 'staticText' control changes. (Calls 'windowReFit')
 refit :: Window a -> IO ()
 refit w
   = windowReFit w
@@ -348,7 +349,7 @@ -- | Ensure that a widget is refitted inside a window when
 -- its size changes, for example when the 'text' of a 
 -- 'staticText' control changes. Always resizes the
--- window to its minimal acceptable size. (calls 'windowReFitMinimal')
+-- window to its minimal acceptable size. (Calls 'windowReFitMinimal')
 refitMinimal :: Window a -> IO ()
 refitMinimal w
   = windowReFitMinimal w
wx.cabal view
@@ -1,8 +1,8 @@ Name:           wx
-Version:        0.92.0.0
+Version:        0.92.1.0
 License:        OtherLicense
 License-file:   license.txt
-Homepage:       http://haskell.org/haskellwiki/WxHaskell
+Homepage:       https://wiki.haskell.org/WxHaskell
 Author:         Daan Leijen
 Build-Type:     Simple
 Category:       GUI, User interfaces