From 5e68e62fb23f15f26e24823bf21b012ab4dfd1e0 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Tue, 9 Jun 2020 18:33:54 -0300 Subject: Control Editor device context draw imp init --- Project/WorkspaceDC.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Project/WorkspaceDC.cpp') 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)); -- cgit