reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4838,7 +4838,6 @@ class ListCtrl(_core.Control):
|
|||||||
CountPerPage = property(GetCountPerPage,doc="See `GetCountPerPage`")
|
CountPerPage = property(GetCountPerPage,doc="See `GetCountPerPage`")
|
||||||
EditControl = property(GetEditControl,doc="See `GetEditControl`")
|
EditControl = property(GetEditControl,doc="See `GetEditControl`")
|
||||||
FocusedItem = property(GetFocusedItem,doc="See `GetFocusedItem`")
|
FocusedItem = property(GetFocusedItem,doc="See `GetFocusedItem`")
|
||||||
ImageList = property(GetImageList,SetImageList,doc="See `GetImageList` and `SetImageList`")
|
|
||||||
ItemCount = property(GetItemCount,SetItemCount,doc="See `GetItemCount` and `SetItemCount`")
|
ItemCount = property(GetItemCount,SetItemCount,doc="See `GetItemCount` and `SetItemCount`")
|
||||||
MainWindow = property(GetMainWindow,doc="See `GetMainWindow`")
|
MainWindow = property(GetMainWindow,doc="See `GetMainWindow`")
|
||||||
SelectedItemCount = property(GetSelectedItemCount,doc="See `GetSelectedItemCount`")
|
SelectedItemCount = property(GetSelectedItemCount,doc="See `GetSelectedItemCount`")
|
||||||
|
@@ -3847,6 +3847,15 @@ class PyEventBinder(object):
|
|||||||
success += target.Disconnect(id1, id2, et)
|
success += target.Disconnect(id1, id2, et)
|
||||||
return success != 0
|
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):
|
def __call__(self, *args):
|
||||||
"""
|
"""
|
||||||
@@ -13325,6 +13334,16 @@ class GridBagSizer(FlexGridSizer):
|
|||||||
"""
|
"""
|
||||||
return _core_.GridBagSizer_FindItem(*args)
|
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):
|
def FindItemAtPosition(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
FindItemAtPosition(self, GBPosition pos) -> GBSizerItem
|
FindItemAtPosition(self, GBPosition pos) -> GBSizerItem
|
||||||
|
@@ -4831,7 +4831,6 @@ class ListCtrl(_core.Control):
|
|||||||
CountPerPage = property(GetCountPerPage,doc="See `GetCountPerPage`")
|
CountPerPage = property(GetCountPerPage,doc="See `GetCountPerPage`")
|
||||||
EditControl = property(GetEditControl,doc="See `GetEditControl`")
|
EditControl = property(GetEditControl,doc="See `GetEditControl`")
|
||||||
FocusedItem = property(GetFocusedItem,doc="See `GetFocusedItem`")
|
FocusedItem = property(GetFocusedItem,doc="See `GetFocusedItem`")
|
||||||
ImageList = property(GetImageList,SetImageList,doc="See `GetImageList` and `SetImageList`")
|
|
||||||
ItemCount = property(GetItemCount,SetItemCount,doc="See `GetItemCount` and `SetItemCount`")
|
ItemCount = property(GetItemCount,SetItemCount,doc="See `GetItemCount` and `SetItemCount`")
|
||||||
MainWindow = property(GetMainWindow,doc="See `GetMainWindow`")
|
MainWindow = property(GetMainWindow,doc="See `GetMainWindow`")
|
||||||
SelectedItemCount = property(GetSelectedItemCount,doc="See `GetSelectedItemCount`")
|
SelectedItemCount = property(GetSelectedItemCount,doc="See `GetSelectedItemCount`")
|
||||||
|
@@ -3847,6 +3847,15 @@ class PyEventBinder(object):
|
|||||||
success += target.Disconnect(id1, id2, et)
|
success += target.Disconnect(id1, id2, et)
|
||||||
return success != 0
|
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):
|
def __call__(self, *args):
|
||||||
"""
|
"""
|
||||||
@@ -13325,6 +13334,16 @@ class GridBagSizer(FlexGridSizer):
|
|||||||
"""
|
"""
|
||||||
return _core_.GridBagSizer_FindItem(*args)
|
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):
|
def FindItemAtPosition(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
FindItemAtPosition(self, GBPosition pos) -> GBSizerItem
|
FindItemAtPosition(self, GBPosition pos) -> GBSizerItem
|
||||||
|
@@ -4845,7 +4845,6 @@ class ListCtrl(_core.Control):
|
|||||||
CountPerPage = property(GetCountPerPage,doc="See `GetCountPerPage`")
|
CountPerPage = property(GetCountPerPage,doc="See `GetCountPerPage`")
|
||||||
EditControl = property(GetEditControl,doc="See `GetEditControl`")
|
EditControl = property(GetEditControl,doc="See `GetEditControl`")
|
||||||
FocusedItem = property(GetFocusedItem,doc="See `GetFocusedItem`")
|
FocusedItem = property(GetFocusedItem,doc="See `GetFocusedItem`")
|
||||||
ImageList = property(GetImageList,SetImageList,doc="See `GetImageList` and `SetImageList`")
|
|
||||||
ItemCount = property(GetItemCount,SetItemCount,doc="See `GetItemCount` and `SetItemCount`")
|
ItemCount = property(GetItemCount,SetItemCount,doc="See `GetItemCount` and `SetItemCount`")
|
||||||
MainWindow = property(GetMainWindow,doc="See `GetMainWindow`")
|
MainWindow = property(GetMainWindow,doc="See `GetMainWindow`")
|
||||||
SelectedItemCount = property(GetSelectedItemCount,doc="See `GetSelectedItemCount`")
|
SelectedItemCount = property(GetSelectedItemCount,doc="See `GetSelectedItemCount`")
|
||||||
|
@@ -3847,6 +3847,15 @@ class PyEventBinder(object):
|
|||||||
success += target.Disconnect(id1, id2, et)
|
success += target.Disconnect(id1, id2, et)
|
||||||
return success != 0
|
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):
|
def __call__(self, *args):
|
||||||
"""
|
"""
|
||||||
@@ -13329,6 +13338,16 @@ class GridBagSizer(FlexGridSizer):
|
|||||||
"""
|
"""
|
||||||
return _core_.GridBagSizer_FindItem(*args)
|
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):
|
def FindItemAtPosition(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
FindItemAtPosition(self, GBPosition pos) -> GBSizerItem
|
FindItemAtPosition(self, GBPosition pos) -> GBSizerItem
|
||||||
|
Reference in New Issue
Block a user