[wxPython] wxStyledTextCtrl: Bugs + questions

Hi all

win98se, py2.2, wxPy 2.3.3pre4

Problems with the wxStyledTextCtrl (pobably 1.46?).

1) self UsePopUp(false) or self.UsePopUp(0) seems not to be ok.
(self beeing a wxStyledTextCtrl)
I can not desable the PopUp menu.

2) Are the events:
EVT_CONTEXT_MENU(self, self.OnContextMenu)
EVT_MOUSE_RIGHT_UP(self, self.OnMouseRightUp)
valid python events?

3) May I define my own PopUp window (menu)?

4) How can I get the event raised from the PopUp window. If I want to
bypass these
events.

Regards
Jean-Michel Fauth, Switzerland

Problems with the wxStyledTextCtrl (pobably 1.46?).

1) self UsePopUp(false) or self.UsePopUp(0) seems not to be ok.
(self beeing a wxStyledTextCtrl)
I can not desable the PopUp menu.

I'll check in a fix for this today.

2) Are the events:
EVT_CONTEXT_MENU(self, self.OnContextMenu)
EVT_MOUSE_RIGHT_UP(self, self.OnMouseRightUp)
valid python events?

Yes.

3) May I define my own PopUp window (menu)?

Yes...

4) How can I get the event raised from the PopUp window. If I want to
bypass these
events.

..see the demo in wxListCtrl.py for an example.

ยทยทยท

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