Re: [wxlua-users] Context menus

2009-10-21 Thread Michael Gerbracht
In article <34ed8a290910210218n2e3f41c2w8c357cf1bd3ee...@mail.gmail.com>, Eero Pajarre wrote: > On Wed, Oct 21, 2009 at 11:06 AM, Michael Gerbracht > wrote: > > I have a follow up question now: I would like to use the same menu on > > different TreeCtrl panes so I need a way to find out on wh

Re: [wxlua-users] Context menus

2009-10-21 Thread Eero Pajarre
On Wed, Oct 21, 2009 at 11:06 AM, Michael Gerbracht wrote: > I have a follow up question now: > I would like to use the same menu on different TreeCtrl panes so I need a way > to find out on which of the windows the mouse button was pressed. I would probably bind a different function to differen

Re: [wxlua-users] Context menus

2009-10-21 Thread Michael Gerbracht
In article , John Labenski wrote: > On Mon, Oct 19, 2009 at 4:40 AM, Michael Gerbracht > wrote: > > I am new to wxLua and would like to know how to add a context menu to a > > winodw (I know how to create a menu bar). The window is a TreeCtrl pane > > of a AUI frame if this makes anydifference

Re: [wxlua-users] Context menus

2009-10-19 Thread John Labenski
On Mon, Oct 19, 2009 at 4:40 AM, Michael Gerbracht wrote: > I am new to wxLua and would like to know how to add a context menu to a > winodw (I know how to create a menu bar). > The window is a TreeCtrl pane of a AUI frame if this makes anydifference. > You want to create a wxMenu and call wxWind