From a6b4b834b170f0f03b01b43682742edb0da7dbc5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 14 Mar 2008 23:57:30 +0000 Subject: [PATCH] don't delete the context in ~wxGLCanvas(), the base class will do it (patch 1912776) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/glcanvas.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/msw/glcanvas.cpp b/src/msw/glcanvas.cpp index edf2264d60..ce18ac742a 100644 --- a/src/msw/glcanvas.cpp +++ b/src/msw/glcanvas.cpp @@ -249,10 +249,6 @@ wxGLCanvas::wxGLCanvas(wxWindow *parent, wxGLCanvas::~wxGLCanvas() { -#if WXWIN_COMPATIBILITY_2_8 - delete m_glContext; -#endif - ::ReleaseDC(GetHwnd(), m_hDC); } -- 2.45.2