summaryrefslogtreecommitdiffstats
path: root/Project/WorkspaceDC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project/WorkspaceDC.cpp')
-rw-r--r--Project/WorkspaceDC.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Project/WorkspaceDC.cpp b/Project/WorkspaceDC.cpp
index 947b248..1333314 100644
--- a/Project/WorkspaceDC.cpp
+++ b/Project/WorkspaceDC.cpp
@@ -65,10 +65,6 @@ WorkspaceDC::WorkspaceDC(wxWindow* parent, wxString name, wxStatusBar* statusBar
this->GetSizer()->Remove(this->GetSizer()->GetChildren()[0]->GetId()); // remove m_glCanvas object from sizer
- //for (int i = 0; i < this->GetSizer()->GetChildren().GetCount(); ++i) {
- //wxMessageBox(wxString::Format("%d", this->GetSizer()->GetChildren()[i]->GetId()));
- //}
-
delete m_glCanvas; // Delete GLcanvas to allow drawing with wxDC
m_glCanvas = nullptr;
SetBackgroundColour(wxColour(255, 255, 255));