wxUniversal compilation fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2003-09-13 16:03:28 +00:00
parent 613b6bb90a
commit 5abe54648f
3 changed files with 3 additions and 3 deletions

View File

@ -288,7 +288,7 @@ wxMDIChildFrame *csApp::CreateChildFrame(wxDocument *doc, wxView *view, wxMenu**
}
// Creates a canvas. Called by OnInit as a child of the main window
csCanvas *csApp::CreateCanvas(wxView *view, wxFrame *parent)
csCanvas *csApp::CreateCanvas(wxView *view, wxMDIChildFrame *parent)
{
int width, height;
parent->GetClientSize(&width, &height);

View File

@ -60,7 +60,7 @@ public:
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();

View File

@ -132,7 +132,7 @@ class csDiagramView: public wxView
DECLARE_EVENT_TABLE()
public:
wxFrame* frame;
wxMDIChildFrame* frame;
csCanvas* canvas;
wxList m_selections;
};