summaryrefslogtreecommitdiffstats
path: root/Project/MainFrame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project/MainFrame.cpp')
-rw-r--r--Project/MainFrame.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Project/MainFrame.cpp b/Project/MainFrame.cpp
index 7099b76..d2314e9 100644
--- a/Project/MainFrame.cpp
+++ b/Project/MainFrame.cpp
@@ -1,4 +1,6 @@
#include "MainFrame.h"
+#include "ArtMetro.h"
+#include "Workspace.h"
MainFrame::MainFrame(wxWindow* parent, wxLocale* locale) : MainFrameBase(parent)
{
@@ -102,7 +104,7 @@ void MainFrame::OnNewClick(wxRibbonButtonBarEvent& event)
EnableCurrentProjectRibbon();
Workspace* newWorkspace =
- new Workspace(this, wxString::Format(_("New project %d"), m_projectNumber, m_projectNumber));
+ new Workspace(this, wxString::Format(_("New project %d"), m_projectNumber));
m_workspaceList.push_back(newWorkspace);
m_ribbonButtonBarCircuit->ToggleButton(ID_RIBBON_DISABLESOL, true);