Re: [wxhaskell-users] Windows 7 GetCommandLine call interference

2015-03-28 Thread Michael Jones
I also notice that if I use the git repo:head for wxHaskell on Linux, I get a similar error + Usage as windows, but on the command line. The version of wxHaskell that cabal fetches does not have this problem. On windows, I took the repo:head because the released wxHaskell that cabal downloads

Re: [wxhaskell-users] Windows 7 GetCommandLine call interference

2015-03-28 Thread Michael Jones
There is a response from wxWidgets trac #16935: http://trac.wxwidgets.org/ticket/16935#comment:1 On Mar 28, 2015, at 5:12 PM, Henk-Jan van Tuyl hjgt...@chello.nl wrote: On Wed, 25 Mar 2015 22:57:12 +0100, Michael Jones m...@proclivis.com wrote: On Win 7... The latest code on github

Re: [wxhaskell-users] Windows 7 GetCommandLine call interference

2015-03-28 Thread Henk-Jan van Tuyl
On Wed, 25 Mar 2015 22:57:12 +0100, Michael Jones m...@proclivis.com wrote: On Win 7... The latest code on github seems to result in a wxWidgets call to LPTSTR WINAPI GetCommandLine(void); This results in popping a dialog complaining about command options. On Linux this does not

[wxhaskell-users] Is there a way to send a code to execute on main wx thread?

2015-03-28 Thread Grzegorz Milka
Hello, I am using wxHaskell to show a simple window with a button. A click on the button begins a task which takes a screenshot of the screen, does some computation on it and then simulates mouse clicks. Currently this task runs in the main wx thread, which makes the button unnecessarily

[wxhaskell-users] installation problem on Win 8.1, WXCFG

2015-03-28 Thread Andrew Butterfield
All, I've been following the installation instructions in section 1 of https://wiki.haskell.org/WxHaskell/Windows wxWidgets 3.0 and wxhaskell =0.92 All goes well until I try to install wxc -- log extract start - ... Installed wxdirect-0.92.0.0 C:\ghc\wxHaskellcabal install

Re: [wxhaskell-users] installation problem on Win 8.1, WXCFG

2015-03-28 Thread Michael Jones
Andrew, I just compiled on Win 7 64 bit. I’m not experienced with compiling wxWidgets, but this is what I did: Installed TDM GCC 64 bit. Change path to put it before the Haskell gcc Downloaded wxWidgets 3.0.2 tarball. Not the git head. It had some problems compiling. export