summaryrefslogtreecommitdiffstats
path: root/Project/WorkspaceDC.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2020-06-09 18:38:21 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2020-06-09 18:38:21 -0300
commit4fdcfe16959a610a928064df73281f509425cbbf (patch)
tree2f2484a5162313f472d80e85b9a4c6392213347e /Project/WorkspaceDC.cpp
parent8321d2612f6ee88bafd97c1bf08fb9f0b7a9db5b (diff)
parent5e68e62fb23f15f26e24823bf21b012ab4dfd1e0 (diff)
downloadPSP.git-4fdcfe16959a610a928064df73281f509425cbbf.tar.gz
PSP.git-4fdcfe16959a610a928064df73281f509425cbbf.tar.xz
PSP.git-4fdcfe16959a610a928064df73281f509425cbbf.zip
Merge branch 'master' of https://github.com/Thales1330/PSP
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));