Author Topic: CC misses wxFrame class  (Read 4606 times)

Offline szczepan

  • Multiple posting newcomer
  • *
  • Posts: 42
CC misses wxFrame class
« on: September 22, 2006, 04:04:57 am »
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:

Code
#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:
Code
	frame->

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

5. Type:
Code
	wxFra

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

Anyone else having the same problem?

Offline szczepan

  • Multiple posting newcomer
  • *
  • Posts: 42
Re: CC misses wxFrame class
« Reply #1 on: September 23, 2006, 12:15:41 am »
Really works for everyone except me?