Tell us how to reproduce your bugs. Otherwise, how can we help you???
I don't have such issue. But please note that the C++ parser in our CodeCompletion is not 100% good enough.
The OP has given you all the information that you need. The important bit was that he is using wx2.9.3
Here is my guess:
Since wxWidgets 2.9.3, the wx team changed the inheritance of their base classes.
If in wx < 2.9.3 the inheritance was something like this:
wxPanel -> wxPanelbase -> wxWindow -> ...
it is now has become:
wxPanel -> wxPanelBase -> wxNavigationEnabled<wxWindow>
So C::B should be able to handle this kind of inheritance, otherwise all the basic wxWindow functions will not be available (like: GetSizer(), GetSize(), Create(), SetBackgroundColour() etc. which are all members of wxWindow)
HTH,
Eran
Thanks, I just test it, and I see that CC's parser does not handle wxNavigationEnabled<wxWindow> correctly under wx 2.9.x.
I see some code like:
// The template parameter W must be a wxWindow-derived class.
template <class W>
class wxNavigationEnabled : public W
{
public:
typedef W BaseWindowClass;
So, wxNavigationEnabled<wxWindow> is in fact a descendant of wxWindow.