Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: szczepan on September 22, 2006, 04:04:57 am

Title: CC misses wxFrame class
Post by: szczepan 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?
Title: Re: CC misses wxFrame class
Post by: szczepan on September 23, 2006, 12:15:41 am
Really works for everyone except me?