def Skip(self, *_args, **_kwargs):
val = apply(eventsc.wxEvent_Skip,(self,) + _args, _kwargs)
return val
+ def Clone(self, *_args, **_kwargs):
+ val = apply(eventsc.wxEvent_Clone,(self,) + _args, _kwargs)
+ if val: val = wxEventPtr(val)
+ return val
def __repr__(self):
return "<C wxEvent instance at %s>" % (self.this,)
class wxEvent(wxEventPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(eventsc.new_wxEvent,_args,_kwargs)
- self.thisown = 1
+ def __init__(self,this):
+ self.this = this
def SetInt(self, *_args, **_kwargs):
val = apply(eventsc.wxCommandEvent_SetInt,(self,) + _args, _kwargs)
return val
+ def GetClientData(self, *_args, **_kwargs):
+ val = apply(eventsc.wxCommandEvent_GetClientData,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxCommandEvent instance at %s>" % (self.this,)
class wxCommandEvent(wxCommandEventPtr):
+class wxChildFocusEventPtr(wxCommandEventPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def GetWindow(self, *_args, **_kwargs):
+ val = apply(eventsc.wxChildFocusEvent_GetWindow,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxChildFocusEvent instance at %s>" % (self.this,)
+class wxChildFocusEvent(wxChildFocusEventPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(eventsc.new_wxChildFocusEvent,_args,_kwargs)
+ self.thisown = 1
+
+
+
+
class wxActivateEventPtr(wxEventPtr):
def __init__(self,this):
self.this = this