[Mac, 2.8.2] Handling menu open event

Yaron Tadmor YaronT at HumanEyes.com
Tue Jul 17 06:52:47 PDT 2007


Yes, but the code that wants to hook to the menu, doesn't have direct
access to the frame.
So the question is this: Should I change my code so I have access to the
frame, or can I just access one of the menus in the menubar and get the
frame from it?


> -----Original Message-----
> From: Vadim Zeitlin [mailto:vadim at wxwidgets.org]
> Sent: Tuesday, July 17, 2007 2:47 PM
> To: wx-users at lists.wxwidgets.org
> Subject: Re[2]: [Mac, 2.8.2] Handling menu open event
> 
> On Tue, 17 Jul 2007 15:04:21 +0200 Yaron Tadmor <YaronT at HumanEyes.com>
> wrote:
> 
> YT> So I would have to know what frame the menu belongs to, right?
> 
>  Well, yes, but you already must know it to add a menu to it, don't
you?
> VZ
> 
> --
> TT-Solutions: wxWidgets consultancy and technical support
>                http://www.tt-solutions.com/
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
> 





More information about the wx-users mailing list