]> git.saurik.com Git - wxWidgets.git/commitdiff
don't delete the context in ~wxGLCanvas(), the base class will do it (patch 1912776)
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 14 Mar 2008 23:57:30 +0000 (23:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 14 Mar 2008 23:57:30 +0000 (23:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/glcanvas.cpp

index edf2264d60c2707d2ba10daf46a2104de82eeee4..ce18ac742a25adde2cdde7212047a2f52f2b6979 100644 (file)
@@ -249,10 +249,6 @@ wxGLCanvas::wxGLCanvas(wxWindow *parent,
 
 wxGLCanvas::~wxGLCanvas()
 {
-#if WXWIN_COMPATIBILITY_2_8
-    delete m_glContext;
-#endif
-
     ::ReleaseDC(GetHwnd(), m_hDC);
 }