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:
parent
613b6bb90a
commit
5abe54648f
@ -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);
|
||||
|
@ -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();
|
||||
|
@ -132,7 +132,7 @@ class csDiagramView: public wxView
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
||||
public:
|
||||
wxFrame* frame;
|
||||
wxMDIChildFrame* frame;
|
||||
csCanvas* canvas;
|
||||
wxList m_selections;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user