// Define a new application
class csApp: public wxApp
{
- friend csFrame;
+ friend class csFrame;
public:
csApp();
~csApp();
void CreateDiagramToolBar(wxFrame* parent);
wxMDIChildFrame *CreateChildFrame(wxDocument *doc, wxView *view, wxMenu** editMenu);
- csCanvas *CreateCanvas(wxView *view, wxFrame *parent);
+ csCanvas *CreateCanvas(wxView *view, wxMDIChildFrame *parent);
// Fill out the project tree control
void FillProjectTreeCtrl();