Re: [wxhaskell-devel] wxHaskell with wxWidgets 2.9.2

2011-11-03 Thread Eric Kow
Try this On 3 Nov 2011, at 15:09, Alessandro Vermeulen wrote: > Currently I'm stuck at events. Some of them from Webkit others more general, > to do with power. > > Attached is the patch up until now. disable-webkit-and-power-events-that-were-causing-compile-errors_.dpatch Description: Binar

Re: [wxhaskell-devel] wxHaskell with wxWidgets 2.9.2

2011-11-03 Thread Eric Kow
> Also how should I create a new patch of my changes? I've included the whole > source file for now. First, have a look at http://wiki.darcs.net/Msmtp unless you've already got an MTA configured Then darcs record darcs send Thanks, -- Eric Kow

Re: [wxhaskell-devel] wxHaskell with wxWidgets 2.9.2

2011-11-03 Thread Alessandro Vermeulen
According to #wxwidgets it is safe to remove the parameter as it wasn't used anyway.[12:05:56]  Spockz: The 'cursorHotspot' parameter isn't used so, Yes, it's safe for wxHaskell to drop itSo I did this and I stumble on the following:src/cpp/eljcombobox.cpp:171:0:     error: request for member ‘SetC

Re: [wxhaskell-devel] wxHaskell with wxWidgets 2.9.2

2011-11-03 Thread Eric Kow
On 3 Nov 2011, at 06:53, Alessandro Vermeulen wrote: > I've applied your patches, and I though it build… however, it get's stuck > further on, is there where you are stuck too? Yup. If I understand correctly, we're trying to use a constructor for wxDragImage that has been deprecated for a *lon

Re: [wxhaskell-devel] wxHaskell with wxWidgets 2.9.2

2011-11-03 Thread Alessandro Vermeulen
I've applied your patches, and I though it build… however, it get's stuck further on, is there where you are stuck too? > src/cpp/apppath.cpp: In function ‘wxString GetApplicationPath()’: > > src/cpp/apppath.cpp:34:0: > warning: ‘NSIsSymbolNameDefined’ is deprecated (declared at > /usr/inc

Re: [wxhaskell-devel] wxHaskell with wxWidgets 2.9.2

2011-11-03 Thread Eric Kow
Whoops, forgot to record. Take this one too rudimentary-replacement-for-wx_config_.dpatch Description: Binary data On 3 Nov 2011, at 05:55, Eric Kow wrote > Nice, thanks for the Homebrew formula > > I have a fix for that one, but it doesn't generalise very well (ie. outside > of Mac + wx2

Re: [wxhaskell-devel] wxHaskell with wxWidgets 2.9.2

2011-11-03 Thread Alessandro Vermeulen
I got the head version of the repository tonight and I tried to build it, which gave me the following error: Configuring wxcore-0.13.1... setup: Missing dependencies on foreign libraries: * Missing C libraries: wx_baseu-2.9, wx_baseu_net-2.9, wx_baseu_xml-2.9, wx_osx_cocoau_core-2.9, wx_osx_cocoa

Re: [wxhaskell-devel] wxHaskell with wxWidgets 2.9.2

2011-11-02 Thread Alessandro Vermeulen
Ok, I did that. However, I still (not surprisingly) get the other error messages: > src/include/wrapper.h:350:0: > error: invalid cast from type ‘wxCStrData’ to type ‘void*’ > src/include/wrapper.h: In member function ‘virtual wxChar* > ELJConnection::OnRequest(const wxString&, const wxStri

Re: [wxhaskell-devel] wxHaskell with wxWidgets 2.9.2

2011-11-02 Thread Dave Tapley
Interesting, it looks like this was fixed at some point, but the fix never made it in to a release on hackage. You'll need to either remove, or more correctly #if out this line: #include "wx/tabctrl.h" As shown in here: http://code.haskell.org/wxhaskell/wxcore/src/include/wrapper.h Perhaps someo