From: Fernando B. <gre...@gm...> - 2009-10-12 23:30:08
|
Hi people, I'm trying to add a menu to my wxhaskell app. I'm working with the latest wxhasell version (downloaded using darcs) and wxMac-2.8.10 and I think that there're some incongruences between them. More specifically, in WxcDefs. 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. I didn't check other platforms or wx versions, but in OSX Find is working as Duplicate (i.e. the menu is not enabled until something is selected). |