You should be able to call evt.GetId() to get the identifier
associated with the menu item. Then of course you'll want to use more
useful identifiers than whatever comes out of wx.NewId -- or at least,
keep a mapping of those IDs to your projects.
That was just what I was looking for - I'd already kept a mapping of
the menu IDs so this was perfect!
Thanks!