CollapsiblePane popupmenu

Hi!

I'm trying to add popupmenu to a CollapsiblePane binding the pane to
the wx.EVT_CONTEXT_MENU event. But the popupmenu appears only in the
inside of the pane. :frowning: When i click on the label, or the pane nothing
happens.
Is there a way to get it working on the label too?

Thanks in advance

Istvan Szentandrasi

Szentandrasi Istvan wrote:

Hi!

I'm trying to add popupmenu to a CollapsiblePane binding the pane to
the wx.EVT_CONTEXT_MENU event. But the popupmenu appears only in the
inside of the pane. :frowning: When i click on the label, or the pane nothing
happens.
Is there a way to get it working on the label too?

Bind a handler for the EVT_CONTEXT_MENU even from those widgets too.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!