Ejemplo n.º 1
0
 def detach(self):
     if self.canvas:
         wgl.wglDeleteContext(self._context)
         self._context = None
     super(Win32Context, self).detach()
Ejemplo n.º 2
0
 def detach(self):
     if self.canvas:
         wgl.wglDeleteContext(self._context)
         self._context = None
     super(Win32Context, self).detach()
Ejemplo n.º 3
0
 def destroy(self):
     super(Win32Context, self).destroy()
     wgl.wglDeleteContext(self._context)