summaryrefslogtreecommitdiffstats
path: root/Project/MainFrame.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2016-08-02 01:01:20 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2016-08-02 01:01:20 -0300
commit0ac91e091e52cae5745b14d62f77f905e559cf92 (patch)
tree918ebb487422cb5b34b0076fff3f976968bd6e9d /Project/MainFrame.cpp
parent5e0be3d0a505781c31b3d23450fd92d4cc7b7ce7 (diff)
downloadPSP.git-0ac91e091e52cae5745b14d62f77f905e559cf92.tar.gz
PSP.git-0ac91e091e52cae5745b14d62f77f905e559cf92.tar.xz
PSP.git-0ac91e091e52cae5745b14d62f77f905e559cf92.zip
Cycle dependence fixed.
Next step: remove mouse handler
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);