From: Eric K. <eri...@gm...> - 2009-10-13 08:33:36
|
Hi Fernando, On Mon, Oct 12, 2009 at 20:29:50 -0300, Fernando Benavides wrote: > If you check the sources of wxMac-2.8.10 you'll find a file called > include/wx/defs.h. According to this file, for example, wxID_FIND is > 5035 but Graphics.UI.WXCore.WxcDefs.wxID_FIND is defined as 5034 and > Graphics.UI.WXCore.WxcDefs.wxID_DUPLICATE is 5035. Sounds like a bug. I see that the above module is autogenerated, but I suppose the problem is that the underlying Eiffel file wx_defs.e has this misset. So this looks like us falling afoul of the old maxim: Duplication is the root of all evil. Do you think you could possibly investigate how to generate from the wxWidgets headers directly instead of from our own hard copy? I believe all the wxHaskell developers are busy, and in any case focused on getting the new wxcore stuff ( git clone git://github.com/bsl/wxcore ) working better with Windows and integrated into the main Darcs repository. If we could polish this work off and fix Conal's GHCi problem, we could have a really nice release on our hands, gain some ground back from gtk2hs, native widgets FTW. Eric PS: I have a snippet of Haskell code to generate application bundles directly as a Cabal install hook. No more silly macosx-app script. Perhaps I should stick it on hackage or something... -- Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> PGP Key ID: 08AC04F9 |