Binding event to wxMenu instead of wxMenuItem
Posted
by Gero
on Stack Overflow
See other posts from Stack Overflow
or by Gero
Published on 2010-02-01T03:57:20Z
Indexed on
2010/03/09
5:06 UTC
Read the original article
Hit count: 353
Im creating a dynamic MenuBar from xml file, and binding events to menu items using Connect().
Some menus does not have items inside, but needs to fire events.
Is there a way to attach an event handler to a wxMenu using Connect()?
*Im Using wxWidgets 2.8.8 & MS VC++ 6.0
© Stack Overflow or respective owner