SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -47,9 +47,9 @@ 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:
|
||||
delfunc(self)
|
||||
def SetCurrent(self, *_args, **_kwargs):
|
||||
val = apply(glcanvasc.wxGLContext_SetCurrent,(self,) + _args, _kwargs)
|
||||
return val
|
||||
|
@@ -49,7 +49,7 @@ class wxPseudoMetaFilePtr(wxObjectPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __del__(self,delfunc=oglshapesc.delete_wxPseudoMetaFile):
|
||||
def __del__(self, delfunc=oglshapesc.delete_wxPseudoMetaFile):
|
||||
if self.thisown == 1:
|
||||
delfunc(self)
|
||||
def Draw(self, *_args, **_kwargs):
|
||||
|
@@ -257,7 +257,7 @@ class wxArrowHeadPtr(wxObjectPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __del__(self,delfunc=oglshapes2c.delete_wxArrowHead):
|
||||
def __del__(self, delfunc=oglshapes2c.delete_wxArrowHead):
|
||||
if self.thisown == 1:
|
||||
delfunc(self)
|
||||
def _GetType(self, *_args, **_kwargs):
|
||||
|
@@ -1046,9 +1046,9 @@ class wxStyledTextEventPtr(wxCommandEventPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __del__(self,stc_c=stc_c):
|
||||
if self.thisown == 1 :
|
||||
stc_c.delete_wxStyledTextEvent(self)
|
||||
def __del__(self, delfunc=stc_c.delete_wxStyledTextEvent):
|
||||
if self.thisown == 1:
|
||||
delfunc(self)
|
||||
def SetPosition(self, *_args, **_kwargs):
|
||||
val = apply(stc_c.wxStyledTextEvent_SetPosition,(self,) + _args, _kwargs)
|
||||
return val
|
||||
|
@@ -56,7 +56,7 @@ class wxXmlResourcePtr(wxObjectPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __del__(self,delfunc=xrcc.delete_wxXmlResource):
|
||||
def __del__(self, delfunc=xrcc.delete_wxXmlResource):
|
||||
if self.thisown == 1:
|
||||
delfunc(self)
|
||||
def Load(self, *_args, **_kwargs):
|
||||
@@ -210,7 +210,7 @@ class wxXmlNodePtr :
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __del__(self,delfunc=xrcc.delete_wxXmlNode):
|
||||
def __del__(self, delfunc=xrcc.delete_wxXmlNode):
|
||||
if self.thisown == 1:
|
||||
delfunc(self)
|
||||
def AddChild(self, *_args, **_kwargs):
|
||||
@@ -302,7 +302,7 @@ class wxXmlDocumentPtr(wxObjectPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __del__(self,delfunc=xrcc.delete_wxXmlDocument):
|
||||
def __del__(self, delfunc=xrcc.delete_wxXmlDocument):
|
||||
if self.thisown == 1:
|
||||
delfunc(self)
|
||||
def Load(self, *_args, **_kwargs):
|
||||
|
Reference in New Issue
Block a user