Hi,

On Thu, 18 Sep 2008 20:14:48 +0900, Miguel Vilaca <[EMAIL PROTECTED]> wrote:
> When compiling my code using the current version of wxHaskell in the
> official repository, GHC complains of the non-existance of the functions
> frameIsIconized
> frameIsMaximized

wxWidgets moved IsIconized and IsMaximized method from wxFrame class to
wxTopLevelWindows class.

> although the wxWidgets documentation at 
> http://docs.wxwidgets.org/2.8.4/wx_wxtoplevelwindow.html
> still mention the respective methods:
> wxTopLevelWindow::IsFullScreen
> wxTopLevelWindow::IsIconized
> wxTopLevelWindow::IsMaximized

And wxHaskell follows those changes in latest darcs repository. So, you
must use topLevelWindowIsIconized and topLevelWindowIsMaximized instead
of frame* functions.

topLevelWindowIsIconized :: TopLevelWindow a -> IO Bool
usage: (topLevelWindowIsIconized obj). 

topLevelWindowIsMaximized :: TopLevelWindow a -> IO Bool
usage: (topLevelWindowIsMaximized obj).


Best Regards,

-- 
shelarcy <shelarcy    hotmail.co.jp>
http://page.freett.com/shelarcy/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to