Author Topic: Coedblocks + textfield + menu  (Read 2420 times)

Offline hubbabubba

  • Single posting newcomer
  • *
  • Posts: 7
Coedblocks + textfield + menu
« 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?


« Last Edit: April 11, 2006, 07:48:31 pm by mchrk »

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Re: Coedblocks + textfield + menu
« Reply #1 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.

Offline hubbabubba

  • Single posting newcomer
  • *
  • Posts: 7
Re: Coedblocks + textfield + menu
« Reply #2 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

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Re: Coedblocks + textfield + menu
« Reply #3 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).