I was trying out Code:Bocks by playing around with the default wxWidgets frame based application generated by Code:Blocks, when I noticed some functions weren't auto completing.
To give an example from the default application, a main window class is declared that inherits from wxFrame:
class wxWidgetsTestFrame: public wxFrame
In the OnInit() function it creates an instance of this class called fame:
bool wxWidgetsTestApp::OnInit()
{
wxWidgetsTestFrame* frame = new wxWidgetsTestFrame(0L, _("wxWidgets Application Template"));
frame->SetIcon(wxICON(aaaa)); // To Set App Icon
frame->Show();
return true;
}
The wxWidgets documentation shows that
wxFrame inherits indirectly from wxWindow, so I would expect that any calls made on the frame object to wxWindow functions would auto complete. However, if I try to call a wxWindow function on frame in the above function it doesn't complete. For example if I start typing frame->SetSize, SetSize doesn't show in the function list and the parameter list doesn't appear when I type the opening parenthesis. Code completion is working for all wxFrame functions, but not for the functions it inherits from higher up in the class hierarchy.
Should code completion be working when calling a wxWindow function from a wxFrame object or does Code::Blocks not support code completion for inherited functions?
If it should be working, do you have any idea why it's not working on my installation? I'm using Code::Blocks 13.12 and wxWidgets 3.0.2 on Windows 7 64bit.
Thanks for any advice you can offer.