News:

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

Main Menu

CC misses wxFrame class

Started by szczepan, September 22, 2006, 04:04:57 AM

Previous topic - Next topic

szczepan

Version 1.0 revision 0 () gcc 4.1.1 Linux/unicode
Build 2987

All obvious steps taken (follow local/global includes, parse preprocessor directives), the parser still misses at least the wxFrame class when parsing sources in a wxWidgets application project freshly created with the wizard. To reproduce:

1. Create a new wxWidgets applicatin project
2. Open app.cpp:

#include "app.h"
#include "main.h"

IMPLEMENT_APP(MyApp);

bool MyApp::OnInit()
{
MyFrame* frame = new MyFrame(0L, _("wxWidgets Application Template"));
frame->Show();
return true;
}


3. Insert blank line just above frame->Show();
4. Type:

frame->


Code completion kicks in, but only shows methods defined in MyFrame: ctor, OnAbout(), OnQuit(), and dtor. No methods from base classes.

5. Type:

wxFra


Code completion kicks in again, but wxFrame is not on the list, only wxFrameBase is.

Anyone else having the same problem?

szczepan

Really works for everyone except me?