SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -47,9 +47,12 @@ class wxGLContextPtr(wxObjectPtr):
 | 
			
		||||
    def __init__(self,this):
 | 
			
		||||
        self.this = this
 | 
			
		||||
        self.thisown = 0
 | 
			
		||||
    def __del__(self,glcanvasc=glcanvasc):
 | 
			
		||||
        if self.thisown == 1 :
 | 
			
		||||
            glcanvasc.delete_wxGLContext(self)
 | 
			
		||||
    def __del__(self, delfunc=glcanvasc.delete_wxGLContext):
 | 
			
		||||
        if self.thisown == 1:
 | 
			
		||||
            try:
 | 
			
		||||
                delfunc(self)
 | 
			
		||||
            except:
 | 
			
		||||
                pass
 | 
			
		||||
    def SetCurrent(self, *_args, **_kwargs):
 | 
			
		||||
        val = apply(glcanvasc.wxGLContext_SetCurrent,(self,) + _args, _kwargs)
 | 
			
		||||
        return val
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user