X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f20f7d8a388424e6f519a18019e070725d18503..22f43cb5a7a54be1e76eff40072ebde6ddd36ff3:/src/msw/glcanvas.cpp?ds=sidebyside 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); }