reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2007-01-17 23:32:26 +00:00
parent 5541976c17
commit b08d67c27b
6 changed files with 57 additions and 3 deletions

View File

@@ -4838,7 +4838,6 @@ class ListCtrl(_core.Control):
CountPerPage = property(GetCountPerPage,doc="See `GetCountPerPage`")
EditControl = property(GetEditControl,doc="See `GetEditControl`")
FocusedItem = property(GetFocusedItem,doc="See `GetFocusedItem`")
ImageList = property(GetImageList,SetImageList,doc="See `GetImageList` and `SetImageList`")
ItemCount = property(GetItemCount,SetItemCount,doc="See `GetItemCount` and `SetItemCount`")
MainWindow = property(GetMainWindow,doc="See `GetMainWindow`")
SelectedItemCount = property(GetSelectedItemCount,doc="See `GetSelectedItemCount`")

View File

@@ -3847,6 +3847,15 @@ class PyEventBinder(object):
success += target.Disconnect(id1, id2, et)
return success != 0
def _getEvtType(self):
"""
Make it easy to get to the default wxEventType typeID for this
event binder.
"""
return self.evtType[0]
typeId = property(_getEvtType)
def __call__(self, *args):
"""
@@ -13325,6 +13334,16 @@ class GridBagSizer(FlexGridSizer):
"""
return _core_.GridBagSizer_FindItem(*args)
def GetItem(self, item):
gbsi = None
si = wx.FlexGridSizer.GetItem(self, item)
if not si:
return None
if type(item) is not int:
gbsi = self.FindItem(item)
if gbsi: return gbsi
return si
def FindItemAtPosition(*args, **kwargs):
"""
FindItemAtPosition(self, GBPosition pos) -> GBSizerItem

View File

@@ -4831,7 +4831,6 @@ class ListCtrl(_core.Control):
CountPerPage = property(GetCountPerPage,doc="See `GetCountPerPage`")
EditControl = property(GetEditControl,doc="See `GetEditControl`")
FocusedItem = property(GetFocusedItem,doc="See `GetFocusedItem`")
ImageList = property(GetImageList,SetImageList,doc="See `GetImageList` and `SetImageList`")
ItemCount = property(GetItemCount,SetItemCount,doc="See `GetItemCount` and `SetItemCount`")
MainWindow = property(GetMainWindow,doc="See `GetMainWindow`")
SelectedItemCount = property(GetSelectedItemCount,doc="See `GetSelectedItemCount`")

View File

@@ -3847,6 +3847,15 @@ class PyEventBinder(object):
success += target.Disconnect(id1, id2, et)
return success != 0
def _getEvtType(self):
"""
Make it easy to get to the default wxEventType typeID for this
event binder.
"""
return self.evtType[0]
typeId = property(_getEvtType)
def __call__(self, *args):
"""
@@ -13325,6 +13334,16 @@ class GridBagSizer(FlexGridSizer):
"""
return _core_.GridBagSizer_FindItem(*args)
def GetItem(self, item):
gbsi = None
si = wx.FlexGridSizer.GetItem(self, item)
if not si:
return None
if type(item) is not int:
gbsi = self.FindItem(item)
if gbsi: return gbsi
return si
def FindItemAtPosition(*args, **kwargs):
"""
FindItemAtPosition(self, GBPosition pos) -> GBSizerItem

View File

@@ -4845,7 +4845,6 @@ class ListCtrl(_core.Control):
CountPerPage = property(GetCountPerPage,doc="See `GetCountPerPage`")
EditControl = property(GetEditControl,doc="See `GetEditControl`")
FocusedItem = property(GetFocusedItem,doc="See `GetFocusedItem`")
ImageList = property(GetImageList,SetImageList,doc="See `GetImageList` and `SetImageList`")
ItemCount = property(GetItemCount,SetItemCount,doc="See `GetItemCount` and `SetItemCount`")
MainWindow = property(GetMainWindow,doc="See `GetMainWindow`")
SelectedItemCount = property(GetSelectedItemCount,doc="See `GetSelectedItemCount`")

View File

@@ -3847,6 +3847,15 @@ class PyEventBinder(object):
success += target.Disconnect(id1, id2, et)
return success != 0
def _getEvtType(self):
"""
Make it easy to get to the default wxEventType typeID for this
event binder.
"""
return self.evtType[0]
typeId = property(_getEvtType)
def __call__(self, *args):
"""
@@ -13329,6 +13338,16 @@ class GridBagSizer(FlexGridSizer):
"""
return _core_.GridBagSizer_FindItem(*args)
def GetItem(self, item):
gbsi = None
si = wx.FlexGridSizer.GetItem(self, item)
if not si:
return None
if type(item) is not int:
gbsi = self.FindItem(item)
if gbsi: return gbsi
return si
def FindItemAtPosition(*args, **kwargs):
"""
FindItemAtPosition(self, GBPosition pos) -> GBSizerItem