SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -348,8 +348,8 @@ class wxListEventPtr(wxNotifyEventPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def GetCode(self, *_args, **_kwargs):
|
||||
val = apply(controls2c.wxListEvent_GetCode,(self,) + _args, _kwargs)
|
||||
def GetKeyCode(self, *_args, **_kwargs):
|
||||
val = apply(controls2c.wxListEvent_GetKeyCode,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def GetIndex(self, *_args, **_kwargs):
|
||||
val = apply(controls2c.wxListEvent_GetIndex,(self,) + _args, _kwargs)
|
||||
@@ -421,6 +421,7 @@ class wxListEventPtr(wxNotifyEventPtr):
|
||||
raise AttributeError,name
|
||||
def __repr__(self):
|
||||
return "<C wxListEvent instance at %s>" % (self.this,)
|
||||
GetCode = GetKeyCode
|
||||
class wxListEvent(wxListEventPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controls2c.new_wxListEvent,_args,_kwargs)
|
||||
@@ -859,14 +860,15 @@ class wxTreeEventPtr(wxNotifyEventPtr):
|
||||
val = apply(controls2c.wxTreeEvent_GetKeyEvent,(self,) + _args, _kwargs)
|
||||
if val: val = wxKeyEventPtr(val)
|
||||
return val
|
||||
def GetCode(self, *_args, **_kwargs):
|
||||
val = apply(controls2c.wxTreeEvent_GetCode,(self,) + _args, _kwargs)
|
||||
def GetKeyCode(self, *_args, **_kwargs):
|
||||
val = apply(controls2c.wxTreeEvent_GetKeyCode,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def GetLabel(self, *_args, **_kwargs):
|
||||
val = apply(controls2c.wxTreeEvent_GetLabel,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxTreeEvent instance at %s>" % (self.this,)
|
||||
GetCode = GetKeyCode
|
||||
class wxTreeEvent(wxTreeEventPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controls2c.new_wxTreeEvent,_args,_kwargs)
|
||||
|
Reference in New Issue
Block a user