Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: mchrk on April 11, 2006, 07:46:10 pm

Title: Coedblocks + textfield + menu
Post by: mchrk on April 11, 2006, 07:46:10 pm
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?


Title: Re: Coedblocks + textfield + menu
Post by: takeshimiya on April 11, 2006, 07:58:59 pm
It is a default menu for textfields in wxwidgets.

Quote
And if it is a standard menu, is there a way to edit it?
No, no edit. But one can override the entire menu with a new one.
Title: Re: Coedblocks + textfield + menu
Post by: mchrk on April 11, 2006, 08:16:27 pm
Great, override it sounds good  :)
If you have time you can always post an example, else I just search the web for it :p
Title: Re: Coedblocks + textfield + menu
Post by: takeshimiya on April 11, 2006, 09:19:34 pm
Take a look at the file plugins/compilergcc/compilermessages.cpp, since it does that (on the Build messages tab).