User forums > General (but related to Code::Blocks)

Coedblocks + textfield + menu

(1/1)

mchrk:
I was messing around with the source to codeblocks and wanted to try something out.
In the "Build log" window, in the textarea, if you right-click there you get a menu with som options, Cut/Copy/Paste/Delete/Select All/Input Methodes/Insert Unicode Control Character.
Is this menu "controlled" by codeblocks, if it is, where? cant find it. Or is it a default menu for textfields in wxwidgets? And if it is a standard menu, is there a way to edit it?


takeshimiya:
It is a default menu for textfields in wxwidgets.


--- Quote ---And if it is a standard menu, is there a way to edit it?
--- End quote ---
No, no edit. But one can override the entire menu with a new one.

mchrk:
Great, override it sounds good  :)
If you have time you can always post an example, else I just search the web for it :p

takeshimiya:
Take a look at the file plugins/compilergcc/compilermessages.cpp, since it does that (on the Build messages tab).

Navigation

[0] Message Index

Go to full version