From 78aac544e1e77f5405260797cee4b94d7a0dfe32 Mon Sep 17 00:00:00 2001 From: Thales1330 Date: Tue, 2 Aug 2016 17:34:42 -0300 Subject: Bus controllers under implementation Events handler removed --- Project/MainFrame.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Project/MainFrame.cpp') diff --git a/Project/MainFrame.cpp b/Project/MainFrame.cpp index d2314e9..9769a1f 100644 --- a/Project/MainFrame.cpp +++ b/Project/MainFrame.cpp @@ -104,7 +104,7 @@ void MainFrame::OnNewClick(wxRibbonButtonBarEvent& event) EnableCurrentProjectRibbon(); Workspace* newWorkspace = - new Workspace(this, wxString::Format(_("New project %d"), m_projectNumber)); + new Workspace(this, wxString::Format(_("New project %d"), m_projectNumber), this->GetStatusBar()); m_workspaceList.push_back(newWorkspace); m_ribbonButtonBarCircuit->ToggleButton(ID_RIBBON_DISABLESOL, true); @@ -201,7 +201,6 @@ void MainFrame::NotebookPageClosing(wxAuiNotebookEvent& event) if(event.GetSelection() == m_auiNotebook->GetPageIndex(workspace)) { //delete workspace; //Memory leak? m_workspaceList.erase(it); - wxMessageBox(wxString::Format("%d", m_workspaceList.size())); break; } it++; -- cgit