Hi everybody,
is there a way to add items to the right-click context menu of wxStyledTextCtrl?
Thanks in advance an best regards,
doctor_vitus
Extend context menu of wxStyledTextCtrl
-
- In need of some credit
- Posts: 6
- Joined: Fri Jan 04, 2013 8:43 pm
- Location: Near Düsseldorf (Germany)
Re: Extend context menu of wxStyledTextCtrl
Looking through the STC source code, i don't think it's possible to extend it. You can only override it completely.
Use the source, Luke!
-
- Super wx Problem Solver
- Posts: 469
- Joined: Tue Jun 20, 2006 6:47 pm
- Contact:
Re: Extend context menu of wxStyledTextCtrl
I dont think there is anyway to modify the built in context menu, but you can call UsePopUp(wxSTC_POPUP_NEVER); and implement your own context menu.
-
- In need of some credit
- Posts: 6
- Joined: Fri Jan 04, 2013 8:43 pm
- Location: Near Düsseldorf (Germany)
Re: Extend context menu of wxStyledTextCtrl
Thanks a lot for your replies. I'll give it a try.