def IsSelection(self, *_args, **_kwargs):
val = apply(eventsc.wxCommandEvent_IsSelection,(self,) + _args, _kwargs)
return val
+ def SetString(self, *_args, **_kwargs):
+ val = apply(eventsc.wxCommandEvent_SetString,(self,) + _args, _kwargs)
+ return val
+ def SetExtraLong(self, *_args, **_kwargs):
+ val = apply(eventsc.wxCommandEvent_SetExtraLong,(self,) + _args, _kwargs)
+ return val
+ def SetInt(self, *_args, **_kwargs):
+ val = apply(eventsc.wxCommandEvent_SetInt,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxCommandEvent instance at %s>" % (self.this,)
class wxCommandEvent(wxCommandEventPtr):
def __del__(self,eventsc=eventsc):
if self.thisown == 1 :
eventsc.delete_wxPyEvent(self)
- def SetPyData(self, *_args, **_kwargs):
- val = apply(eventsc.wxPyEvent_SetPyData,(self,) + _args, _kwargs)
+ def SetSelf(self, *_args, **_kwargs):
+ val = apply(eventsc.wxPyEvent_SetSelf,(self,) + _args, _kwargs)
return val
- def GetPyData(self, *_args, **_kwargs):
- val = apply(eventsc.wxPyEvent_GetPyData,(self,) + _args, _kwargs)
+ def GetSelf(self, *_args, **_kwargs):
+ val = apply(eventsc.wxPyEvent_GetSelf,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxPyEvent instance at %s>" % (self.this,)
def __init__(self,*_args,**_kwargs):
self.this = apply(eventsc.new_wxPyEvent,_args,_kwargs)
self.thisown = 1
+ self.SetSelf(self)
def __del__(self,eventsc=eventsc):
if self.thisown == 1 :
eventsc.delete_wxPyCommandEvent(self)
- def SetPyData(self, *_args, **_kwargs):
- val = apply(eventsc.wxPyCommandEvent_SetPyData,(self,) + _args, _kwargs)
+ def SetSelf(self, *_args, **_kwargs):
+ val = apply(eventsc.wxPyCommandEvent_SetSelf,(self,) + _args, _kwargs)
return val
- def GetPyData(self, *_args, **_kwargs):
- val = apply(eventsc.wxPyCommandEvent_GetPyData,(self,) + _args, _kwargs)
+ def GetSelf(self, *_args, **_kwargs):
+ val = apply(eventsc.wxPyCommandEvent_GetSelf,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxPyCommandEvent instance at %s>" % (self.this,)
def __init__(self,*_args,**_kwargs):
self.this = apply(eventsc.new_wxPyCommandEvent,_args,_kwargs)
self.thisown = 1
+ self.SetSelf(self)