has a bug in build 6931,
when change an Identifier of wxMenu using the "properties table", the value is changed to wxID_ANY.
when change an Identifier of wxMenu using the "MenuBar editor" in the field "Id:", the problems not ocurr.
Thanks!
If it only happens for wxMenu's with default ID (as created by wxSmith and with IsMember unchecked, it's a known behaviour.
See here: http://forums.next.codeblocks.org/index.php/topic,14028.0.html (http://forums.next.codeblocks.org/index.php/topic,14028.0.html)
I started a discussion about it, but there is no finally solution at the moment.