Hi!
First of all, thank the authors for making the best Free Open source C++ IDE for wxWidgets(and other c++ stuff, of course).
I use the svn 4365 version of CB, MS VC2005 is my default compiler, I download wxwidgets, install it, and compiled it. In CB, I set the search dirs for wxwidgets. So, all are ready. I create a simple wxwidgets project in cb, and compiled it successfully. I want to change some code, but I find that code complete not work for global class. for example, some code blow:
class wxTestFrame: public wxFrame
{
public:
wxTestFrame(wxWindow* parent,wxWindowID id = -1);
virtual ~wxTestFrame();
...
}
in cpp file:
wxTestFrame::wxTestFrame(wxWindow* parent,wxWindowID id)
{
//(*Initialize(wxTestFrame)
wxMenuBar* MenuBar1;
wxMenu* Menu1;
wxMenuItem* MenuItem1;
wxMenu* Menu2;
wxMenuItem* MenuItem2;
Create(parent, id, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_STYLE, _T("wxFrame"));
MenuBar1 = new wxMenuBar();
Menu1 = new wxMenu();
Menu1-> // when I type here, I expect the code complete will popup and show a member functions list for wxMenu, but nothing happen.
but in another condition:
class wxTestApp : public wxApp
{
public:
virtual bool OnInit();
};
in cpp file:
bool wxTestApp::OnInit()
{
bool wxsOK = true;
wxInitAllImageHandlers();
if ( wxsOK )
{
wxTestFrame* Frame = new wxTestFrame(0);
Frame-> // here, a list includes not only member function of wxTestApp but also member functions of wxApp is popuped.
SetTopWindow(Frame);
}
return wxsOK;
}
so, it seems that code complete for global class works somewhere and strikes another where.
I do not know why.