News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Code Completion with class templates

Started by qtreez, March 01, 2015, 07:05:17 PM

Previous topic - Next topic

qtreez

It is possible that Code Completions works with templates?

For example class wxListBox inherits from the wxControlWithItemsBase (indirectly, but that is not important) and wxWindowWithItems is class template as you can see below:


class  wxControlWithItemsBase :
    public wxWindowWithItems<wxControl, wxItemContainer>
{ };


template <class W, class C>
class wxWindowWithItems : public W, public C
{ };


Code Completion doesn't complete methods from wxControl nor wxItemContainer classes.
This feature would be quite helpful.

oBFusCATed

Can you reproduce this problem with a simple example that doesn't use any other library?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]