Author Topic: The "Insert class method..." dialog  (Read 4327 times)

Offline ArKay

  • Single posting newcomer
  • *
  • Posts: 4
The "Insert class method..." dialog
« on: April 01, 2008, 04:21:12 pm »
I have to say that I find that dialog pretty useless since it shows hundreds (if not thousands?) of "Known classes" and locating the one I'm interested in is usually next to impossible.  It would be useful if...

a) the list would be sorted

and/or

b) there would be a filter control

Offline ArKay

  • Single posting newcomer
  • *
  • Posts: 4
Re: The "Insert class method..." dialog
« Reply #1 on: April 05, 2008, 05:19:30 pm »
I patched it a little (against the svn tree)...

- xrc: wxListBox -> wxLB_HSCROLL|wxLB_NEEDED_SB|wxLB_SORT
- cpp: only show classes / structs which actually have something to implement (at least 1 ctor/dtor/method)

Maybe someone finds this useful. :)

Edit: Attached a usable zipped diff which contains full paths.

[attachment deleted by admin]
« Last Edit: April 05, 2008, 08:59:02 pm by ArKay »

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The "Insert class method..." dialog
« Reply #2 on: April 05, 2008, 05:30:29 pm »
Please post this patch at Berlios. :)
Be a part of the solution, not a part of the problem.

Offline ArKay

  • Single posting newcomer
  • *
  • Posts: 4
« Last Edit: April 05, 2008, 06:00:52 pm by ArKay »