summaryrefslogtreecommitdiffstats
path: root/Project/WorkspaceDC.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2020-06-09 18:33:54 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2020-06-09 18:33:54 -0300
commit5e68e62fb23f15f26e24823bf21b012ab4dfd1e0 (patch)
tree6ea2989fbcee7eeb1fa8ee9ebe946a8de1be1e82 /Project/WorkspaceDC.cpp
parentc5636d2031b20e673441e095d90ba94942698e7c (diff)
downloadPSP.git-5e68e62fb23f15f26e24823bf21b012ab4dfd1e0.tar.gz
PSP.git-5e68e62fb23f15f26e24823bf21b012ab4dfd1e0.tar.xz
PSP.git-5e68e62fb23f15f26e24823bf21b012ab4dfd1e0.zip
Control Editor device context draw imp init
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));