Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

CC misses wxFrame class

(1/1)

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:


--- 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;
}

--- End code ---

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

--- Code: --- frame->

--- End code ---

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

--- End code ---

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?

Navigation

[0] Message Index

Go to full version