reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2003-11-19 06:36:16 +00:00
parent dd9f7fea29
commit e811c8cebb
31 changed files with 27768 additions and 9701 deletions

View File

@ -12,13 +12,15 @@ wxEVT_DYNAMIC_SASH_UNIFY = _gizmos.wxEVT_DYNAMIC_SASH_UNIFY
DS_MANAGE_SCROLLBARS = _gizmos.DS_MANAGE_SCROLLBARS
DS_DRAG_CORNER = _gizmos.DS_DRAG_CORNER
class DynamicSashSplitEvent(core.CommandEvent):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDynamicSashSplitEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(Object target) -> DynamicSashSplitEvent"""
newobj = _gizmos.new_DynamicSashSplitEvent(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def __repr__(self):
return "<%s.%s; proxy of C++ wxDynamicSashSplitEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
class DynamicSashSplitEventPtr(DynamicSashSplitEvent):
def __init__(self, this):
@ -28,13 +30,15 @@ class DynamicSashSplitEventPtr(DynamicSashSplitEvent):
_gizmos.DynamicSashSplitEvent_swigregister(DynamicSashSplitEventPtr)
class DynamicSashUnifyEvent(core.CommandEvent):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDynamicSashUnifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(Object target) -> DynamicSashUnifyEvent"""
newobj = _gizmos.new_DynamicSashUnifyEvent(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def __repr__(self):
return "<%s.%s; proxy of C++ wxDynamicSashUnifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
class DynamicSashUnifyEventPtr(DynamicSashUnifyEvent):
def __init__(self, this):
@ -44,17 +48,33 @@ class DynamicSashUnifyEventPtr(DynamicSashUnifyEvent):
_gizmos.DynamicSashUnifyEvent_swigregister(DynamicSashUnifyEventPtr)
class DynamicSashWindow(core.Window):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDynamicSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
wxString name=wxPyDynamicSashNameStr) -> DynamicSashWindow"""
newobj = _gizmos.new_DynamicSashWindow(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setOORInfo(self)
def Create(*args, **kwargs): return _gizmos.DynamicSashWindow_Create(*args, **kwargs)
def GetHScrollBar(*args, **kwargs): return _gizmos.DynamicSashWindow_GetHScrollBar(*args, **kwargs)
def GetVScrollBar(*args, **kwargs): return _gizmos.DynamicSashWindow_GetVScrollBar(*args, **kwargs)
def __repr__(self):
return "<%s.%s; proxy of C++ wxDynamicSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def Create(*args, **kwargs):
"""Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
wxString name=wxPyDynamicSashNameStr) -> bool"""
return _gizmos.DynamicSashWindow_Create(*args, **kwargs)
def GetHScrollBar(*args, **kwargs):
"""GetHScrollBar(Window child) -> ScrollBar"""
return _gizmos.DynamicSashWindow_GetHScrollBar(*args, **kwargs)
def GetVScrollBar(*args, **kwargs):
"""GetVScrollBar(Window child) -> ScrollBar"""
return _gizmos.DynamicSashWindow_GetVScrollBar(*args, **kwargs)
class DynamicSashWindowPtr(DynamicSashWindow):
def __init__(self, this):
@ -64,6 +84,7 @@ class DynamicSashWindowPtr(DynamicSashWindow):
_gizmos.DynamicSashWindow_swigregister(DynamicSashWindowPtr)
def PreDynamicSashWindow(*args, **kwargs):
"""PreDynamicSashWindow() -> DynamicSashWindow"""
val = _gizmos.new_PreDynamicSashWindow(*args, **kwargs)
val.thisown = 1
return val
@ -75,22 +96,51 @@ EL_ALLOW_NEW = _gizmos.EL_ALLOW_NEW
EL_ALLOW_EDIT = _gizmos.EL_ALLOW_EDIT
EL_ALLOW_DELETE = _gizmos.EL_ALLOW_DELETE
class EditableListBox(windows.Panel):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxEditableListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(Window parent, int id, wxString label, Point pos=DefaultPosition,
Size size=DefaultSize, long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE,
wxString name=wxPyEditableListBoxNameStr) -> EditableListBox"""
newobj = _gizmos.new_EditableListBox(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setOORInfo(self)
def SetStrings(*args, **kwargs): return _gizmos.EditableListBox_SetStrings(*args, **kwargs)
def GetStrings(*args, **kwargs): return _gizmos.EditableListBox_GetStrings(*args, **kwargs)
def GetListCtrl(*args, **kwargs): return _gizmos.EditableListBox_GetListCtrl(*args, **kwargs)
def GetDelButton(*args, **kwargs): return _gizmos.EditableListBox_GetDelButton(*args, **kwargs)
def GetNewButton(*args, **kwargs): return _gizmos.EditableListBox_GetNewButton(*args, **kwargs)
def GetUpButton(*args, **kwargs): return _gizmos.EditableListBox_GetUpButton(*args, **kwargs)
def GetDownButton(*args, **kwargs): return _gizmos.EditableListBox_GetDownButton(*args, **kwargs)
def GetEditButton(*args, **kwargs): return _gizmos.EditableListBox_GetEditButton(*args, **kwargs)
def __repr__(self):
return "<%s.%s; proxy of C++ wxEditableListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def SetStrings(*args, **kwargs):
"""SetStrings(wxArrayString strings)"""
return _gizmos.EditableListBox_SetStrings(*args, **kwargs)
def GetStrings(*args, **kwargs):
"""GetStrings() -> PyObject"""
return _gizmos.EditableListBox_GetStrings(*args, **kwargs)
def GetListCtrl(*args, **kwargs):
"""GetListCtrl() -> wxListCtrl"""
return _gizmos.EditableListBox_GetListCtrl(*args, **kwargs)
def GetDelButton(*args, **kwargs):
"""GetDelButton() -> BitmapButton"""
return _gizmos.EditableListBox_GetDelButton(*args, **kwargs)
def GetNewButton(*args, **kwargs):
"""GetNewButton() -> BitmapButton"""
return _gizmos.EditableListBox_GetNewButton(*args, **kwargs)
def GetUpButton(*args, **kwargs):
"""GetUpButton() -> BitmapButton"""
return _gizmos.EditableListBox_GetUpButton(*args, **kwargs)
def GetDownButton(*args, **kwargs):
"""GetDownButton() -> BitmapButton"""
return _gizmos.EditableListBox_GetDownButton(*args, **kwargs)
def GetEditButton(*args, **kwargs):
"""GetEditButton() -> BitmapButton"""
return _gizmos.EditableListBox_GetEditButton(*args, **kwargs)
class EditableListBoxPtr(EditableListBox):
def __init__(self, this):
@ -100,20 +150,42 @@ class EditableListBoxPtr(EditableListBox):
_gizmos.EditableListBox_swigregister(EditableListBoxPtr)
class RemotelyScrolledTreeCtrl(controls.TreeCtrl):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxRemotelyScrolledTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl"""
newobj = _gizmos.new_RemotelyScrolledTreeCtrl(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setOORInfo(self)
def HideVScrollbar(*args, **kwargs): return _gizmos.RemotelyScrolledTreeCtrl_HideVScrollbar(*args, **kwargs)
def AdjustRemoteScrollbars(*args, **kwargs): return _gizmos.RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(*args, **kwargs)
def GetScrolledWindow(*args, **kwargs): return _gizmos.RemotelyScrolledTreeCtrl_GetScrolledWindow(*args, **kwargs)
def ScrollToLine(*args, **kwargs): return _gizmos.RemotelyScrolledTreeCtrl_ScrollToLine(*args, **kwargs)
def SetCompanionWindow(*args, **kwargs): return _gizmos.RemotelyScrolledTreeCtrl_SetCompanionWindow(*args, **kwargs)
def GetCompanionWindow(*args, **kwargs): return _gizmos.RemotelyScrolledTreeCtrl_GetCompanionWindow(*args, **kwargs)
def __repr__(self):
return "<%s.%s; proxy of C++ wxRemotelyScrolledTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def HideVScrollbar(*args, **kwargs):
"""HideVScrollbar()"""
return _gizmos.RemotelyScrolledTreeCtrl_HideVScrollbar(*args, **kwargs)
def AdjustRemoteScrollbars(*args, **kwargs):
"""AdjustRemoteScrollbars()"""
return _gizmos.RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(*args, **kwargs)
def GetScrolledWindow(*args, **kwargs):
"""GetScrolledWindow() -> ScrolledWindow"""
return _gizmos.RemotelyScrolledTreeCtrl_GetScrolledWindow(*args, **kwargs)
def ScrollToLine(*args, **kwargs):
"""ScrollToLine(int posHoriz, int posVert)"""
return _gizmos.RemotelyScrolledTreeCtrl_ScrollToLine(*args, **kwargs)
def SetCompanionWindow(*args, **kwargs):
"""SetCompanionWindow(Window companion)"""
return _gizmos.RemotelyScrolledTreeCtrl_SetCompanionWindow(*args, **kwargs)
def GetCompanionWindow(*args, **kwargs):
"""GetCompanionWindow() -> Window"""
return _gizmos.RemotelyScrolledTreeCtrl_GetCompanionWindow(*args, **kwargs)
class RemotelyScrolledTreeCtrlPtr(RemotelyScrolledTreeCtrl):
def __init__(self, this):
@ -123,17 +195,30 @@ class RemotelyScrolledTreeCtrlPtr(RemotelyScrolledTreeCtrl):
_gizmos.RemotelyScrolledTreeCtrl_swigregister(RemotelyScrolledTreeCtrlPtr)
class TreeCompanionWindow(core.Window):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTreeCompanionWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(Window parent, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize, long style=0) -> TreeCompanionWindow"""
newobj = _gizmos.new_TreeCompanionWindow(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setOORInfo(self);self._setCallbackInfo(self, TreeCompanionWindow)
def _setCallbackInfo(*args, **kwargs): return _gizmos.TreeCompanionWindow__setCallbackInfo(*args, **kwargs)
def GetTreeCtrl(*args, **kwargs): return _gizmos.TreeCompanionWindow_GetTreeCtrl(*args, **kwargs)
def SetTreeCtrl(*args, **kwargs): return _gizmos.TreeCompanionWindow_SetTreeCtrl(*args, **kwargs)
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTreeCompanionWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(PyObject self, PyObject _class)"""
return _gizmos.TreeCompanionWindow__setCallbackInfo(*args, **kwargs)
def GetTreeCtrl(*args, **kwargs):
"""GetTreeCtrl() -> RemotelyScrolledTreeCtrl"""
return _gizmos.TreeCompanionWindow_GetTreeCtrl(*args, **kwargs)
def SetTreeCtrl(*args, **kwargs):
"""SetTreeCtrl(RemotelyScrolledTreeCtrl treeCtrl)"""
return _gizmos.TreeCompanionWindow_SetTreeCtrl(*args, **kwargs)
class TreeCompanionWindowPtr(TreeCompanionWindow):
def __init__(self, this):
@ -143,14 +228,18 @@ class TreeCompanionWindowPtr(TreeCompanionWindow):
_gizmos.TreeCompanionWindow_swigregister(TreeCompanionWindowPtr)
class ThinSplitterWindow(windows.SplitterWindow):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxThinSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(Window parent, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow"""
newobj = _gizmos.new_ThinSplitterWindow(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setOORInfo(self)
def __repr__(self):
return "<%s.%s; proxy of C++ wxThinSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
class ThinSplitterWindowPtr(ThinSplitterWindow):
def __init__(self, this):
@ -160,14 +249,18 @@ class ThinSplitterWindowPtr(ThinSplitterWindow):
_gizmos.ThinSplitterWindow_swigregister(ThinSplitterWindowPtr)
class SplitterScrolledWindow(windows.ScrolledWindow):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSplitterScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(Window parent, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize, long style=0) -> SplitterScrolledWindow"""
newobj = _gizmos.new_SplitterScrolledWindow(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setOORInfo(self)
def __repr__(self):
return "<%s.%s; proxy of C++ wxSplitterScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
class SplitterScrolledWindowPtr(SplitterScrolledWindow):
def __init__(self, this):
@ -182,21 +275,47 @@ LED_ALIGN_CENTER = _gizmos.LED_ALIGN_CENTER
LED_ALIGN_MASK = _gizmos.LED_ALIGN_MASK
LED_DRAW_FADED = _gizmos.LED_DRAW_FADED
class LEDNumberCtrl(core.Control):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLEDNumberCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(Window parent, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl"""
newobj = _gizmos.new_LEDNumberCtrl(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setOORInfo(self)
def Create(*args, **kwargs): return _gizmos.LEDNumberCtrl_Create(*args, **kwargs)
def GetAlignment(*args, **kwargs): return _gizmos.LEDNumberCtrl_GetAlignment(*args, **kwargs)
def GetDrawFaded(*args, **kwargs): return _gizmos.LEDNumberCtrl_GetDrawFaded(*args, **kwargs)
def GetValue(*args, **kwargs): return _gizmos.LEDNumberCtrl_GetValue(*args, **kwargs)
def SetAlignment(*args, **kwargs): return _gizmos.LEDNumberCtrl_SetAlignment(*args, **kwargs)
def SetDrawFaded(*args, **kwargs): return _gizmos.LEDNumberCtrl_SetDrawFaded(*args, **kwargs)
def SetValue(*args, **kwargs): return _gizmos.LEDNumberCtrl_SetValue(*args, **kwargs)
def __repr__(self):
return "<%s.%s; proxy of C++ wxLEDNumberCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def Create(*args, **kwargs):
"""Create(Window parent, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool"""
return _gizmos.LEDNumberCtrl_Create(*args, **kwargs)
def GetAlignment(*args, **kwargs):
"""GetAlignment() -> wxLEDValueAlign"""
return _gizmos.LEDNumberCtrl_GetAlignment(*args, **kwargs)
def GetDrawFaded(*args, **kwargs):
"""GetDrawFaded() -> bool"""
return _gizmos.LEDNumberCtrl_GetDrawFaded(*args, **kwargs)
def GetValue(*args, **kwargs):
"""GetValue() -> wxString"""
return _gizmos.LEDNumberCtrl_GetValue(*args, **kwargs)
def SetAlignment(*args, **kwargs):
"""SetAlignment(wxLEDValueAlign Alignment, bool Redraw=true)"""
return _gizmos.LEDNumberCtrl_SetAlignment(*args, **kwargs)
def SetDrawFaded(*args, **kwargs):
"""SetDrawFaded(bool DrawFaded, bool Redraw=true)"""
return _gizmos.LEDNumberCtrl_SetDrawFaded(*args, **kwargs)
def SetValue(*args, **kwargs):
"""SetValue(wxString Value, bool Redraw=true)"""
return _gizmos.LEDNumberCtrl_SetValue(*args, **kwargs)
class LEDNumberCtrlPtr(LEDNumberCtrl):
def __init__(self, this):
@ -206,6 +325,7 @@ class LEDNumberCtrlPtr(LEDNumberCtrl):
_gizmos.LEDNumberCtrl_swigregister(LEDNumberCtrlPtr)
def PreLEDNumberCtrl(*args, **kwargs):
"""PreLEDNumberCtrl() -> LEDNumberCtrl"""
val = _gizmos.new_PreLEDNumberCtrl(*args, **kwargs)
val.thisown = 1
return val
@ -215,23 +335,56 @@ TL_ALIGN_RIGHT = _gizmos.TL_ALIGN_RIGHT
TL_ALIGN_CENTER = _gizmos.TL_ALIGN_CENTER
TREE_HITTEST_ONITEMCOLUMN = _gizmos.TREE_HITTEST_ONITEMCOLUMN
class TreeListColumnInfo(core.Object):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTreeListColumnInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(wxString text=wxPyEmptyString, int image=-1, size_t width=100,
wxTreeListColumnAlign alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo"""
newobj = _gizmos.new_TreeListColumnInfo(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def GetAlignment(*args, **kwargs): return _gizmos.TreeListColumnInfo_GetAlignment(*args, **kwargs)
def GetText(*args, **kwargs): return _gizmos.TreeListColumnInfo_GetText(*args, **kwargs)
def GetImage(*args, **kwargs): return _gizmos.TreeListColumnInfo_GetImage(*args, **kwargs)
def GetSelectedImage(*args, **kwargs): return _gizmos.TreeListColumnInfo_GetSelectedImage(*args, **kwargs)
def GetWidth(*args, **kwargs): return _gizmos.TreeListColumnInfo_GetWidth(*args, **kwargs)
def SetAlignment(*args, **kwargs): return _gizmos.TreeListColumnInfo_SetAlignment(*args, **kwargs)
def SetText(*args, **kwargs): return _gizmos.TreeListColumnInfo_SetText(*args, **kwargs)
def SetImage(*args, **kwargs): return _gizmos.TreeListColumnInfo_SetImage(*args, **kwargs)
def SetSelectedImage(*args, **kwargs): return _gizmos.TreeListColumnInfo_SetSelectedImage(*args, **kwargs)
def SetWidth(*args, **kwargs): return _gizmos.TreeListColumnInfo_SetWidth(*args, **kwargs)
def __repr__(self):
return "<%s.%s; proxy of C++ wxTreeListColumnInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def GetAlignment(*args, **kwargs):
"""GetAlignment() -> wxTreeListColumnAlign"""
return _gizmos.TreeListColumnInfo_GetAlignment(*args, **kwargs)
def GetText(*args, **kwargs):
"""GetText() -> wxString"""
return _gizmos.TreeListColumnInfo_GetText(*args, **kwargs)
def GetImage(*args, **kwargs):
"""GetImage() -> int"""
return _gizmos.TreeListColumnInfo_GetImage(*args, **kwargs)
def GetSelectedImage(*args, **kwargs):
"""GetSelectedImage() -> int"""
return _gizmos.TreeListColumnInfo_GetSelectedImage(*args, **kwargs)
def GetWidth(*args, **kwargs):
"""GetWidth() -> size_t"""
return _gizmos.TreeListColumnInfo_GetWidth(*args, **kwargs)
def SetAlignment(*args, **kwargs):
"""SetAlignment(wxTreeListColumnAlign alignment)"""
return _gizmos.TreeListColumnInfo_SetAlignment(*args, **kwargs)
def SetText(*args, **kwargs):
"""SetText(wxString text)"""
return _gizmos.TreeListColumnInfo_SetText(*args, **kwargs)
def SetImage(*args, **kwargs):
"""SetImage(int image)"""
return _gizmos.TreeListColumnInfo_SetImage(*args, **kwargs)
def SetSelectedImage(*args, **kwargs):
"""SetSelectedImage(int image)"""
return _gizmos.TreeListColumnInfo_SetSelectedImage(*args, **kwargs)
def SetWidth(*args, **kwargs):
"""SetWidth(size_t with)"""
return _gizmos.TreeListColumnInfo_SetWidth(*args, **kwargs)
class TreeListColumnInfoPtr(TreeListColumnInfo):
def __init__(self, this):
@ -241,122 +394,430 @@ class TreeListColumnInfoPtr(TreeListColumnInfo):
_gizmos.TreeListColumnInfo_swigregister(TreeListColumnInfoPtr)
class TreeListCtrl(core.Control):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTreeListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(Window parent, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
Validator validator=DefaultValidator,
wxString name=wxPyTreeListCtrlNameStr) -> TreeListCtrl"""
newobj = _gizmos.new_TreeListCtrl(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setOORInfo(self);self._setCallbackInfo(self, TreeListCtrl)
def Create(*args, **kwargs): return _gizmos.TreeListCtrl_Create(*args, **kwargs)
def _setCallbackInfo(*args, **kwargs): return _gizmos.TreeListCtrl__setCallbackInfo(*args, **kwargs)
def GetCount(*args, **kwargs): return _gizmos.TreeListCtrl_GetCount(*args, **kwargs)
def GetIndent(*args, **kwargs): return _gizmos.TreeListCtrl_GetIndent(*args, **kwargs)
def SetIndent(*args, **kwargs): return _gizmos.TreeListCtrl_SetIndent(*args, **kwargs)
def GetSpacing(*args, **kwargs): return _gizmos.TreeListCtrl_GetSpacing(*args, **kwargs)
def SetSpacing(*args, **kwargs): return _gizmos.TreeListCtrl_SetSpacing(*args, **kwargs)
def GetLineSpacing(*args, **kwargs): return _gizmos.TreeListCtrl_GetLineSpacing(*args, **kwargs)
def SetLineSpacing(*args, **kwargs): return _gizmos.TreeListCtrl_SetLineSpacing(*args, **kwargs)
def GetImageList(*args, **kwargs): return _gizmos.TreeListCtrl_GetImageList(*args, **kwargs)
def GetStateImageList(*args, **kwargs): return _gizmos.TreeListCtrl_GetStateImageList(*args, **kwargs)
def GetButtonsImageList(*args, **kwargs): return _gizmos.TreeListCtrl_GetButtonsImageList(*args, **kwargs)
def SetImageList(*args, **kwargs): return _gizmos.TreeListCtrl_SetImageList(*args, **kwargs)
def SetStateImageList(*args, **kwargs): return _gizmos.TreeListCtrl_SetStateImageList(*args, **kwargs)
def SetButtonsImageList(*args, **kwargs): return _gizmos.TreeListCtrl_SetButtonsImageList(*args, **kwargs)
def AssignImageList(*args, **kwargs):
def Create(*args, **kwargs):
"""Create(Window parent, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
Validator validator=DefaultValidator,
wxString name=wxPyTreeListCtrlNameStr) -> bool"""
return _gizmos.TreeListCtrl_Create(*args, **kwargs)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(PyObject self, PyObject _class)"""
return _gizmos.TreeListCtrl__setCallbackInfo(*args, **kwargs)
def GetCount(*args, **kwargs):
"""GetCount() -> size_t"""
return _gizmos.TreeListCtrl_GetCount(*args, **kwargs)
def GetIndent(*args, **kwargs):
"""GetIndent() -> unsigned int"""
return _gizmos.TreeListCtrl_GetIndent(*args, **kwargs)
def SetIndent(*args, **kwargs):
"""SetIndent(unsigned int indent)"""
return _gizmos.TreeListCtrl_SetIndent(*args, **kwargs)
def GetSpacing(*args, **kwargs):
"""GetSpacing() -> unsigned int"""
return _gizmos.TreeListCtrl_GetSpacing(*args, **kwargs)
def SetSpacing(*args, **kwargs):
"""SetSpacing(unsigned int spacing)"""
return _gizmos.TreeListCtrl_SetSpacing(*args, **kwargs)
def GetLineSpacing(*args, **kwargs):
"""GetLineSpacing() -> unsigned int"""
return _gizmos.TreeListCtrl_GetLineSpacing(*args, **kwargs)
def SetLineSpacing(*args, **kwargs):
"""SetLineSpacing(unsigned int spacing)"""
return _gizmos.TreeListCtrl_SetLineSpacing(*args, **kwargs)
def GetImageList(*args, **kwargs):
"""GetImageList() -> wxImageList"""
return _gizmos.TreeListCtrl_GetImageList(*args, **kwargs)
def GetStateImageList(*args, **kwargs):
"""GetStateImageList() -> wxImageList"""
return _gizmos.TreeListCtrl_GetStateImageList(*args, **kwargs)
def GetButtonsImageList(*args, **kwargs):
"""GetButtonsImageList() -> wxImageList"""
return _gizmos.TreeListCtrl_GetButtonsImageList(*args, **kwargs)
def SetImageList(*args, **kwargs):
"""SetImageList(wxImageList imageList)"""
return _gizmos.TreeListCtrl_SetImageList(*args, **kwargs)
def SetStateImageList(*args, **kwargs):
"""SetStateImageList(wxImageList imageList)"""
return _gizmos.TreeListCtrl_SetStateImageList(*args, **kwargs)
def SetButtonsImageList(*args, **kwargs):
"""SetButtonsImageList(wxImageList imageList)"""
return _gizmos.TreeListCtrl_SetButtonsImageList(*args, **kwargs)
def AssignImageList(*args, **kwargs):
"""AssignImageList(wxImageList imageList)"""
val = _gizmos.TreeListCtrl_AssignImageList(*args, **kwargs)
args[1].thisown = 0
return val
def AssignStateImageList(*args, **kwargs):
def AssignStateImageList(*args, **kwargs):
"""AssignStateImageList(wxImageList imageList)"""
val = _gizmos.TreeListCtrl_AssignStateImageList(*args, **kwargs)
args[1].thisown = 0
return val
def AssignButtonsImageList(*args, **kwargs):
def AssignButtonsImageList(*args, **kwargs):
"""AssignButtonsImageList(wxImageList imageList)"""
val = _gizmos.TreeListCtrl_AssignButtonsImageList(*args, **kwargs)
args[1].thisown = 0
return val
def AddColumn(*args, **kwargs): return _gizmos.TreeListCtrl_AddColumn(*args, **kwargs)
def AddColumnInfo(*args, **kwargs): return _gizmos.TreeListCtrl_AddColumnInfo(*args, **kwargs)
def InsertColumn(*args, **kwargs): return _gizmos.TreeListCtrl_InsertColumn(*args, **kwargs)
def InsertColumnInfo(*args, **kwargs): return _gizmos.TreeListCtrl_InsertColumnInfo(*args, **kwargs)
def RemoveColumn(*args, **kwargs): return _gizmos.TreeListCtrl_RemoveColumn(*args, **kwargs)
def GetColumnCount(*args, **kwargs): return _gizmos.TreeListCtrl_GetColumnCount(*args, **kwargs)
def SetColumnWidth(*args, **kwargs): return _gizmos.TreeListCtrl_SetColumnWidth(*args, **kwargs)
def GetColumnWidth(*args, **kwargs): return _gizmos.TreeListCtrl_GetColumnWidth(*args, **kwargs)
def SetMainColumn(*args, **kwargs): return _gizmos.TreeListCtrl_SetMainColumn(*args, **kwargs)
def GetMainColumn(*args, **kwargs): return _gizmos.TreeListCtrl_GetMainColumn(*args, **kwargs)
def SetColumnText(*args, **kwargs): return _gizmos.TreeListCtrl_SetColumnText(*args, **kwargs)
def GetColumnText(*args, **kwargs): return _gizmos.TreeListCtrl_GetColumnText(*args, **kwargs)
def SetColumn(*args, **kwargs): return _gizmos.TreeListCtrl_SetColumn(*args, **kwargs)
def GetColumn(*args, **kwargs): return _gizmos.TreeListCtrl_GetColumn(*args, **kwargs)
def SetColumnAlignment(*args, **kwargs): return _gizmos.TreeListCtrl_SetColumnAlignment(*args, **kwargs)
def GetColumnAlignment(*args, **kwargs): return _gizmos.TreeListCtrl_GetColumnAlignment(*args, **kwargs)
def SetColumnImage(*args, **kwargs): return _gizmos.TreeListCtrl_SetColumnImage(*args, **kwargs)
def GetColumnImage(*args, **kwargs): return _gizmos.TreeListCtrl_GetColumnImage(*args, **kwargs)
def GetItemText(*args, **kwargs): return _gizmos.TreeListCtrl_GetItemText(*args, **kwargs)
def GetItemImage(*args, **kwargs): return _gizmos.TreeListCtrl_GetItemImage(*args, **kwargs)
def SetItemText(*args, **kwargs): return _gizmos.TreeListCtrl_SetItemText(*args, **kwargs)
def SetItemImage(*args, **kwargs): return _gizmos.TreeListCtrl_SetItemImage(*args, **kwargs)
def GetItemData(*args, **kwargs): return _gizmos.TreeListCtrl_GetItemData(*args, **kwargs)
def SetItemData(*args, **kwargs): return _gizmos.TreeListCtrl_SetItemData(*args, **kwargs)
def GetItemPyData(*args, **kwargs): return _gizmos.TreeListCtrl_GetItemPyData(*args, **kwargs)
def SetItemPyData(*args, **kwargs): return _gizmos.TreeListCtrl_SetItemPyData(*args, **kwargs)
def SetItemHasChildren(*args, **kwargs): return _gizmos.TreeListCtrl_SetItemHasChildren(*args, **kwargs)
def SetItemBold(*args, **kwargs): return _gizmos.TreeListCtrl_SetItemBold(*args, **kwargs)
def SetItemTextColour(*args, **kwargs): return _gizmos.TreeListCtrl_SetItemTextColour(*args, **kwargs)
def SetItemBackgroundColour(*args, **kwargs): return _gizmos.TreeListCtrl_SetItemBackgroundColour(*args, **kwargs)
def SetItemFont(*args, **kwargs): return _gizmos.TreeListCtrl_SetItemFont(*args, **kwargs)
def GetItemBold(*args, **kwargs): return _gizmos.TreeListCtrl_GetItemBold(*args, **kwargs)
def GetItemTextColour(*args, **kwargs): return _gizmos.TreeListCtrl_GetItemTextColour(*args, **kwargs)
def GetItemBackgroundColour(*args, **kwargs): return _gizmos.TreeListCtrl_GetItemBackgroundColour(*args, **kwargs)
def GetItemFont(*args, **kwargs): return _gizmos.TreeListCtrl_GetItemFont(*args, **kwargs)
def IsVisible(*args, **kwargs): return _gizmos.TreeListCtrl_IsVisible(*args, **kwargs)
def ItemHasChildren(*args, **kwargs): return _gizmos.TreeListCtrl_ItemHasChildren(*args, **kwargs)
def IsExpanded(*args, **kwargs): return _gizmos.TreeListCtrl_IsExpanded(*args, **kwargs)
def IsSelected(*args, **kwargs): return _gizmos.TreeListCtrl_IsSelected(*args, **kwargs)
def IsBold(*args, **kwargs): return _gizmos.TreeListCtrl_IsBold(*args, **kwargs)
def GetChildrenCount(*args, **kwargs): return _gizmos.TreeListCtrl_GetChildrenCount(*args, **kwargs)
def GetRootItem(*args, **kwargs): return _gizmos.TreeListCtrl_GetRootItem(*args, **kwargs)
def GetSelection(*args, **kwargs): return _gizmos.TreeListCtrl_GetSelection(*args, **kwargs)
def GetSelections(*args, **kwargs): return _gizmos.TreeListCtrl_GetSelections(*args, **kwargs)
def GetItemParent(*args, **kwargs): return _gizmos.TreeListCtrl_GetItemParent(*args, **kwargs)
def GetFirstChild(*args, **kwargs): return _gizmos.TreeListCtrl_GetFirstChild(*args, **kwargs)
def GetNextChild(*args, **kwargs): return _gizmos.TreeListCtrl_GetNextChild(*args, **kwargs)
def GetLastChild(*args, **kwargs): return _gizmos.TreeListCtrl_GetLastChild(*args, **kwargs)
def GetNextSibling(*args, **kwargs): return _gizmos.TreeListCtrl_GetNextSibling(*args, **kwargs)
def GetPrevSibling(*args, **kwargs): return _gizmos.TreeListCtrl_GetPrevSibling(*args, **kwargs)
def GetFirstVisibleItem(*args, **kwargs): return _gizmos.TreeListCtrl_GetFirstVisibleItem(*args, **kwargs)
def GetNextVisible(*args, **kwargs): return _gizmos.TreeListCtrl_GetNextVisible(*args, **kwargs)
def GetPrevVisible(*args, **kwargs): return _gizmos.TreeListCtrl_GetPrevVisible(*args, **kwargs)
def GetNext(*args, **kwargs): return _gizmos.TreeListCtrl_GetNext(*args, **kwargs)
def AddRoot(*args, **kwargs): return _gizmos.TreeListCtrl_AddRoot(*args, **kwargs)
def PrependItem(*args, **kwargs): return _gizmos.TreeListCtrl_PrependItem(*args, **kwargs)
def InsertItem(*args, **kwargs): return _gizmos.TreeListCtrl_InsertItem(*args, **kwargs)
def InsertItemBefore(*args, **kwargs): return _gizmos.TreeListCtrl_InsertItemBefore(*args, **kwargs)
def AppendItem(*args, **kwargs): return _gizmos.TreeListCtrl_AppendItem(*args, **kwargs)
def Delete(*args, **kwargs): return _gizmos.TreeListCtrl_Delete(*args, **kwargs)
def DeleteChildren(*args, **kwargs): return _gizmos.TreeListCtrl_DeleteChildren(*args, **kwargs)
def DeleteAllItems(*args, **kwargs): return _gizmos.TreeListCtrl_DeleteAllItems(*args, **kwargs)
def Expand(*args, **kwargs): return _gizmos.TreeListCtrl_Expand(*args, **kwargs)
def ExpandAll(*args, **kwargs): return _gizmos.TreeListCtrl_ExpandAll(*args, **kwargs)
def Collapse(*args, **kwargs): return _gizmos.TreeListCtrl_Collapse(*args, **kwargs)
def CollapseAndReset(*args, **kwargs): return _gizmos.TreeListCtrl_CollapseAndReset(*args, **kwargs)
def Toggle(*args, **kwargs): return _gizmos.TreeListCtrl_Toggle(*args, **kwargs)
def Unselect(*args, **kwargs): return _gizmos.TreeListCtrl_Unselect(*args, **kwargs)
def UnselectAll(*args, **kwargs): return _gizmos.TreeListCtrl_UnselectAll(*args, **kwargs)
def SelectItem(*args, **kwargs): return _gizmos.TreeListCtrl_SelectItem(*args, **kwargs)
def EnsureVisible(*args, **kwargs): return _gizmos.TreeListCtrl_EnsureVisible(*args, **kwargs)
def ScrollTo(*args, **kwargs): return _gizmos.TreeListCtrl_ScrollTo(*args, **kwargs)
def HitTest(*args, **kwargs): return _gizmos.TreeListCtrl_HitTest(*args, **kwargs)
def GetBoundingRect(*args, **kwargs): return _gizmos.TreeListCtrl_GetBoundingRect(*args, **kwargs)
def EditLabel(*args, **kwargs): return _gizmos.TreeListCtrl_EditLabel(*args, **kwargs)
def Edit(*args, **kwargs): return _gizmos.TreeListCtrl_Edit(*args, **kwargs)
def SortChildren(*args, **kwargs): return _gizmos.TreeListCtrl_SortChildren(*args, **kwargs)
def GetItemSelectedImage(*args, **kwargs): return _gizmos.TreeListCtrl_GetItemSelectedImage(*args, **kwargs)
def SetItemSelectedImage(*args, **kwargs): return _gizmos.TreeListCtrl_SetItemSelectedImage(*args, **kwargs)
def GetHeaderWindow(*args, **kwargs): return _gizmos.TreeListCtrl_GetHeaderWindow(*args, **kwargs)
def GetMainWindow(*args, **kwargs): return _gizmos.TreeListCtrl_GetMainWindow(*args, **kwargs)
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTreeListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def AddColumn(*args, **kwargs):
"""AddColumn(wxString text)"""
return _gizmos.TreeListCtrl_AddColumn(*args, **kwargs)
def AddColumnInfo(*args, **kwargs):
"""AddColumnInfo(TreeListColumnInfo col)"""
return _gizmos.TreeListCtrl_AddColumnInfo(*args, **kwargs)
def InsertColumn(*args, **kwargs):
"""InsertColumn(size_t before, wxString text)"""
return _gizmos.TreeListCtrl_InsertColumn(*args, **kwargs)
def InsertColumnInfo(*args, **kwargs):
"""InsertColumnInfo(size_t before, TreeListColumnInfo col)"""
return _gizmos.TreeListCtrl_InsertColumnInfo(*args, **kwargs)
def RemoveColumn(*args, **kwargs):
"""RemoveColumn(size_t column)"""
return _gizmos.TreeListCtrl_RemoveColumn(*args, **kwargs)
def GetColumnCount(*args, **kwargs):
"""GetColumnCount() -> size_t"""
return _gizmos.TreeListCtrl_GetColumnCount(*args, **kwargs)
def SetColumnWidth(*args, **kwargs):
"""SetColumnWidth(size_t column, size_t width)"""
return _gizmos.TreeListCtrl_SetColumnWidth(*args, **kwargs)
def GetColumnWidth(*args, **kwargs):
"""GetColumnWidth(size_t column) -> int"""
return _gizmos.TreeListCtrl_GetColumnWidth(*args, **kwargs)
def SetMainColumn(*args, **kwargs):
"""SetMainColumn(size_t column)"""
return _gizmos.TreeListCtrl_SetMainColumn(*args, **kwargs)
def GetMainColumn(*args, **kwargs):
"""GetMainColumn() -> size_t"""
return _gizmos.TreeListCtrl_GetMainColumn(*args, **kwargs)
def SetColumnText(*args, **kwargs):
"""SetColumnText(size_t column, wxString text)"""
return _gizmos.TreeListCtrl_SetColumnText(*args, **kwargs)
def GetColumnText(*args, **kwargs):
"""GetColumnText(size_t column) -> wxString"""
return _gizmos.TreeListCtrl_GetColumnText(*args, **kwargs)
def SetColumn(*args, **kwargs):
"""SetColumn(size_t column, TreeListColumnInfo info)"""
return _gizmos.TreeListCtrl_SetColumn(*args, **kwargs)
def GetColumn(*args, **kwargs):
"""GetColumn(size_t column) -> TreeListColumnInfo"""
return _gizmos.TreeListCtrl_GetColumn(*args, **kwargs)
def SetColumnAlignment(*args, **kwargs):
"""SetColumnAlignment(size_t column, wxTreeListColumnAlign align)"""
return _gizmos.TreeListCtrl_SetColumnAlignment(*args, **kwargs)
def GetColumnAlignment(*args, **kwargs):
"""GetColumnAlignment(size_t column) -> wxTreeListColumnAlign"""
return _gizmos.TreeListCtrl_GetColumnAlignment(*args, **kwargs)
def SetColumnImage(*args, **kwargs):
"""SetColumnImage(size_t column, int image)"""
return _gizmos.TreeListCtrl_SetColumnImage(*args, **kwargs)
def GetColumnImage(*args, **kwargs):
"""GetColumnImage(size_t column) -> int"""
return _gizmos.TreeListCtrl_GetColumnImage(*args, **kwargs)
def GetItemText(*args, **kwargs):
"""GetItemText(TreeItemId item, int column=-1) -> wxString"""
return _gizmos.TreeListCtrl_GetItemText(*args, **kwargs)
def GetItemImage(*args, **kwargs):
"""GetItemImage(TreeItemId item, int column=-1, wxTreeItemIcon which=TreeItemIcon_Normal) -> int"""
return _gizmos.TreeListCtrl_GetItemImage(*args, **kwargs)
def SetItemText(*args, **kwargs):
"""SetItemText(TreeItemId item, wxString text, int column=-1)"""
return _gizmos.TreeListCtrl_SetItemText(*args, **kwargs)
def SetItemImage(*args, **kwargs):
"""SetItemImage(TreeItemId item, int image, int column=-1, wxTreeItemIcon which=TreeItemIcon_Normal)"""
return _gizmos.TreeListCtrl_SetItemImage(*args, **kwargs)
def GetItemData(*args, **kwargs):
"""GetItemData(TreeItemId item) -> TreeItemData"""
return _gizmos.TreeListCtrl_GetItemData(*args, **kwargs)
def SetItemData(*args, **kwargs):
"""SetItemData(TreeItemId item, TreeItemData data)"""
return _gizmos.TreeListCtrl_SetItemData(*args, **kwargs)
def GetItemPyData(*args, **kwargs):
"""GetItemPyData(TreeItemId item) -> PyObject"""
return _gizmos.TreeListCtrl_GetItemPyData(*args, **kwargs)
def SetItemPyData(*args, **kwargs):
"""SetItemPyData(TreeItemId item, PyObject obj)"""
return _gizmos.TreeListCtrl_SetItemPyData(*args, **kwargs)
def SetItemHasChildren(*args, **kwargs):
"""SetItemHasChildren(TreeItemId item, bool has=True)"""
return _gizmos.TreeListCtrl_SetItemHasChildren(*args, **kwargs)
def SetItemBold(*args, **kwargs):
"""SetItemBold(TreeItemId item, bool bold=True)"""
return _gizmos.TreeListCtrl_SetItemBold(*args, **kwargs)
def SetItemTextColour(*args, **kwargs):
"""SetItemTextColour(TreeItemId item, wxColour col)"""
return _gizmos.TreeListCtrl_SetItemTextColour(*args, **kwargs)
def SetItemBackgroundColour(*args, **kwargs):
"""SetItemBackgroundColour(TreeItemId item, wxColour col)"""
return _gizmos.TreeListCtrl_SetItemBackgroundColour(*args, **kwargs)
def SetItemFont(*args, **kwargs):
"""SetItemFont(TreeItemId item, wxFont font)"""
return _gizmos.TreeListCtrl_SetItemFont(*args, **kwargs)
def GetItemBold(*args, **kwargs):
"""GetItemBold(TreeItemId item) -> bool"""
return _gizmos.TreeListCtrl_GetItemBold(*args, **kwargs)
def GetItemTextColour(*args, **kwargs):
"""GetItemTextColour(TreeItemId item) -> wxColour"""
return _gizmos.TreeListCtrl_GetItemTextColour(*args, **kwargs)
def GetItemBackgroundColour(*args, **kwargs):
"""GetItemBackgroundColour(TreeItemId item) -> wxColour"""
return _gizmos.TreeListCtrl_GetItemBackgroundColour(*args, **kwargs)
def GetItemFont(*args, **kwargs):
"""GetItemFont(TreeItemId item) -> wxFont"""
return _gizmos.TreeListCtrl_GetItemFont(*args, **kwargs)
def IsVisible(*args, **kwargs):
"""IsVisible(TreeItemId item) -> bool"""
return _gizmos.TreeListCtrl_IsVisible(*args, **kwargs)
def ItemHasChildren(*args, **kwargs):
"""ItemHasChildren(TreeItemId item) -> bool"""
return _gizmos.TreeListCtrl_ItemHasChildren(*args, **kwargs)
def IsExpanded(*args, **kwargs):
"""IsExpanded(TreeItemId item) -> bool"""
return _gizmos.TreeListCtrl_IsExpanded(*args, **kwargs)
def IsSelected(*args, **kwargs):
"""IsSelected(TreeItemId item) -> bool"""
return _gizmos.TreeListCtrl_IsSelected(*args, **kwargs)
def IsBold(*args, **kwargs):
"""IsBold(TreeItemId item) -> bool"""
return _gizmos.TreeListCtrl_IsBold(*args, **kwargs)
def GetChildrenCount(*args, **kwargs):
"""GetChildrenCount(TreeItemId item, bool recursively=True) -> size_t"""
return _gizmos.TreeListCtrl_GetChildrenCount(*args, **kwargs)
def GetRootItem(*args, **kwargs):
"""GetRootItem() -> TreeItemId"""
return _gizmos.TreeListCtrl_GetRootItem(*args, **kwargs)
def GetSelection(*args, **kwargs):
"""GetSelection() -> TreeItemId"""
return _gizmos.TreeListCtrl_GetSelection(*args, **kwargs)
def GetSelections(*args, **kwargs):
"""GetSelections() -> PyObject"""
return _gizmos.TreeListCtrl_GetSelections(*args, **kwargs)
def GetItemParent(*args, **kwargs):
"""GetItemParent(TreeItemId item) -> TreeItemId"""
return _gizmos.TreeListCtrl_GetItemParent(*args, **kwargs)
def GetFirstChild(*args, **kwargs):
"""GetFirstChild(TreeItemId item) -> PyObject"""
return _gizmos.TreeListCtrl_GetFirstChild(*args, **kwargs)
def GetNextChild(*args, **kwargs):
"""GetNextChild(TreeItemId item, long cookie) -> PyObject"""
return _gizmos.TreeListCtrl_GetNextChild(*args, **kwargs)
def GetLastChild(*args, **kwargs):
"""GetLastChild(TreeItemId item) -> TreeItemId"""
return _gizmos.TreeListCtrl_GetLastChild(*args, **kwargs)
def GetNextSibling(*args, **kwargs):
"""GetNextSibling(TreeItemId item) -> TreeItemId"""
return _gizmos.TreeListCtrl_GetNextSibling(*args, **kwargs)
def GetPrevSibling(*args, **kwargs):
"""GetPrevSibling(TreeItemId item) -> TreeItemId"""
return _gizmos.TreeListCtrl_GetPrevSibling(*args, **kwargs)
def GetFirstVisibleItem(*args, **kwargs):
"""GetFirstVisibleItem() -> TreeItemId"""
return _gizmos.TreeListCtrl_GetFirstVisibleItem(*args, **kwargs)
def GetNextVisible(*args, **kwargs):
"""GetNextVisible(TreeItemId item) -> TreeItemId"""
return _gizmos.TreeListCtrl_GetNextVisible(*args, **kwargs)
def GetPrevVisible(*args, **kwargs):
"""GetPrevVisible(TreeItemId item) -> TreeItemId"""
return _gizmos.TreeListCtrl_GetPrevVisible(*args, **kwargs)
def GetNext(*args, **kwargs):
"""GetNext(TreeItemId item) -> TreeItemId"""
return _gizmos.TreeListCtrl_GetNext(*args, **kwargs)
def AddRoot(*args, **kwargs):
"""AddRoot(wxString text, int image=-1, int selectedImage=-1,
TreeItemData data=None) -> TreeItemId"""
return _gizmos.TreeListCtrl_AddRoot(*args, **kwargs)
def PrependItem(*args, **kwargs):
"""PrependItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1,
TreeItemData data=None) -> TreeItemId"""
return _gizmos.TreeListCtrl_PrependItem(*args, **kwargs)
def InsertItem(*args, **kwargs):
"""InsertItem(TreeItemId parent, TreeItemId idPrevious, wxString text,
int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId"""
return _gizmos.TreeListCtrl_InsertItem(*args, **kwargs)
def InsertItemBefore(*args, **kwargs):
"""InsertItemBefore(TreeItemId parent, size_t index, wxString text, int image=-1,
int selectedImage=-1, TreeItemData data=None) -> TreeItemId"""
return _gizmos.TreeListCtrl_InsertItemBefore(*args, **kwargs)
def AppendItem(*args, **kwargs):
"""AppendItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1,
TreeItemData data=None) -> TreeItemId"""
return _gizmos.TreeListCtrl_AppendItem(*args, **kwargs)
def Delete(*args, **kwargs):
"""Delete(TreeItemId item)"""
return _gizmos.TreeListCtrl_Delete(*args, **kwargs)
def DeleteChildren(*args, **kwargs):
"""DeleteChildren(TreeItemId item)"""
return _gizmos.TreeListCtrl_DeleteChildren(*args, **kwargs)
def DeleteAllItems(*args, **kwargs):
"""DeleteAllItems()"""
return _gizmos.TreeListCtrl_DeleteAllItems(*args, **kwargs)
def Expand(*args, **kwargs):
"""Expand(TreeItemId item)"""
return _gizmos.TreeListCtrl_Expand(*args, **kwargs)
def ExpandAll(*args, **kwargs):
"""ExpandAll(TreeItemId item)"""
return _gizmos.TreeListCtrl_ExpandAll(*args, **kwargs)
def Collapse(*args, **kwargs):
"""Collapse(TreeItemId item)"""
return _gizmos.TreeListCtrl_Collapse(*args, **kwargs)
def CollapseAndReset(*args, **kwargs):
"""CollapseAndReset(TreeItemId item)"""
return _gizmos.TreeListCtrl_CollapseAndReset(*args, **kwargs)
def Toggle(*args, **kwargs):
"""Toggle(TreeItemId item)"""
return _gizmos.TreeListCtrl_Toggle(*args, **kwargs)
def Unselect(*args, **kwargs):
"""Unselect()"""
return _gizmos.TreeListCtrl_Unselect(*args, **kwargs)
def UnselectAll(*args, **kwargs):
"""UnselectAll()"""
return _gizmos.TreeListCtrl_UnselectAll(*args, **kwargs)
def SelectItem(*args, **kwargs):
"""SelectItem(TreeItemId item, bool unselect_others=True, bool extended_select=False)"""
return _gizmos.TreeListCtrl_SelectItem(*args, **kwargs)
def EnsureVisible(*args, **kwargs):
"""EnsureVisible(TreeItemId item)"""
return _gizmos.TreeListCtrl_EnsureVisible(*args, **kwargs)
def ScrollTo(*args, **kwargs):
"""ScrollTo(TreeItemId item)"""
return _gizmos.TreeListCtrl_ScrollTo(*args, **kwargs)
def HitTest(*args, **kwargs):
"""HitTest(Point point, int OUTPUT, int OUTPUT) -> TreeItemId"""
return _gizmos.TreeListCtrl_HitTest(*args, **kwargs)
def GetBoundingRect(*args, **kwargs):
"""GetBoundingRect(TreeItemId item, bool textOnly=False) -> PyObject"""
return _gizmos.TreeListCtrl_GetBoundingRect(*args, **kwargs)
def EditLabel(*args, **kwargs):
"""EditLabel(TreeItemId item)"""
return _gizmos.TreeListCtrl_EditLabel(*args, **kwargs)
def Edit(*args, **kwargs):
"""Edit(TreeItemId item)"""
return _gizmos.TreeListCtrl_Edit(*args, **kwargs)
def SortChildren(*args, **kwargs):
"""SortChildren(TreeItemId item)"""
return _gizmos.TreeListCtrl_SortChildren(*args, **kwargs)
def GetItemSelectedImage(*args, **kwargs):
"""GetItemSelectedImage(TreeItemId item) -> int"""
return _gizmos.TreeListCtrl_GetItemSelectedImage(*args, **kwargs)
def SetItemSelectedImage(*args, **kwargs):
"""SetItemSelectedImage(TreeItemId item, int image)"""
return _gizmos.TreeListCtrl_SetItemSelectedImage(*args, **kwargs)
def GetHeaderWindow(*args, **kwargs):
"""GetHeaderWindow() -> Window"""
return _gizmos.TreeListCtrl_GetHeaderWindow(*args, **kwargs)
def GetMainWindow(*args, **kwargs):
"""GetMainWindow() -> Window"""
return _gizmos.TreeListCtrl_GetMainWindow(*args, **kwargs)
class TreeListCtrlPtr(TreeListCtrl):
def __init__(self, this):
@ -366,6 +827,7 @@ class TreeListCtrlPtr(TreeListCtrl):
_gizmos.TreeListCtrl_swigregister(TreeListCtrlPtr)
def PreTreeListCtrl(*args, **kwargs):
"""PreTreeListCtrl() -> TreeListCtrl"""
val = _gizmos.new_PreTreeListCtrl(*args, **kwargs)
val.thisown = 1
return val

File diff suppressed because one or more lines are too long

View File

@ -6,25 +6,54 @@ import _glcanvas
import core
wx = core
class GLContext(core.Object):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGLContext instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(bool isRGB, GLCanvas win, wxPalette palette=wxNullPalette,
GLContext other=None) -> GLContext"""
newobj = _glcanvas.new_GLContext(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def __del__(self, destroy=_glcanvas.delete_GLContext):
"""__del__()"""
try:
if self.thisown: destroy(self)
except: pass
def SetCurrent(*args, **kwargs): return _glcanvas.GLContext_SetCurrent(*args, **kwargs)
def SetColour(*args, **kwargs): return _glcanvas.GLContext_SetColour(*args, **kwargs)
def SwapBuffers(*args, **kwargs): return _glcanvas.GLContext_SwapBuffers(*args, **kwargs)
def SetupPixelFormat(*args, **kwargs): return _glcanvas.GLContext_SetupPixelFormat(*args, **kwargs)
def SetupPalette(*args, **kwargs): return _glcanvas.GLContext_SetupPalette(*args, **kwargs)
def CreateDefaultPalette(*args, **kwargs): return _glcanvas.GLContext_CreateDefaultPalette(*args, **kwargs)
def GetPalette(*args, **kwargs): return _glcanvas.GLContext_GetPalette(*args, **kwargs)
def GetWindow(*args, **kwargs): return _glcanvas.GLContext_GetWindow(*args, **kwargs)
def __repr__(self):
return "<%s.%s; proxy of C++ wxGLContext instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def SetCurrent(*args, **kwargs):
"""SetCurrent()"""
return _glcanvas.GLContext_SetCurrent(*args, **kwargs)
def SetColour(*args, **kwargs):
"""SetColour(wxString colour)"""
return _glcanvas.GLContext_SetColour(*args, **kwargs)
def SwapBuffers(*args, **kwargs):
"""SwapBuffers()"""
return _glcanvas.GLContext_SwapBuffers(*args, **kwargs)
def SetupPixelFormat(*args, **kwargs):
"""SetupPixelFormat()"""
return _glcanvas.GLContext_SetupPixelFormat(*args, **kwargs)
def SetupPalette(*args, **kwargs):
"""SetupPalette(wxPalette palette)"""
return _glcanvas.GLContext_SetupPalette(*args, **kwargs)
def CreateDefaultPalette(*args, **kwargs):
"""CreateDefaultPalette() -> wxPalette"""
return _glcanvas.GLContext_CreateDefaultPalette(*args, **kwargs)
def GetPalette(*args, **kwargs):
"""GetPalette() -> wxPalette"""
return _glcanvas.GLContext_GetPalette(*args, **kwargs)
def GetWindow(*args, **kwargs):
"""GetWindow() -> Window"""
return _glcanvas.GLContext_GetWindow(*args, **kwargs)
class GLContextPtr(GLContext):
def __init__(self, this):
@ -50,18 +79,36 @@ WX_GL_MIN_ACCUM_GREEN = _glcanvas.WX_GL_MIN_ACCUM_GREEN
WX_GL_MIN_ACCUM_BLUE = _glcanvas.WX_GL_MIN_ACCUM_BLUE
WX_GL_MIN_ACCUM_ALPHA = _glcanvas.WX_GL_MIN_ACCUM_ALPHA
class GLCanvas(core.Window):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGLCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(Window parent, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize, long style=0, wxString name=wxPyGLCanvasNameStr,
int attribList=None,
wxPalette palette=wxNullPalette) -> GLCanvas"""
newobj = _glcanvas.new_GLCanvas(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setOORInfo(self)
def SetCurrent(*args, **kwargs): return _glcanvas.GLCanvas_SetCurrent(*args, **kwargs)
def SetColour(*args, **kwargs): return _glcanvas.GLCanvas_SetColour(*args, **kwargs)
def SwapBuffers(*args, **kwargs): return _glcanvas.GLCanvas_SwapBuffers(*args, **kwargs)
def GetContext(*args, **kwargs): return _glcanvas.GLCanvas_GetContext(*args, **kwargs)
def __repr__(self):
return "<%s.%s; proxy of C++ wxGLCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def SetCurrent(*args, **kwargs):
"""SetCurrent()"""
return _glcanvas.GLCanvas_SetCurrent(*args, **kwargs)
def SetColour(*args, **kwargs):
"""SetColour(wxString colour)"""
return _glcanvas.GLCanvas_SetColour(*args, **kwargs)
def SwapBuffers(*args, **kwargs):
"""SwapBuffers()"""
return _glcanvas.GLCanvas_SwapBuffers(*args, **kwargs)
def GetContext(*args, **kwargs):
"""GetContext() -> GLContext"""
return _glcanvas.GLCanvas_GetContext(*args, **kwargs)
class GLCanvasPtr(GLCanvas):
def __init__(self, this):
@ -71,6 +118,10 @@ class GLCanvasPtr(GLCanvas):
_glcanvas.GLCanvas_swigregister(GLCanvasPtr)
def wxGLCanvasWithContext(*args, **kwargs):
"""wxGLCanvasWithContext(Window parent, GLContext shared=None, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize,
long style=0, wxString name=wxPyGLCanvasNameStr,
int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas"""
val = _glcanvas.new_wxGLCanvasWithContext(*args, **kwargs)
val.thisown = 1
val._setOORInfo(val)

View File

@ -347,7 +347,7 @@ static PyObject *_wrap_GLContext_SetColour(PyObject *self, PyObject *args, PyObj
PyObject *resultobj;
wxGLContext *arg1 = (wxGLContext *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -359,7 +359,7 @@ static PyObject *_wrap_GLContext_SetColour(PyObject *self, PyObject *args, PyObj
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -552,7 +552,7 @@ static PyObject * GLContext_swigregister(PyObject *self, PyObject *args) {
static PyObject *_wrap_new_GLCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
wxWindowID arg2 = (wxWindowID) -1 ;
int arg2 = (int) -1 ;
wxPoint const &arg3_defvalue = wxDefaultPosition ;
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
wxSize const &arg4_defvalue = wxDefaultSize ;
@ -566,7 +566,7 @@ static PyObject *_wrap_new_GLCanvas(PyObject *self, PyObject *args, PyObject *kw
wxGLCanvas *result;
wxPoint temp3 ;
wxSize temp4 ;
bool temp6 = false ;
bool temp6 = False ;
int *temp7 ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
@ -596,7 +596,7 @@ static PyObject *_wrap_new_GLCanvas(PyObject *self, PyObject *args, PyObject *kw
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
temp6 = true;
temp6 = True;
}
}
if (obj6) {
@ -651,7 +651,7 @@ static PyObject *_wrap_new_wxGLCanvasWithContext(PyObject *self, PyObject *args,
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
wxGLContext *arg2 = (wxGLContext *) NULL ;
wxWindowID arg3 = (wxWindowID) -1 ;
int arg3 = (int) -1 ;
wxPoint const &arg4_defvalue = wxDefaultPosition ;
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
wxSize const &arg5_defvalue = wxDefaultSize ;
@ -665,7 +665,7 @@ static PyObject *_wrap_new_wxGLCanvasWithContext(PyObject *self, PyObject *args,
wxGLCanvas *result;
wxPoint temp4 ;
wxSize temp5 ;
bool temp7 = false ;
bool temp7 = False ;
int *temp8 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -699,7 +699,7 @@ static PyObject *_wrap_new_wxGLCanvasWithContext(PyObject *self, PyObject *args,
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
temp7 = true;
temp7 = True;
}
}
if (obj7) {
@ -778,7 +778,7 @@ static PyObject *_wrap_GLCanvas_SetColour(PyObject *self, PyObject *args, PyObje
PyObject *resultobj;
wxGLCanvas *arg1 = (wxGLCanvas *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -790,7 +790,7 @@ static PyObject *_wrap_GLCanvas_SetColour(PyObject *self, PyObject *args, PyObje
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();

File diff suppressed because it is too large Load Diff

View File

@ -655,7 +655,7 @@ static PyObject *_wrap_ShapeRegion_SetText(PyObject *self, PyObject *args, PyObj
PyObject *resultobj;
wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -667,7 +667,7 @@ static PyObject *_wrap_ShapeRegion_SetText(PyObject *self, PyObject *args, PyObj
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -872,7 +872,7 @@ static PyObject *_wrap_ShapeRegion_SetName(PyObject *self, PyObject *args, PyObj
PyObject *resultobj;
wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -884,7 +884,7 @@ static PyObject *_wrap_ShapeRegion_SetName(PyObject *self, PyObject *args, PyObj
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -912,7 +912,7 @@ static PyObject *_wrap_ShapeRegion_SetColour(PyObject *self, PyObject *args, PyO
PyObject *resultobj;
wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -924,7 +924,7 @@ static PyObject *_wrap_ShapeRegion_SetColour(PyObject *self, PyObject *args, PyO
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -1381,7 +1381,7 @@ static PyObject *_wrap_ShapeRegion_SetPenColour(PyObject *self, PyObject *args,
PyObject *resultobj;
wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -1393,7 +1393,7 @@ static PyObject *_wrap_ShapeRegion_SetPenColour(PyObject *self, PyObject *args,
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -1837,7 +1837,7 @@ static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject *self, PyO
PyObject *resultobj;
wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) FALSE ;
bool arg3 = (bool) False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -2107,7 +2107,7 @@ static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject *self, PyObject
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -2148,7 +2148,7 @@ static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject *self, PyObjec
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj6 = 0 ;
@ -2454,7 +2454,7 @@ static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject *self, PyObjec
PyObject *resultobj;
wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) TRUE ;
bool arg3 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -3474,7 +3474,7 @@ static PyObject *_wrap_PyShape_CalculateSize(PyObject *self, PyObject *args, PyO
static PyObject *_wrap_PyShape_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
bool arg2 = (bool) TRUE ;
bool arg2 = (bool) True ;
wxDC *arg3 = (wxDC *) NULL ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -3509,8 +3509,8 @@ static PyObject *_wrap_PyShape_Select(PyObject *self, PyObject *args, PyObject *
static PyObject *_wrap_PyShape_SetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
bool arg2 = (bool) TRUE ;
bool arg3 = (bool) FALSE ;
bool arg2 = (bool) True ;
bool arg3 = (bool) False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -3621,7 +3621,7 @@ static PyObject *_wrap_PyShape_SetSensitivityFilter(PyObject *self, PyObject *ar
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
int arg2 = (int) OP_ALL ;
bool arg3 = (bool) FALSE ;
bool arg3 = (bool) False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -3677,7 +3677,7 @@ static PyObject *_wrap_PyShape_SetDraggable(PyObject *self, PyObject *args, PyOb
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
bool arg2 ;
bool arg3 = (bool) FALSE ;
bool arg3 = (bool) False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -3884,7 +3884,7 @@ static PyObject *_wrap_PyShape_SetShadowMode(PyObject *self, PyObject *args, PyO
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
int arg2 ;
bool arg3 = (bool) FALSE ;
bool arg3 = (bool) False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -4406,7 +4406,7 @@ static PyObject *_wrap_PyShape_Move(PyObject *self, PyObject *args, PyObject *kw
wxDC *arg2 = 0 ;
double arg3 ;
double arg4 ;
bool arg5 = (bool) TRUE ;
bool arg5 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj4 = 0 ;
@ -4617,7 +4617,7 @@ static PyObject *_wrap_PyShape_SetSize(PyObject *self, PyObject *args, PyObject
wxPyShape *arg1 = (wxPyShape *) 0 ;
double arg2 ;
double arg3 ;
bool arg4 = (bool) TRUE ;
bool arg4 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
char *kwnames[] = {
@ -4812,7 +4812,7 @@ static PyObject *_wrap_PyShape_AddText(PyObject *self, PyObject *args, PyObject
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -4824,7 +4824,7 @@ static PyObject *_wrap_PyShape_AddText(PyObject *self, PyObject *args, PyObject
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -4928,7 +4928,7 @@ static PyObject *_wrap_PyShape_FormatText(PyObject *self, PyObject *args, PyObje
wxDC *arg2 = 0 ;
wxString *arg3 = 0 ;
int arg4 = (int) 0 ;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -4945,7 +4945,7 @@ static PyObject *_wrap_PyShape_FormatText(PyObject *self, PyObject *args, PyObje
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -5101,7 +5101,7 @@ static PyObject *_wrap_PyShape_SetTextColour(PyObject *self, PyObject *args, PyO
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -5113,7 +5113,7 @@ static PyObject *_wrap_PyShape_SetTextColour(PyObject *self, PyObject *args, PyO
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -5199,7 +5199,7 @@ static PyObject *_wrap_PyShape_SetRegionName(PyObject *self, PyObject *args, PyO
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -5211,7 +5211,7 @@ static PyObject *_wrap_PyShape_SetRegionName(PyObject *self, PyObject *args, PyO
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -5272,7 +5272,7 @@ static PyObject *_wrap_PyShape_GetRegionId(PyObject *self, PyObject *args, PyObj
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxString *arg2 = 0 ;
int result;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -5284,7 +5284,7 @@ static PyObject *_wrap_PyShape_GetRegionId(PyObject *self, PyObject *args, PyObj
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -5313,7 +5313,7 @@ static PyObject *_wrap_PyShape_NameRegions(PyObject *self, PyObject *args, PyObj
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxString const &arg2_defvalue = "" ;
wxString *arg2 = (wxString *) &arg2_defvalue ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -5326,7 +5326,7 @@ static PyObject *_wrap_PyShape_NameRegions(PyObject *self, PyObject *args, PyObj
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
}
{
@ -5457,7 +5457,7 @@ static PyObject *_wrap_PyShape_FindRegion(PyObject *self, PyObject *args, PyObje
wxString *arg2 = 0 ;
int *arg3 = (int *) 0 ;
wxPyShape *result;
bool temp2 = false ;
bool temp2 = False ;
int temp3 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -5471,7 +5471,7 @@ static PyObject *_wrap_PyShape_FindRegion(PyObject *self, PyObject *args, PyObje
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -5821,7 +5821,7 @@ static PyObject *_wrap_PyShape_EraseLinks(PyObject *self, PyObject *args, PyObje
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxDC *arg2 = 0 ;
int arg3 = (int) -1 ;
bool arg4 = (bool) FALSE ;
bool arg4 = (bool) False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj3 = 0 ;
@ -5858,7 +5858,7 @@ static PyObject *_wrap_PyShape_DrawLinks(PyObject *self, PyObject *args, PyObjec
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxDC *arg2 = 0 ;
int arg3 = (int) -1 ;
bool arg4 = (bool) FALSE ;
bool arg4 = (bool) False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj3 = 0 ;
@ -6412,8 +6412,8 @@ static PyObject *_wrap_PyShape_HasDescendant(PyObject *self, PyObject *args, PyO
static PyObject *_wrap_PyShape_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
bool arg2 = (bool) TRUE ;
bool arg3 = (bool) TRUE ;
bool arg2 = (bool) True ;
bool arg3 = (bool) True ;
wxPyShape *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -6790,7 +6790,7 @@ static PyObject *_wrap_PyShape_base_OnDrawBranches(PyObject *self, PyObject *arg
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) FALSE ;
bool arg3 = (bool) False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -7060,7 +7060,7 @@ static PyObject *_wrap_PyShape_base_OnMovePre(PyObject *self, PyObject *args, Py
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -7101,7 +7101,7 @@ static PyObject *_wrap_PyShape_base_OnMovePost(PyObject *self, PyObject *args, P
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj6 = 0 ;
@ -7407,7 +7407,7 @@ static PyObject *_wrap_PyShape_base_OnMoveLink(PyObject *self, PyObject *args, P
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) TRUE ;
bool arg3 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -7841,7 +7841,7 @@ static PyObject *_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject
double *arg3 = (double *) 0 ;
double *arg4 = (double *) 0 ;
bool result;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -7855,7 +7855,7 @@ static PyObject *_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
@ -8480,7 +8480,7 @@ static PyObject *_wrap_PseudoMetaFile_DrawText(PyObject *self, PyObject *args, P
wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
wxString *arg2 = 0 ;
wxPoint *arg3 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
wxPoint temp3 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -8494,7 +8494,7 @@ static PyObject *_wrap_PseudoMetaFile_DrawText(PyObject *self, PyObject *args, P
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
arg3 = &temp3;
@ -9339,7 +9339,7 @@ static PyObject *_wrap_PyRectangleShape_base_OnMovePre(PyObject *self, PyObject
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -9380,7 +9380,7 @@ static PyObject *_wrap_PyRectangleShape_base_OnMovePost(PyObject *self, PyObject
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj6 = 0 ;
@ -9686,7 +9686,7 @@ static PyObject *_wrap_PyRectangleShape_base_OnMoveLink(PyObject *self, PyObject
PyObject *resultobj;
wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) TRUE ;
bool arg3 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -10323,7 +10323,7 @@ static PyObject *_wrap_PyControlPoint_base_OnMovePre(PyObject *self, PyObject *a
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -10364,7 +10364,7 @@ static PyObject *_wrap_PyControlPoint_base_OnMovePost(PyObject *self, PyObject *
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj6 = 0 ;
@ -10670,7 +10670,7 @@ static PyObject *_wrap_PyControlPoint_base_OnMoveLink(PyObject *self, PyObject *
PyObject *resultobj;
wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) TRUE ;
bool arg3 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -11003,7 +11003,7 @@ static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *self, PyObject *args,
PyObject *resultobj;
wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -11015,7 +11015,7 @@ static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *self, PyObject *args,
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -11397,7 +11397,7 @@ static PyObject *_wrap_PyBitmapShape_base_OnMovePre(PyObject *self, PyObject *ar
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -11438,7 +11438,7 @@ static PyObject *_wrap_PyBitmapShape_base_OnMovePost(PyObject *self, PyObject *a
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj6 = 0 ;
@ -11744,7 +11744,7 @@ static PyObject *_wrap_PyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *a
PyObject *resultobj;
wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) TRUE ;
bool arg3 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -12357,7 +12357,7 @@ static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *self, PyObject *args, PyO
wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
wxString *arg2 = 0 ;
wxPoint *arg3 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
wxPoint temp3 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -12371,7 +12371,7 @@ static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *self, PyObject *args, PyO
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
arg3 = &temp3;
@ -12482,7 +12482,7 @@ static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *a
wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
wxString *arg2 = 0 ;
bool result;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -12494,7 +12494,7 @@ static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *a
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -13247,7 +13247,7 @@ static PyObject *_wrap_PyDrawnShape_base_OnMovePre(PyObject *self, PyObject *arg
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -13288,7 +13288,7 @@ static PyObject *_wrap_PyDrawnShape_base_OnMovePost(PyObject *self, PyObject *ar
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj6 = 0 ;
@ -13594,7 +13594,7 @@ static PyObject *_wrap_PyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *ar
PyObject *resultobj;
wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) TRUE ;
bool arg3 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -14697,7 +14697,7 @@ static PyObject *_wrap_PyCompositeShape_base_OnMovePre(PyObject *self, PyObject
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -14738,7 +14738,7 @@ static PyObject *_wrap_PyCompositeShape_base_OnMovePost(PyObject *self, PyObject
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj6 = 0 ;
@ -15044,7 +15044,7 @@ static PyObject *_wrap_PyCompositeShape_base_OnMoveLink(PyObject *self, PyObject
PyObject *resultobj;
wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) TRUE ;
bool arg3 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -15692,7 +15692,7 @@ static PyObject *_wrap_PyDividedShape_base_OnMovePre(PyObject *self, PyObject *a
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -15733,7 +15733,7 @@ static PyObject *_wrap_PyDividedShape_base_OnMovePost(PyObject *self, PyObject *
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj6 = 0 ;
@ -16039,7 +16039,7 @@ static PyObject *_wrap_PyDividedShape_base_OnMoveLink(PyObject *self, PyObject *
PyObject *resultobj;
wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) TRUE ;
bool arg3 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -16800,7 +16800,7 @@ static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *self, PyObjec
PyObject *resultobj;
wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -16812,7 +16812,7 @@ static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *self, PyObjec
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -16938,7 +16938,7 @@ static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *self, PyObject
PyObject *resultobj;
wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -16950,7 +16950,7 @@ static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *self, PyObject
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -17376,7 +17376,7 @@ static PyObject *_wrap_PyDivisionShape_base_OnMovePre(PyObject *self, PyObject *
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -17417,7 +17417,7 @@ static PyObject *_wrap_PyDivisionShape_base_OnMovePost(PyObject *self, PyObject
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj6 = 0 ;
@ -17723,7 +17723,7 @@ static PyObject *_wrap_PyDivisionShape_base_OnMoveLink(PyObject *self, PyObject
PyObject *resultobj;
wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) TRUE ;
bool arg3 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -18299,7 +18299,7 @@ static PyObject *_wrap_PyEllipseShape_base_OnMovePre(PyObject *self, PyObject *a
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -18340,7 +18340,7 @@ static PyObject *_wrap_PyEllipseShape_base_OnMovePost(PyObject *self, PyObject *
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj6 = 0 ;
@ -18646,7 +18646,7 @@ static PyObject *_wrap_PyEllipseShape_base_OnMoveLink(PyObject *self, PyObject *
PyObject *resultobj;
wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) TRUE ;
bool arg3 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -19221,7 +19221,7 @@ static PyObject *_wrap_PyCircleShape_base_OnMovePre(PyObject *self, PyObject *ar
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -19262,7 +19262,7 @@ static PyObject *_wrap_PyCircleShape_base_OnMovePost(PyObject *self, PyObject *a
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj6 = 0 ;
@ -19568,7 +19568,7 @@ static PyObject *_wrap_PyCircleShape_base_OnMoveLink(PyObject *self, PyObject *a
PyObject *resultobj;
wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) TRUE ;
bool arg3 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -19767,7 +19767,7 @@ static PyObject *_wrap_new_ArrowHead(PyObject *self, PyObject *args, PyObject *k
wxPseudoMetaFile *arg6 = (wxPseudoMetaFile *) NULL ;
long arg7 = (long) -1 ;
wxArrowHead *result;
bool temp5 = false ;
bool temp5 = False ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
char *kwnames[] = {
@ -19779,7 +19779,7 @@ static PyObject *_wrap_new_ArrowHead(PyObject *self, PyObject *args, PyObject *k
{
arg5 = wxString_in_helper(obj4);
if (arg5 == NULL) SWIG_fail;
temp5 = true;
temp5 = True;
}
}
if (obj5) {
@ -20311,7 +20311,7 @@ static PyObject *_wrap_PyLineShape_AddArrow(PyObject *self, PyObject *args, PyOb
wxString *arg6 = (wxString *) &arg6_defvalue ;
wxPseudoMetaFile *arg7 = (wxPseudoMetaFile *) NULL ;
long arg8 = (long) -1 ;
bool temp6 = false ;
bool temp6 = False ;
PyObject * obj0 = 0 ;
PyObject * obj5 = 0 ;
PyObject * obj6 = 0 ;
@ -20325,7 +20325,7 @@ static PyObject *_wrap_PyLineShape_AddArrow(PyObject *self, PyObject *args, PyOb
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
temp6 = true;
temp6 = True;
}
}
if (obj6) {
@ -20389,7 +20389,7 @@ static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *self, PyObject *args, Py
wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
wxString *arg2 = 0 ;
bool result;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -20401,7 +20401,7 @@ static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *self, PyObject *args, Py
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -20520,7 +20520,7 @@ static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *self, PyObject *arg
int arg2 ;
wxString *arg3 = 0 ;
bool result;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -20532,7 +20532,7 @@ static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *self, PyObject *arg
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -20715,7 +20715,7 @@ static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *self, PyObject *args,
int arg2 ;
wxString *arg3 = 0 ;
wxArrowHead *result;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -20727,7 +20727,7 @@ static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *self, PyObject *args,
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -21880,7 +21880,7 @@ static PyObject *_wrap_PyLineShape_base_OnMovePre(PyObject *self, PyObject *args
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -21921,7 +21921,7 @@ static PyObject *_wrap_PyLineShape_base_OnMovePost(PyObject *self, PyObject *arg
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj6 = 0 ;
@ -22227,7 +22227,7 @@ static PyObject *_wrap_PyLineShape_base_OnMoveLink(PyObject *self, PyObject *arg
PyObject *resultobj;
wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) TRUE ;
bool arg3 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -22952,7 +22952,7 @@ static PyObject *_wrap_PyPolygonShape_base_OnMovePre(PyObject *self, PyObject *a
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -22993,7 +22993,7 @@ static PyObject *_wrap_PyPolygonShape_base_OnMovePost(PyObject *self, PyObject *
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj6 = 0 ;
@ -23299,7 +23299,7 @@ static PyObject *_wrap_PyPolygonShape_base_OnMoveLink(PyObject *self, PyObject *
PyObject *resultobj;
wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) TRUE ;
bool arg3 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -23899,7 +23899,7 @@ static PyObject *_wrap_PyTextShape_base_OnMovePre(PyObject *self, PyObject *args
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -23940,7 +23940,7 @@ static PyObject *_wrap_PyTextShape_base_OnMovePost(PyObject *self, PyObject *arg
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) TRUE ;
bool arg7 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj6 = 0 ;
@ -24246,7 +24246,7 @@ static PyObject *_wrap_PyTextShape_base_OnMoveLink(PyObject *self, PyObject *arg
PyObject *resultobj;
wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) TRUE ;
bool arg3 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -25140,7 +25140,7 @@ static PyObject * Diagram_swigregister(PyObject *self, PyObject *args) {
static PyObject *_wrap_new_PyShapeCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) NULL ;
wxWindowID arg2 = (wxWindowID) -1 ;
int arg2 = (int) -1 ;
wxPoint const &arg3_defvalue = wxDefaultPosition ;
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
wxSize const &arg4_defvalue = wxDefaultSize ;
@ -25151,7 +25151,7 @@ static PyObject *_wrap_new_PyShapeCanvas(PyObject *self, PyObject *args, PyObjec
wxPyShapeCanvas *result;
wxPoint temp3 ;
wxSize temp4 ;
bool temp6 = false ;
bool temp6 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
@ -25180,7 +25180,7 @@ static PyObject *_wrap_new_PyShapeCanvas(PyObject *self, PyObject *args, PyObjec
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
temp6 = true;
temp6 = True;
}
}
{

File diff suppressed because it is too large Load Diff

View File

@ -292,7 +292,7 @@ extern "C" {
static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
wxWindowID arg2 ;
int arg2 ;
wxPoint const &arg3_defvalue = wxDefaultPosition ;
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
wxSize const &arg4_defvalue = wxDefaultSize ;
@ -303,7 +303,7 @@ static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObje
wxStyledTextCtrl *result;
wxPoint temp3 ;
wxSize temp4 ;
bool temp6 = false ;
bool temp6 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
@ -330,7 +330,7 @@ static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObje
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
temp6 = true;
temp6 = True;
}
}
{
@ -381,7 +381,7 @@ static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyO
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
wxWindowID arg3 ;
int arg3 ;
wxPoint const &arg4_defvalue = wxDefaultPosition ;
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
wxSize const &arg5_defvalue = wxDefaultSize ;
@ -391,7 +391,7 @@ static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyO
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxPoint temp4 ;
wxSize temp5 ;
bool temp7 = false ;
bool temp7 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj3 = 0 ;
@ -420,7 +420,7 @@ static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyO
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
temp7 = true;
temp7 = True;
}
}
{
@ -449,7 +449,7 @@ static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *self, PyObject *args, Py
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -461,7 +461,7 @@ static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *self, PyObject *args, Py
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -520,7 +520,7 @@ static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *self, PyObject *args,
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -532,7 +532,7 @@ static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *self, PyObject *args,
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -2150,7 +2150,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -2162,7 +2162,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -2636,7 +2636,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *self, PyObject *arg
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -2648,7 +2648,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *self, PyObject *arg
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -3178,7 +3178,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *self, PyObject *arg
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -3190,7 +3190,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *self, PyObject *arg
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -3316,7 +3316,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *self, PyObject *ar
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -3328,7 +3328,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *self, PyObject *ar
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -3406,7 +3406,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *a
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -3418,7 +3418,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *a
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -3499,7 +3499,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObjec
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -3511,7 +3511,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObjec
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -3646,7 +3646,7 @@ static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *self, PyObject *arg
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -3658,7 +3658,7 @@ static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *self, PyObject *arg
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -4594,7 +4594,7 @@ static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *self, PyObject *args, P
wxString *arg4 = 0 ;
int arg5 = (int) 0 ;
int result;
bool temp4 = false ;
bool temp4 = False ;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
char *kwnames[] = {
@ -4606,7 +4606,7 @@ static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *self, PyObject *args, P
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = true;
temp4 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -5108,7 +5108,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *self, PyObject
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -5120,7 +5120,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *self, PyObject
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -5370,7 +5370,7 @@ static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *self, PyObject *args, Py
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -5382,7 +5382,7 @@ static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *self, PyObject *args, Py
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -5670,7 +5670,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *ar
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
int result;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -5682,7 +5682,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *ar
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -5711,7 +5711,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
int result;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -5723,7 +5723,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -5752,7 +5752,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *self, PyObject *a
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
int result;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -5764,7 +5764,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *self, PyObject *a
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -5843,7 +5843,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *self, PyObject *args
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -5855,7 +5855,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *self, PyObject *args
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -6834,7 +6834,7 @@ static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *self, PyObject *args,
int arg2 ;
wxString *arg3 = 0 ;
int result;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -6846,7 +6846,7 @@ static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *self, PyObject *args,
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -7007,7 +7007,7 @@ static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *self, PyObject *args,
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -7019,7 +7019,7 @@ static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *self, PyObject *args,
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -7830,7 +7830,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *self, PyObject *args,
int arg2 ;
wxString *arg3 = 0 ;
int result;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -7842,7 +7842,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *self, PyObject *args,
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -7872,7 +7872,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *self, PyObject *args,
int arg2 ;
wxString *arg3 = 0 ;
int result;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -7884,7 +7884,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *self, PyObject *args,
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -8923,7 +8923,7 @@ static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *self, PyObject *args, P
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -8935,7 +8935,7 @@ static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *self, PyObject *args, P
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -9088,8 +9088,8 @@ static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *self, PyObject *args
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
wxString *arg3 = 0 ;
bool temp2 = false ;
bool temp3 = false ;
bool temp2 = False ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -9102,12 +9102,12 @@ static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *self, PyObject *args
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -9144,7 +9144,7 @@ static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -9156,7 +9156,7 @@ static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -9184,7 +9184,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -9196,7 +9196,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -9250,7 +9250,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *arg
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -9262,7 +9262,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *arg
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -9326,7 +9326,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject
bool arg5 ;
bool arg6 ;
bool arg7 ;
bool temp4 = false ;
bool temp4 = False ;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
@ -9341,7 +9341,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = true;
temp4 = True;
}
arg5 = PyInt_AsLong(obj4) ? true : false;
if (PyErr_Occurred()) SWIG_fail;
@ -9680,7 +9680,7 @@ static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *self, PyObject *args, P
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool result;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -9692,7 +9692,7 @@ static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *self, PyObject *args, P
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -9721,7 +9721,7 @@ static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, P
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool result;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -9733,7 +9733,7 @@ static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, P
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -9760,8 +9760,8 @@ static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, P
static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxCoord arg2 ;
wxCoord arg3 ;
int arg2 ;
int arg3 ;
wxDragResult arg4 ;
wxDragResult result;
wxDragResult *argp4 ;
@ -9800,7 +9800,7 @@ static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args,
long arg3 ;
wxString *arg4 = 0 ;
bool result;
bool temp4 = false ;
bool temp4 = False ;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
char *kwnames[] = {
@ -9812,7 +9812,7 @@ static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args,
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = true;
temp4 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -9995,7 +9995,7 @@ static PyObject *_wrap_StyledTextEvent_SetText(PyObject *self, PyObject *args, P
PyObject *resultobj;
wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -10007,7 +10007,7 @@ static PyObject *_wrap_StyledTextEvent_SetText(PyObject *self, PyObject *args, P
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -10335,7 +10335,7 @@ static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *self, PyObject *arg
PyObject *resultobj;
wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -10347,7 +10347,7 @@ static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *self, PyObject *arg
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();

View File

@ -14,47 +14,143 @@ WX_XMLRES_CURRENT_VERSION_REVISION = _xrc.WX_XMLRES_CURRENT_VERSION_REVISION
XRC_USE_LOCALE = _xrc.XRC_USE_LOCALE
XRC_NO_SUBCLASSING = _xrc.XRC_NO_SUBCLASSING
class XmlResource(core.Object):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlResource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(wxString filemask, int flags=XRC_USE_LOCALE) -> XmlResource"""
newobj = _xrc.new_XmlResource(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self.InitAllHandlers()
def __del__(self, destroy=_xrc.delete_XmlResource):
"""__del__()"""
try:
if self.thisown: destroy(self)
except: pass
def Load(*args, **kwargs): return _xrc.XmlResource_Load(*args, **kwargs)
def LoadFromString(*args, **kwargs): return _xrc.XmlResource_LoadFromString(*args, **kwargs)
def InitAllHandlers(*args, **kwargs): return _xrc.XmlResource_InitAllHandlers(*args, **kwargs)
def AddHandler(*args, **kwargs): return _xrc.XmlResource_AddHandler(*args, **kwargs)
def InsertHandler(*args, **kwargs): return _xrc.XmlResource_InsertHandler(*args, **kwargs)
def ClearHandlers(*args, **kwargs): return _xrc.XmlResource_ClearHandlers(*args, **kwargs)
AddSubclassFactory = staticmethod(_xrc.XmlResource_AddSubclassFactory)
def LoadMenu(*args, **kwargs): return _xrc.XmlResource_LoadMenu(*args, **kwargs)
def LoadMenuBar(*args, **kwargs): return _xrc.XmlResource_LoadMenuBar(*args, **kwargs)
def LoadMenuBarOnFrame(*args, **kwargs): return _xrc.XmlResource_LoadMenuBarOnFrame(*args, **kwargs)
def LoadToolBar(*args, **kwargs): return _xrc.XmlResource_LoadToolBar(*args, **kwargs)
def LoadDialog(*args, **kwargs): return _xrc.XmlResource_LoadDialog(*args, **kwargs)
def LoadOnDialog(*args, **kwargs): return _xrc.XmlResource_LoadOnDialog(*args, **kwargs)
def LoadPanel(*args, **kwargs): return _xrc.XmlResource_LoadPanel(*args, **kwargs)
def LoadOnPanel(*args, **kwargs): return _xrc.XmlResource_LoadOnPanel(*args, **kwargs)
def LoadFrame(*args, **kwargs): return _xrc.XmlResource_LoadFrame(*args, **kwargs)
def LoadOnFrame(*args, **kwargs): return _xrc.XmlResource_LoadOnFrame(*args, **kwargs)
def LoadObject(*args, **kwargs): return _xrc.XmlResource_LoadObject(*args, **kwargs)
def LoadOnObject(*args, **kwargs): return _xrc.XmlResource_LoadOnObject(*args, **kwargs)
def LoadBitmap(*args, **kwargs): return _xrc.XmlResource_LoadBitmap(*args, **kwargs)
def LoadIcon(*args, **kwargs): return _xrc.XmlResource_LoadIcon(*args, **kwargs)
def AttachUnknownControl(*args, **kwargs): return _xrc.XmlResource_AttachUnknownControl(*args, **kwargs)
GetXRCID = staticmethod(_xrc.XmlResource_GetXRCID)
def GetVersion(*args, **kwargs): return _xrc.XmlResource_GetVersion(*args, **kwargs)
def CompareVersion(*args, **kwargs): return _xrc.XmlResource_CompareVersion(*args, **kwargs)
Get = staticmethod(_xrc.XmlResource_Get)
Set = staticmethod(_xrc.XmlResource_Set)
def GetFlags(*args, **kwargs): return _xrc.XmlResource_GetFlags(*args, **kwargs)
def SetFlags(*args, **kwargs): return _xrc.XmlResource_SetFlags(*args, **kwargs)
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlResource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def Load(*args, **kwargs):
"""Load(wxString filemask) -> bool"""
return _xrc.XmlResource_Load(*args, **kwargs)
def LoadFromString(*args, **kwargs):
"""LoadFromString(wxString data) -> bool"""
return _xrc.XmlResource_LoadFromString(*args, **kwargs)
def InitAllHandlers(*args, **kwargs):
"""InitAllHandlers()"""
return _xrc.XmlResource_InitAllHandlers(*args, **kwargs)
def AddHandler(*args, **kwargs):
"""AddHandler(XmlResourceHandler handler)"""
return _xrc.XmlResource_AddHandler(*args, **kwargs)
def InsertHandler(*args, **kwargs):
"""InsertHandler(XmlResourceHandler handler)"""
return _xrc.XmlResource_InsertHandler(*args, **kwargs)
def ClearHandlers(*args, **kwargs):
"""ClearHandlers()"""
return _xrc.XmlResource_ClearHandlers(*args, **kwargs)
def AddSubclassFactory(*args, **kwargs):
"""XmlResource.AddSubclassFactory(XmlSubclassFactory factory)"""
return _xrc.XmlResource_AddSubclassFactory(*args, **kwargs)
AddSubclassFactory = staticmethod(AddSubclassFactory)
def LoadMenu(*args, **kwargs):
"""LoadMenu(wxString name) -> Menu"""
return _xrc.XmlResource_LoadMenu(*args, **kwargs)
def LoadMenuBar(*args, **kwargs):
"""LoadMenuBar(wxString name) -> MenuBar"""
return _xrc.XmlResource_LoadMenuBar(*args, **kwargs)
def LoadMenuBarOnFrame(*args, **kwargs):
"""LoadMenuBarOnFrame(Window parent, wxString name) -> MenuBar"""
return _xrc.XmlResource_LoadMenuBarOnFrame(*args, **kwargs)
def LoadToolBar(*args, **kwargs):
"""LoadToolBar(Window parent, wxString name) -> wxToolBar"""
return _xrc.XmlResource_LoadToolBar(*args, **kwargs)
def LoadDialog(*args, **kwargs):
"""LoadDialog(Window parent, wxString name) -> wxDialog"""
return _xrc.XmlResource_LoadDialog(*args, **kwargs)
def LoadOnDialog(*args, **kwargs):
"""LoadOnDialog(wxDialog dlg, Window parent, wxString name) -> bool"""
return _xrc.XmlResource_LoadOnDialog(*args, **kwargs)
def LoadPanel(*args, **kwargs):
"""LoadPanel(Window parent, wxString name) -> wxPanel"""
return _xrc.XmlResource_LoadPanel(*args, **kwargs)
def LoadOnPanel(*args, **kwargs):
"""LoadOnPanel(wxPanel panel, Window parent, wxString name) -> bool"""
return _xrc.XmlResource_LoadOnPanel(*args, **kwargs)
def LoadFrame(*args, **kwargs):
"""LoadFrame(Window parent, wxString name) -> wxFrame"""
return _xrc.XmlResource_LoadFrame(*args, **kwargs)
def LoadOnFrame(*args, **kwargs):
"""LoadOnFrame(wxFrame frame, Window parent, wxString name) -> bool"""
return _xrc.XmlResource_LoadOnFrame(*args, **kwargs)
def LoadObject(*args, **kwargs):
"""LoadObject(Window parent, wxString name, wxString classname) -> Object"""
return _xrc.XmlResource_LoadObject(*args, **kwargs)
def LoadOnObject(*args, **kwargs):
"""LoadOnObject(Object instance, Window parent, wxString name, wxString classname) -> bool"""
return _xrc.XmlResource_LoadOnObject(*args, **kwargs)
def LoadBitmap(*args, **kwargs):
"""LoadBitmap(wxString name) -> wxBitmap"""
return _xrc.XmlResource_LoadBitmap(*args, **kwargs)
def LoadIcon(*args, **kwargs):
"""LoadIcon(wxString name) -> wxIcon"""
return _xrc.XmlResource_LoadIcon(*args, **kwargs)
def AttachUnknownControl(*args, **kwargs):
"""AttachUnknownControl(wxString name, Window control, Window parent=None) -> bool"""
return _xrc.XmlResource_AttachUnknownControl(*args, **kwargs)
def GetXRCID(*args, **kwargs):
"""XmlResource.GetXRCID(wxString str_id) -> int"""
return _xrc.XmlResource_GetXRCID(*args, **kwargs)
GetXRCID = staticmethod(GetXRCID)
def GetVersion(*args, **kwargs):
"""GetVersion() -> long"""
return _xrc.XmlResource_GetVersion(*args, **kwargs)
def CompareVersion(*args, **kwargs):
"""CompareVersion(int major, int minor, int release, int revision) -> int"""
return _xrc.XmlResource_CompareVersion(*args, **kwargs)
def Get(*args, **kwargs):
"""XmlResource.Get() -> XmlResource"""
return _xrc.XmlResource_Get(*args, **kwargs)
Get = staticmethod(Get)
def Set(*args, **kwargs):
"""XmlResource.Set(XmlResource res) -> XmlResource"""
return _xrc.XmlResource_Set(*args, **kwargs)
Set = staticmethod(Set)
def GetFlags(*args, **kwargs):
"""GetFlags() -> int"""
return _xrc.XmlResource_GetFlags(*args, **kwargs)
def SetFlags(*args, **kwargs):
"""SetFlags(int flags)"""
return _xrc.XmlResource_SetFlags(*args, **kwargs)
class XmlResourcePtr(XmlResource):
def __init__(self, this):
@ -64,21 +160,30 @@ class XmlResourcePtr(XmlResource):
_xrc.XmlResource_swigregister(XmlResourcePtr)
def EmptyXmlResource(*args, **kwargs):
"""EmptyXmlResource(int flags=XRC_USE_LOCALE) -> XmlResource"""
val = _xrc.new_EmptyXmlResource(*args, **kwargs)
val.thisown = 1
val.InitAllHandlers()
return val
XmlResource_AddSubclassFactory = _xrc.XmlResource_AddSubclassFactory
def XmlResource_AddSubclassFactory(*args, **kwargs):
"""XmlResource_AddSubclassFactory(XmlSubclassFactory factory)"""
return _xrc.XmlResource_AddSubclassFactory(*args, **kwargs)
XmlResource_GetXRCID = _xrc.XmlResource_GetXRCID
def XmlResource_GetXRCID(*args, **kwargs):
"""XmlResource_GetXRCID(wxString str_id) -> int"""
return _xrc.XmlResource_GetXRCID(*args, **kwargs)
XmlResource_Get = _xrc.XmlResource_Get
def XmlResource_Get(*args, **kwargs):
"""XmlResource_Get() -> XmlResource"""
return _xrc.XmlResource_Get(*args, **kwargs)
XmlResource_Set = _xrc.XmlResource_Set
def XmlResource_Set(*args, **kwargs):
"""XmlResource_Set(XmlResource res) -> XmlResource"""
return _xrc.XmlResource_Set(*args, **kwargs)
def XRCID(str_id):
return wxXmlResource_GetXRCID(str_id)
return XmlResource_GetXRCID(str_id)
def XRCCTRL(window, str_id, *ignoreargs):
return window.FindWindowById(XRCID(str_id))
@ -86,15 +191,21 @@ def XRCCTRL(window, str_id, *ignoreargs):
#---------------------------------------------------------------------------
class XmlSubclassFactory(object):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyXmlSubclassFactory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__() -> XmlSubclassFactory"""
newobj = _xrc.new_XmlSubclassFactory(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setCallbackInfo(self, XmlSubclassFactory)
def _setCallbackInfo(*args, **kwargs): return _xrc.XmlSubclassFactory__setCallbackInfo(*args, **kwargs)
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyXmlSubclassFactory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(PyObject self, PyObject _class)"""
return _xrc.XmlSubclassFactory__setCallbackInfo(*args, **kwargs)
class XmlSubclassFactoryPtr(XmlSubclassFactory):
def __init__(self, this):
@ -119,19 +230,40 @@ XML_DOCUMENT_FRAG_NODE = _xrc.XML_DOCUMENT_FRAG_NODE
XML_NOTATION_NODE = _xrc.XML_NOTATION_NODE
XML_HTML_DOCUMENT_NODE = _xrc.XML_HTML_DOCUMENT_NODE
class XmlProperty(object):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlProperty instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(wxString name=wxPyEmptyString, wxString value=wxPyEmptyString,
XmlProperty next=None) -> XmlProperty"""
newobj = _xrc.new_XmlProperty(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def GetName(*args, **kwargs): return _xrc.XmlProperty_GetName(*args, **kwargs)
def GetValue(*args, **kwargs): return _xrc.XmlProperty_GetValue(*args, **kwargs)
def GetNext(*args, **kwargs): return _xrc.XmlProperty_GetNext(*args, **kwargs)
def SetName(*args, **kwargs): return _xrc.XmlProperty_SetName(*args, **kwargs)
def SetValue(*args, **kwargs): return _xrc.XmlProperty_SetValue(*args, **kwargs)
def SetNext(*args, **kwargs): return _xrc.XmlProperty_SetNext(*args, **kwargs)
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlProperty instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def GetName(*args, **kwargs):
"""GetName() -> wxString"""
return _xrc.XmlProperty_GetName(*args, **kwargs)
def GetValue(*args, **kwargs):
"""GetValue() -> wxString"""
return _xrc.XmlProperty_GetValue(*args, **kwargs)
def GetNext(*args, **kwargs):
"""GetNext() -> XmlProperty"""
return _xrc.XmlProperty_GetNext(*args, **kwargs)
def SetName(*args, **kwargs):
"""SetName(wxString name)"""
return _xrc.XmlProperty_SetName(*args, **kwargs)
def SetValue(*args, **kwargs):
"""SetValue(wxString value)"""
return _xrc.XmlProperty_SetValue(*args, **kwargs)
def SetNext(*args, **kwargs):
"""SetNext(XmlProperty next)"""
return _xrc.XmlProperty_SetNext(*args, **kwargs)
class XmlPropertyPtr(XmlProperty):
def __init__(self, this):
@ -141,39 +273,111 @@ class XmlPropertyPtr(XmlProperty):
_xrc.XmlProperty_swigregister(XmlPropertyPtr)
class XmlNode(object):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlNode instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(XmlNode parent=None, wxXmlNodeType type=0, wxString name=wxPyEmptyString,
wxString content=wxPyEmptyString,
XmlProperty props=None, XmlNode next=None) -> XmlNode"""
newobj = _xrc.new_XmlNode(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def __del__(self, destroy=_xrc.delete_XmlNode):
"""__del__()"""
try:
if self.thisown: destroy(self)
except: pass
def AddChild(*args, **kwargs): return _xrc.XmlNode_AddChild(*args, **kwargs)
def InsertChild(*args, **kwargs): return _xrc.XmlNode_InsertChild(*args, **kwargs)
def RemoveChild(*args, **kwargs): return _xrc.XmlNode_RemoveChild(*args, **kwargs)
def AddProperty(*args, **kwargs): return _xrc.XmlNode_AddProperty(*args, **kwargs)
def AddPropertyName(*args, **kwargs): return _xrc.XmlNode_AddPropertyName(*args, **kwargs)
def DeleteProperty(*args, **kwargs): return _xrc.XmlNode_DeleteProperty(*args, **kwargs)
def GetType(*args, **kwargs): return _xrc.XmlNode_GetType(*args, **kwargs)
def GetName(*args, **kwargs): return _xrc.XmlNode_GetName(*args, **kwargs)
def GetContent(*args, **kwargs): return _xrc.XmlNode_GetContent(*args, **kwargs)
def GetParent(*args, **kwargs): return _xrc.XmlNode_GetParent(*args, **kwargs)
def GetNext(*args, **kwargs): return _xrc.XmlNode_GetNext(*args, **kwargs)
def GetChildren(*args, **kwargs): return _xrc.XmlNode_GetChildren(*args, **kwargs)
def GetProperties(*args, **kwargs): return _xrc.XmlNode_GetProperties(*args, **kwargs)
def GetPropVal(*args, **kwargs): return _xrc.XmlNode_GetPropVal(*args, **kwargs)
def HasProp(*args, **kwargs): return _xrc.XmlNode_HasProp(*args, **kwargs)
def SetType(*args, **kwargs): return _xrc.XmlNode_SetType(*args, **kwargs)
def SetName(*args, **kwargs): return _xrc.XmlNode_SetName(*args, **kwargs)
def SetContent(*args, **kwargs): return _xrc.XmlNode_SetContent(*args, **kwargs)
def SetParent(*args, **kwargs): return _xrc.XmlNode_SetParent(*args, **kwargs)
def SetNext(*args, **kwargs): return _xrc.XmlNode_SetNext(*args, **kwargs)
def SetChildren(*args, **kwargs): return _xrc.XmlNode_SetChildren(*args, **kwargs)
def SetProperties(*args, **kwargs): return _xrc.XmlNode_SetProperties(*args, **kwargs)
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlNode instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def AddChild(*args, **kwargs):
"""AddChild(XmlNode child)"""
return _xrc.XmlNode_AddChild(*args, **kwargs)
def InsertChild(*args, **kwargs):
"""InsertChild(XmlNode child, XmlNode before_node)"""
return _xrc.XmlNode_InsertChild(*args, **kwargs)
def RemoveChild(*args, **kwargs):
"""RemoveChild(XmlNode child) -> bool"""
return _xrc.XmlNode_RemoveChild(*args, **kwargs)
def AddProperty(*args, **kwargs):
"""AddProperty(XmlProperty prop)"""
return _xrc.XmlNode_AddProperty(*args, **kwargs)
def AddPropertyName(*args, **kwargs):
"""AddPropertyName(wxString name, wxString value)"""
return _xrc.XmlNode_AddPropertyName(*args, **kwargs)
def DeleteProperty(*args, **kwargs):
"""DeleteProperty(wxString name) -> bool"""
return _xrc.XmlNode_DeleteProperty(*args, **kwargs)
def GetType(*args, **kwargs):
"""GetType() -> wxXmlNodeType"""
return _xrc.XmlNode_GetType(*args, **kwargs)
def GetName(*args, **kwargs):
"""GetName() -> wxString"""
return _xrc.XmlNode_GetName(*args, **kwargs)
def GetContent(*args, **kwargs):
"""GetContent() -> wxString"""
return _xrc.XmlNode_GetContent(*args, **kwargs)
def GetParent(*args, **kwargs):
"""GetParent() -> XmlNode"""
return _xrc.XmlNode_GetParent(*args, **kwargs)
def GetNext(*args, **kwargs):
"""GetNext() -> XmlNode"""
return _xrc.XmlNode_GetNext(*args, **kwargs)
def GetChildren(*args, **kwargs):
"""GetChildren() -> XmlNode"""
return _xrc.XmlNode_GetChildren(*args, **kwargs)
def GetProperties(*args, **kwargs):
"""GetProperties() -> XmlProperty"""
return _xrc.XmlNode_GetProperties(*args, **kwargs)
def GetPropVal(*args, **kwargs):
"""GetPropVal(wxString propName, wxString defaultVal) -> wxString"""
return _xrc.XmlNode_GetPropVal(*args, **kwargs)
def HasProp(*args, **kwargs):
"""HasProp(wxString propName) -> bool"""
return _xrc.XmlNode_HasProp(*args, **kwargs)
def SetType(*args, **kwargs):
"""SetType(wxXmlNodeType type)"""
return _xrc.XmlNode_SetType(*args, **kwargs)
def SetName(*args, **kwargs):
"""SetName(wxString name)"""
return _xrc.XmlNode_SetName(*args, **kwargs)
def SetContent(*args, **kwargs):
"""SetContent(wxString con)"""
return _xrc.XmlNode_SetContent(*args, **kwargs)
def SetParent(*args, **kwargs):
"""SetParent(XmlNode parent)"""
return _xrc.XmlNode_SetParent(*args, **kwargs)
def SetNext(*args, **kwargs):
"""SetNext(XmlNode next)"""
return _xrc.XmlNode_SetNext(*args, **kwargs)
def SetChildren(*args, **kwargs):
"""SetChildren(XmlNode child)"""
return _xrc.XmlNode_SetChildren(*args, **kwargs)
def SetProperties(*args, **kwargs):
"""SetProperties(XmlProperty prop)"""
return _xrc.XmlNode_SetProperties(*args, **kwargs)
class XmlNodePtr(XmlNode):
def __init__(self, this):
@ -183,33 +387,71 @@ class XmlNodePtr(XmlNode):
_xrc.XmlNode_swigregister(XmlNodePtr)
def XmlNodeEasy(*args, **kwargs):
"""XmlNodeEasy(wxXmlNodeType type, wxString name, wxString content=wxPyEmptyString) -> XmlNode"""
val = _xrc.new_XmlNodeEasy(*args, **kwargs)
val.thisown = 1
return val
class XmlDocument(core.Object):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlDocument instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(wxString filename, wxString encoding=wxPyUTF8String) -> XmlDocument"""
newobj = _xrc.new_XmlDocument(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def __del__(self, destroy=_xrc.delete_XmlDocument):
"""__del__()"""
try:
if self.thisown: destroy(self)
except: pass
def Load(*args, **kwargs): return _xrc.XmlDocument_Load(*args, **kwargs)
def LoadFromStream(*args, **kwargs): return _xrc.XmlDocument_LoadFromStream(*args, **kwargs)
def Save(*args, **kwargs): return _xrc.XmlDocument_Save(*args, **kwargs)
def SaveToStream(*args, **kwargs): return _xrc.XmlDocument_SaveToStream(*args, **kwargs)
def IsOk(*args, **kwargs): return _xrc.XmlDocument_IsOk(*args, **kwargs)
def GetRoot(*args, **kwargs): return _xrc.XmlDocument_GetRoot(*args, **kwargs)
def GetVersion(*args, **kwargs): return _xrc.XmlDocument_GetVersion(*args, **kwargs)
def GetFileEncoding(*args, **kwargs): return _xrc.XmlDocument_GetFileEncoding(*args, **kwargs)
def SetRoot(*args, **kwargs): return _xrc.XmlDocument_SetRoot(*args, **kwargs)
def SetVersion(*args, **kwargs): return _xrc.XmlDocument_SetVersion(*args, **kwargs)
def SetFileEncoding(*args, **kwargs): return _xrc.XmlDocument_SetFileEncoding(*args, **kwargs)
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlDocument instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def Load(*args, **kwargs):
"""Load(wxString filename, wxString encoding=wxPyUTF8String) -> bool"""
return _xrc.XmlDocument_Load(*args, **kwargs)
def LoadFromStream(*args, **kwargs):
"""LoadFromStream(wxInputStream stream, wxString encoding=wxPyUTF8String) -> bool"""
return _xrc.XmlDocument_LoadFromStream(*args, **kwargs)
def Save(*args, **kwargs):
"""Save(wxString filename) -> bool"""
return _xrc.XmlDocument_Save(*args, **kwargs)
def SaveToStream(*args, **kwargs):
"""SaveToStream(OutputStream stream) -> bool"""
return _xrc.XmlDocument_SaveToStream(*args, **kwargs)
def IsOk(*args, **kwargs):
"""IsOk() -> bool"""
return _xrc.XmlDocument_IsOk(*args, **kwargs)
def GetRoot(*args, **kwargs):
"""GetRoot() -> XmlNode"""
return _xrc.XmlDocument_GetRoot(*args, **kwargs)
def GetVersion(*args, **kwargs):
"""GetVersion() -> wxString"""
return _xrc.XmlDocument_GetVersion(*args, **kwargs)
def GetFileEncoding(*args, **kwargs):
"""GetFileEncoding() -> wxString"""
return _xrc.XmlDocument_GetFileEncoding(*args, **kwargs)
def SetRoot(*args, **kwargs):
"""SetRoot(XmlNode node)"""
return _xrc.XmlDocument_SetRoot(*args, **kwargs)
def SetVersion(*args, **kwargs):
"""SetVersion(wxString version)"""
return _xrc.XmlDocument_SetVersion(*args, **kwargs)
def SetFileEncoding(*args, **kwargs):
"""SetFileEncoding(wxString encoding)"""
return _xrc.XmlDocument_SetFileEncoding(*args, **kwargs)
class XmlDocumentPtr(XmlDocument):
def __init__(self, this):
@ -219,11 +461,13 @@ class XmlDocumentPtr(XmlDocument):
_xrc.XmlDocument_swigregister(XmlDocumentPtr)
def XmlDocumentFromStream(*args, **kwargs):
"""XmlDocumentFromStream(wxInputStream stream, wxString encoding=wxPyUTF8String) -> XmlDocument"""
val = _xrc.new_XmlDocumentFromStream(*args, **kwargs)
val.thisown = 1
return val
def EmptyXmlDocument(*args, **kwargs):
"""EmptyXmlDocument() -> XmlDocument"""
val = _xrc.new_EmptyXmlDocument(*args, **kwargs)
val.thisown = 1
return val
@ -231,49 +475,159 @@ def EmptyXmlDocument(*args, **kwargs):
#---------------------------------------------------------------------------
class XmlResourceHandler(core.Object):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyXmlResourceHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__() -> XmlResourceHandler"""
newobj = _xrc.new_XmlResourceHandler(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setCallbackInfo(self, XmlResourceHandler)
def _setCallbackInfo(*args, **kwargs): return _xrc.XmlResourceHandler__setCallbackInfo(*args, **kwargs)
def CreateResource(*args, **kwargs): return _xrc.XmlResourceHandler_CreateResource(*args, **kwargs)
def SetParentResource(*args, **kwargs): return _xrc.XmlResourceHandler_SetParentResource(*args, **kwargs)
def GetResource(*args, **kwargs): return _xrc.XmlResourceHandler_GetResource(*args, **kwargs)
def GetNode(*args, **kwargs): return _xrc.XmlResourceHandler_GetNode(*args, **kwargs)
def GetClass(*args, **kwargs): return _xrc.XmlResourceHandler_GetClass(*args, **kwargs)
def GetParent(*args, **kwargs): return _xrc.XmlResourceHandler_GetParent(*args, **kwargs)
def GetInstance(*args, **kwargs): return _xrc.XmlResourceHandler_GetInstance(*args, **kwargs)
def GetParentAsWindow(*args, **kwargs): return _xrc.XmlResourceHandler_GetParentAsWindow(*args, **kwargs)
def GetInstanceAsWindow(*args, **kwargs): return _xrc.XmlResourceHandler_GetInstanceAsWindow(*args, **kwargs)
def IsOfClass(*args, **kwargs): return _xrc.XmlResourceHandler_IsOfClass(*args, **kwargs)
def GetNodeContent(*args, **kwargs): return _xrc.XmlResourceHandler_GetNodeContent(*args, **kwargs)
def HasParam(*args, **kwargs): return _xrc.XmlResourceHandler_HasParam(*args, **kwargs)
def GetParamNode(*args, **kwargs): return _xrc.XmlResourceHandler_GetParamNode(*args, **kwargs)
def GetParamValue(*args, **kwargs): return _xrc.XmlResourceHandler_GetParamValue(*args, **kwargs)
def AddStyle(*args, **kwargs): return _xrc.XmlResourceHandler_AddStyle(*args, **kwargs)
def AddWindowStyles(*args, **kwargs): return _xrc.XmlResourceHandler_AddWindowStyles(*args, **kwargs)
def GetStyle(*args, **kwargs): return _xrc.XmlResourceHandler_GetStyle(*args, **kwargs)
def GetText(*args, **kwargs): return _xrc.XmlResourceHandler_GetText(*args, **kwargs)
def GetID(*args, **kwargs): return _xrc.XmlResourceHandler_GetID(*args, **kwargs)
def GetName(*args, **kwargs): return _xrc.XmlResourceHandler_GetName(*args, **kwargs)
def GetBool(*args, **kwargs): return _xrc.XmlResourceHandler_GetBool(*args, **kwargs)
def GetLong(*args, **kwargs): return _xrc.XmlResourceHandler_GetLong(*args, **kwargs)
def GetColour(*args, **kwargs): return _xrc.XmlResourceHandler_GetColour(*args, **kwargs)
def GetSize(*args, **kwargs): return _xrc.XmlResourceHandler_GetSize(*args, **kwargs)
def GetPosition(*args, **kwargs): return _xrc.XmlResourceHandler_GetPosition(*args, **kwargs)
def GetDimension(*args, **kwargs): return _xrc.XmlResourceHandler_GetDimension(*args, **kwargs)
def GetBitmap(*args, **kwargs): return _xrc.XmlResourceHandler_GetBitmap(*args, **kwargs)
def GetIcon(*args, **kwargs): return _xrc.XmlResourceHandler_GetIcon(*args, **kwargs)
def GetFont(*args, **kwargs): return _xrc.XmlResourceHandler_GetFont(*args, **kwargs)
def SetupWindow(*args, **kwargs): return _xrc.XmlResourceHandler_SetupWindow(*args, **kwargs)
def CreateChildren(*args, **kwargs): return _xrc.XmlResourceHandler_CreateChildren(*args, **kwargs)
def CreateChildrenPrivately(*args, **kwargs): return _xrc.XmlResourceHandler_CreateChildrenPrivately(*args, **kwargs)
def CreateResFromNode(*args, **kwargs): return _xrc.XmlResourceHandler_CreateResFromNode(*args, **kwargs)
def GetCurFileSystem(*args, **kwargs): return _xrc.XmlResourceHandler_GetCurFileSystem(*args, **kwargs)
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyXmlResourceHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(PyObject self, PyObject _class)"""
return _xrc.XmlResourceHandler__setCallbackInfo(*args, **kwargs)
def CreateResource(*args, **kwargs):
"""CreateResource(XmlNode node, Object parent, Object instance) -> Object"""
return _xrc.XmlResourceHandler_CreateResource(*args, **kwargs)
def SetParentResource(*args, **kwargs):
"""SetParentResource(XmlResource res)"""
return _xrc.XmlResourceHandler_SetParentResource(*args, **kwargs)
def GetResource(*args, **kwargs):
"""GetResource() -> XmlResource"""
return _xrc.XmlResourceHandler_GetResource(*args, **kwargs)
def GetNode(*args, **kwargs):
"""GetNode() -> XmlNode"""
return _xrc.XmlResourceHandler_GetNode(*args, **kwargs)
def GetClass(*args, **kwargs):
"""GetClass() -> wxString"""
return _xrc.XmlResourceHandler_GetClass(*args, **kwargs)
def GetParent(*args, **kwargs):
"""GetParent() -> Object"""
return _xrc.XmlResourceHandler_GetParent(*args, **kwargs)
def GetInstance(*args, **kwargs):
"""GetInstance() -> Object"""
return _xrc.XmlResourceHandler_GetInstance(*args, **kwargs)
def GetParentAsWindow(*args, **kwargs):
"""GetParentAsWindow() -> Window"""
return _xrc.XmlResourceHandler_GetParentAsWindow(*args, **kwargs)
def GetInstanceAsWindow(*args, **kwargs):
"""GetInstanceAsWindow() -> Window"""
return _xrc.XmlResourceHandler_GetInstanceAsWindow(*args, **kwargs)
def IsOfClass(*args, **kwargs):
"""IsOfClass(XmlNode node, wxString classname) -> bool"""
return _xrc.XmlResourceHandler_IsOfClass(*args, **kwargs)
def GetNodeContent(*args, **kwargs):
"""GetNodeContent(XmlNode node) -> wxString"""
return _xrc.XmlResourceHandler_GetNodeContent(*args, **kwargs)
def HasParam(*args, **kwargs):
"""HasParam(wxString param) -> bool"""
return _xrc.XmlResourceHandler_HasParam(*args, **kwargs)
def GetParamNode(*args, **kwargs):
"""GetParamNode(wxString param) -> XmlNode"""
return _xrc.XmlResourceHandler_GetParamNode(*args, **kwargs)
def GetParamValue(*args, **kwargs):
"""GetParamValue(wxString param) -> wxString"""
return _xrc.XmlResourceHandler_GetParamValue(*args, **kwargs)
def AddStyle(*args, **kwargs):
"""AddStyle(wxString name, int value)"""
return _xrc.XmlResourceHandler_AddStyle(*args, **kwargs)
def AddWindowStyles(*args, **kwargs):
"""AddWindowStyles()"""
return _xrc.XmlResourceHandler_AddWindowStyles(*args, **kwargs)
def GetStyle(*args, **kwargs):
"""GetStyle(wxString param=wxPyStyleString, int defaults=0) -> int"""
return _xrc.XmlResourceHandler_GetStyle(*args, **kwargs)
def GetText(*args, **kwargs):
"""GetText(wxString param, bool translate=True) -> wxString"""
return _xrc.XmlResourceHandler_GetText(*args, **kwargs)
def GetID(*args, **kwargs):
"""GetID() -> int"""
return _xrc.XmlResourceHandler_GetID(*args, **kwargs)
def GetName(*args, **kwargs):
"""GetName() -> wxString"""
return _xrc.XmlResourceHandler_GetName(*args, **kwargs)
def GetBool(*args, **kwargs):
"""GetBool(wxString param, bool defaultv=False) -> bool"""
return _xrc.XmlResourceHandler_GetBool(*args, **kwargs)
def GetLong(*args, **kwargs):
"""GetLong(wxString param, long defaultv=0) -> long"""
return _xrc.XmlResourceHandler_GetLong(*args, **kwargs)
def GetColour(*args, **kwargs):
"""GetColour(wxString param) -> wxColour"""
return _xrc.XmlResourceHandler_GetColour(*args, **kwargs)
def GetSize(*args, **kwargs):
"""GetSize(wxString param=wxPySizeString) -> Size"""
return _xrc.XmlResourceHandler_GetSize(*args, **kwargs)
def GetPosition(*args, **kwargs):
"""GetPosition(wxString param=wxPyPosString) -> Point"""
return _xrc.XmlResourceHandler_GetPosition(*args, **kwargs)
def GetDimension(*args, **kwargs):
"""GetDimension(wxString param, int defaultv=0) -> int"""
return _xrc.XmlResourceHandler_GetDimension(*args, **kwargs)
def GetBitmap(*args, **kwargs):
"""GetBitmap(wxString param=wxPyBitmapString, wxArtClient defaultArtClient=wxART_OTHER,
Size size=DefaultSize) -> wxBitmap"""
return _xrc.XmlResourceHandler_GetBitmap(*args, **kwargs)
def GetIcon(*args, **kwargs):
"""GetIcon(wxString param=wxPyIconString, wxArtClient defaultArtClient=wxART_OTHER,
Size size=DefaultSize) -> wxIcon"""
return _xrc.XmlResourceHandler_GetIcon(*args, **kwargs)
def GetFont(*args, **kwargs):
"""GetFont(wxString param=wxPyFontString) -> wxFont"""
return _xrc.XmlResourceHandler_GetFont(*args, **kwargs)
def SetupWindow(*args, **kwargs):
"""SetupWindow(Window wnd)"""
return _xrc.XmlResourceHandler_SetupWindow(*args, **kwargs)
def CreateChildren(*args, **kwargs):
"""CreateChildren(Object parent, bool this_hnd_only=False)"""
return _xrc.XmlResourceHandler_CreateChildren(*args, **kwargs)
def CreateChildrenPrivately(*args, **kwargs):
"""CreateChildrenPrivately(Object parent, XmlNode rootnode=None)"""
return _xrc.XmlResourceHandler_CreateChildrenPrivately(*args, **kwargs)
def CreateResFromNode(*args, **kwargs):
"""CreateResFromNode(XmlNode node, Object parent, Object instance=None) -> Object"""
return _xrc.XmlResourceHandler_CreateResFromNode(*args, **kwargs)
def GetCurFileSystem(*args, **kwargs):
"""GetCurFileSystem() -> FileSystem"""
return _xrc.XmlResourceHandler_GetCurFileSystem(*args, **kwargs)
class XmlResourceHandlerPtr(XmlResourceHandler):
def __init__(self, this):

File diff suppressed because it is too large Load Diff

View File

@ -23,30 +23,85 @@ CAL_BORDER_NONE = _calendar.CAL_BORDER_NONE
CAL_BORDER_SQUARE = _calendar.CAL_BORDER_SQUARE
CAL_BORDER_ROUND = _calendar.CAL_BORDER_ROUND
class CalendarDateAttr(object):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCalendarDateAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(wxColour colText, wxColour colBack=wxNullColour, wxColour colBorder=wxNullColour,
wxFont font=wxNullFont,
wxCalendarDateBorder border=CAL_BORDER_NONE) -> CalendarDateAttr"""
newobj = _calendar.new_CalendarDateAttr(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def SetTextColour(*args, **kwargs): return _calendar.CalendarDateAttr_SetTextColour(*args, **kwargs)
def SetBackgroundColour(*args, **kwargs): return _calendar.CalendarDateAttr_SetBackgroundColour(*args, **kwargs)
def SetBorderColour(*args, **kwargs): return _calendar.CalendarDateAttr_SetBorderColour(*args, **kwargs)
def SetFont(*args, **kwargs): return _calendar.CalendarDateAttr_SetFont(*args, **kwargs)
def SetBorder(*args, **kwargs): return _calendar.CalendarDateAttr_SetBorder(*args, **kwargs)
def SetHoliday(*args, **kwargs): return _calendar.CalendarDateAttr_SetHoliday(*args, **kwargs)
def HasTextColour(*args, **kwargs): return _calendar.CalendarDateAttr_HasTextColour(*args, **kwargs)
def HasBackgroundColour(*args, **kwargs): return _calendar.CalendarDateAttr_HasBackgroundColour(*args, **kwargs)
def HasBorderColour(*args, **kwargs): return _calendar.CalendarDateAttr_HasBorderColour(*args, **kwargs)
def HasFont(*args, **kwargs): return _calendar.CalendarDateAttr_HasFont(*args, **kwargs)
def HasBorder(*args, **kwargs): return _calendar.CalendarDateAttr_HasBorder(*args, **kwargs)
def IsHoliday(*args, **kwargs): return _calendar.CalendarDateAttr_IsHoliday(*args, **kwargs)
def GetTextColour(*args, **kwargs): return _calendar.CalendarDateAttr_GetTextColour(*args, **kwargs)
def GetBackgroundColour(*args, **kwargs): return _calendar.CalendarDateAttr_GetBackgroundColour(*args, **kwargs)
def GetBorderColour(*args, **kwargs): return _calendar.CalendarDateAttr_GetBorderColour(*args, **kwargs)
def GetFont(*args, **kwargs): return _calendar.CalendarDateAttr_GetFont(*args, **kwargs)
def GetBorder(*args, **kwargs): return _calendar.CalendarDateAttr_GetBorder(*args, **kwargs)
def __repr__(self):
return "<%s.%s; proxy of C++ wxCalendarDateAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def SetTextColour(*args, **kwargs):
"""SetTextColour(wxColour colText)"""
return _calendar.CalendarDateAttr_SetTextColour(*args, **kwargs)
def SetBackgroundColour(*args, **kwargs):
"""SetBackgroundColour(wxColour colBack)"""
return _calendar.CalendarDateAttr_SetBackgroundColour(*args, **kwargs)
def SetBorderColour(*args, **kwargs):
"""SetBorderColour(wxColour col)"""
return _calendar.CalendarDateAttr_SetBorderColour(*args, **kwargs)
def SetFont(*args, **kwargs):
"""SetFont(wxFont font)"""
return _calendar.CalendarDateAttr_SetFont(*args, **kwargs)
def SetBorder(*args, **kwargs):
"""SetBorder(wxCalendarDateBorder border)"""
return _calendar.CalendarDateAttr_SetBorder(*args, **kwargs)
def SetHoliday(*args, **kwargs):
"""SetHoliday(bool holiday)"""
return _calendar.CalendarDateAttr_SetHoliday(*args, **kwargs)
def HasTextColour(*args, **kwargs):
"""HasTextColour() -> bool"""
return _calendar.CalendarDateAttr_HasTextColour(*args, **kwargs)
def HasBackgroundColour(*args, **kwargs):
"""HasBackgroundColour() -> bool"""
return _calendar.CalendarDateAttr_HasBackgroundColour(*args, **kwargs)
def HasBorderColour(*args, **kwargs):
"""HasBorderColour() -> bool"""
return _calendar.CalendarDateAttr_HasBorderColour(*args, **kwargs)
def HasFont(*args, **kwargs):
"""HasFont() -> bool"""
return _calendar.CalendarDateAttr_HasFont(*args, **kwargs)
def HasBorder(*args, **kwargs):
"""HasBorder() -> bool"""
return _calendar.CalendarDateAttr_HasBorder(*args, **kwargs)
def IsHoliday(*args, **kwargs):
"""IsHoliday() -> bool"""
return _calendar.CalendarDateAttr_IsHoliday(*args, **kwargs)
def GetTextColour(*args, **kwargs):
"""GetTextColour() -> wxColour"""
return _calendar.CalendarDateAttr_GetTextColour(*args, **kwargs)
def GetBackgroundColour(*args, **kwargs):
"""GetBackgroundColour() -> wxColour"""
return _calendar.CalendarDateAttr_GetBackgroundColour(*args, **kwargs)
def GetBorderColour(*args, **kwargs):
"""GetBorderColour() -> wxColour"""
return _calendar.CalendarDateAttr_GetBorderColour(*args, **kwargs)
def GetFont(*args, **kwargs):
"""GetFont() -> wxFont"""
return _calendar.CalendarDateAttr_GetFont(*args, **kwargs)
def GetBorder(*args, **kwargs):
"""GetBorder() -> wxCalendarDateBorder"""
return _calendar.CalendarDateAttr_GetBorder(*args, **kwargs)
class CalendarDateAttrPtr(CalendarDateAttr):
def __init__(self, this):
@ -56,20 +111,29 @@ class CalendarDateAttrPtr(CalendarDateAttr):
_calendar.CalendarDateAttr_swigregister(CalendarDateAttrPtr)
def CalendarDateAttrBorder(*args, **kwargs):
"""CalendarDateAttrBorder(wxCalendarDateBorder border, wxColour colBorder=wxNullColour) -> CalendarDateAttr"""
val = _calendar.new_CalendarDateAttrBorder(*args, **kwargs)
val.thisown = 1
return val
class CalendarEvent(core.CommandEvent):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCalendarEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(CalendarCtrl cal, wxEventType type) -> CalendarEvent"""
newobj = _calendar.new_CalendarEvent(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def GetDate(*args, **kwargs): return _calendar.CalendarEvent_GetDate(*args, **kwargs)
def GetWeekDay(*args, **kwargs): return _calendar.CalendarEvent_GetWeekDay(*args, **kwargs)
def __repr__(self):
return "<%s.%s; proxy of C++ wxCalendarEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def GetDate(*args, **kwargs):
"""GetDate() -> DateTime"""
return _calendar.CalendarEvent_GetDate(*args, **kwargs)
def GetWeekDay(*args, **kwargs):
"""GetWeekDay() -> wxDateTime::WeekDay"""
return _calendar.CalendarEvent_GetWeekDay(*args, **kwargs)
class CalendarEventPtr(CalendarEvent):
def __init__(self, this):
@ -92,41 +156,131 @@ EVT_CALENDAR_YEAR = wx.PyEventBinder( wxEVT_CALENDAR_YEAR_CHANGED, 1)
EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, 1)
class CalendarCtrl(core.Control):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCalendarCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(Window parent, int id, DateTime date=wxDefaultDateTime,
Point pos=DefaultPosition, Size size=DefaultSize,
long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS,
wxString name=wxPyCalendarNameStr) -> CalendarCtrl"""
newobj = _calendar.new_CalendarCtrl(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setOORInfo(self)
def Create(*args, **kwargs): return _calendar.CalendarCtrl_Create(*args, **kwargs)
def SetDate(*args, **kwargs): return _calendar.CalendarCtrl_SetDate(*args, **kwargs)
def GetDate(*args, **kwargs): return _calendar.CalendarCtrl_GetDate(*args, **kwargs)
def SetLowerDateLimit(*args, **kwargs): return _calendar.CalendarCtrl_SetLowerDateLimit(*args, **kwargs)
def GetLowerDateLimit(*args, **kwargs): return _calendar.CalendarCtrl_GetLowerDateLimit(*args, **kwargs)
def SetUpperDateLimit(*args, **kwargs): return _calendar.CalendarCtrl_SetUpperDateLimit(*args, **kwargs)
def GetUpperDateLimit(*args, **kwargs): return _calendar.CalendarCtrl_GetUpperDateLimit(*args, **kwargs)
def SetDateRange(*args, **kwargs): return _calendar.CalendarCtrl_SetDateRange(*args, **kwargs)
def EnableYearChange(*args, **kwargs): return _calendar.CalendarCtrl_EnableYearChange(*args, **kwargs)
def EnableMonthChange(*args, **kwargs): return _calendar.CalendarCtrl_EnableMonthChange(*args, **kwargs)
def EnableHolidayDisplay(*args, **kwargs): return _calendar.CalendarCtrl_EnableHolidayDisplay(*args, **kwargs)
def SetHeaderColours(*args, **kwargs): return _calendar.CalendarCtrl_SetHeaderColours(*args, **kwargs)
def GetHeaderColourFg(*args, **kwargs): return _calendar.CalendarCtrl_GetHeaderColourFg(*args, **kwargs)
def GetHeaderColourBg(*args, **kwargs): return _calendar.CalendarCtrl_GetHeaderColourBg(*args, **kwargs)
def SetHighlightColours(*args, **kwargs): return _calendar.CalendarCtrl_SetHighlightColours(*args, **kwargs)
def GetHighlightColourFg(*args, **kwargs): return _calendar.CalendarCtrl_GetHighlightColourFg(*args, **kwargs)
def GetHighlightColourBg(*args, **kwargs): return _calendar.CalendarCtrl_GetHighlightColourBg(*args, **kwargs)
def SetHolidayColours(*args, **kwargs): return _calendar.CalendarCtrl_SetHolidayColours(*args, **kwargs)
def GetHolidayColourFg(*args, **kwargs): return _calendar.CalendarCtrl_GetHolidayColourFg(*args, **kwargs)
def GetHolidayColourBg(*args, **kwargs): return _calendar.CalendarCtrl_GetHolidayColourBg(*args, **kwargs)
def GetAttr(*args, **kwargs): return _calendar.CalendarCtrl_GetAttr(*args, **kwargs)
def SetAttr(*args, **kwargs): return _calendar.CalendarCtrl_SetAttr(*args, **kwargs)
def SetHoliday(*args, **kwargs): return _calendar.CalendarCtrl_SetHoliday(*args, **kwargs)
def ResetAttr(*args, **kwargs): return _calendar.CalendarCtrl_ResetAttr(*args, **kwargs)
def HitTest(*args, **kwargs): return _calendar.CalendarCtrl_HitTest(*args, **kwargs)
def Enable(*args, **kwargs): return _calendar.CalendarCtrl_Enable(*args, **kwargs)
def Show(*args, **kwargs): return _calendar.CalendarCtrl_Show(*args, **kwargs)
def __repr__(self):
return "<%s.%s; proxy of C++ wxCalendarCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def Create(*args, **kwargs):
"""Create(Window parent, int id, DateTime date=wxDefaultDateTime,
Point pos=DefaultPosition, Size size=DefaultSize,
long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS,
wxString name=wxPyCalendarNameStr) -> bool"""
return _calendar.CalendarCtrl_Create(*args, **kwargs)
def SetDate(*args, **kwargs):
"""SetDate(DateTime date)"""
return _calendar.CalendarCtrl_SetDate(*args, **kwargs)
def GetDate(*args, **kwargs):
"""GetDate() -> DateTime"""
return _calendar.CalendarCtrl_GetDate(*args, **kwargs)
def SetLowerDateLimit(*args, **kwargs):
"""SetLowerDateLimit(DateTime date=wxDefaultDateTime) -> bool"""
return _calendar.CalendarCtrl_SetLowerDateLimit(*args, **kwargs)
def GetLowerDateLimit(*args, **kwargs):
"""GetLowerDateLimit() -> DateTime"""
return _calendar.CalendarCtrl_GetLowerDateLimit(*args, **kwargs)
def SetUpperDateLimit(*args, **kwargs):
"""SetUpperDateLimit(DateTime date=wxDefaultDateTime) -> bool"""
return _calendar.CalendarCtrl_SetUpperDateLimit(*args, **kwargs)
def GetUpperDateLimit(*args, **kwargs):
"""GetUpperDateLimit() -> DateTime"""
return _calendar.CalendarCtrl_GetUpperDateLimit(*args, **kwargs)
def SetDateRange(*args, **kwargs):
"""SetDateRange(DateTime lowerdate=wxDefaultDateTime, DateTime upperdate=wxDefaultDateTime) -> bool"""
return _calendar.CalendarCtrl_SetDateRange(*args, **kwargs)
def EnableYearChange(*args, **kwargs):
"""EnableYearChange(bool enable=True)"""
return _calendar.CalendarCtrl_EnableYearChange(*args, **kwargs)
def EnableMonthChange(*args, **kwargs):
"""EnableMonthChange(bool enable=True)"""
return _calendar.CalendarCtrl_EnableMonthChange(*args, **kwargs)
def EnableHolidayDisplay(*args, **kwargs):
"""EnableHolidayDisplay(bool display=True)"""
return _calendar.CalendarCtrl_EnableHolidayDisplay(*args, **kwargs)
def SetHeaderColours(*args, **kwargs):
"""SetHeaderColours(wxColour colFg, wxColour colBg)"""
return _calendar.CalendarCtrl_SetHeaderColours(*args, **kwargs)
def GetHeaderColourFg(*args, **kwargs):
"""GetHeaderColourFg() -> wxColour"""
return _calendar.CalendarCtrl_GetHeaderColourFg(*args, **kwargs)
def GetHeaderColourBg(*args, **kwargs):
"""GetHeaderColourBg() -> wxColour"""
return _calendar.CalendarCtrl_GetHeaderColourBg(*args, **kwargs)
def SetHighlightColours(*args, **kwargs):
"""SetHighlightColours(wxColour colFg, wxColour colBg)"""
return _calendar.CalendarCtrl_SetHighlightColours(*args, **kwargs)
def GetHighlightColourFg(*args, **kwargs):
"""GetHighlightColourFg() -> wxColour"""
return _calendar.CalendarCtrl_GetHighlightColourFg(*args, **kwargs)
def GetHighlightColourBg(*args, **kwargs):
"""GetHighlightColourBg() -> wxColour"""
return _calendar.CalendarCtrl_GetHighlightColourBg(*args, **kwargs)
def SetHolidayColours(*args, **kwargs):
"""SetHolidayColours(wxColour colFg, wxColour colBg)"""
return _calendar.CalendarCtrl_SetHolidayColours(*args, **kwargs)
def GetHolidayColourFg(*args, **kwargs):
"""GetHolidayColourFg() -> wxColour"""
return _calendar.CalendarCtrl_GetHolidayColourFg(*args, **kwargs)
def GetHolidayColourBg(*args, **kwargs):
"""GetHolidayColourBg() -> wxColour"""
return _calendar.CalendarCtrl_GetHolidayColourBg(*args, **kwargs)
def GetAttr(*args, **kwargs):
"""GetAttr(size_t day) -> CalendarDateAttr"""
return _calendar.CalendarCtrl_GetAttr(*args, **kwargs)
def SetAttr(*args, **kwargs):
"""SetAttr(size_t day, CalendarDateAttr attr)"""
return _calendar.CalendarCtrl_SetAttr(*args, **kwargs)
def SetHoliday(*args, **kwargs):
"""SetHoliday(size_t day)"""
return _calendar.CalendarCtrl_SetHoliday(*args, **kwargs)
def ResetAttr(*args, **kwargs):
"""ResetAttr(size_t day)"""
return _calendar.CalendarCtrl_ResetAttr(*args, **kwargs)
def HitTest(*args, **kwargs):
"""HitTest(Point pos, DateTime date=None, wxDateTime::WeekDay wd=None) -> wxCalendarHitTestResult"""
return _calendar.CalendarCtrl_HitTest(*args, **kwargs)
def Enable(*args, **kwargs):
"""Enable(bool enable=True) -> bool"""
return _calendar.CalendarCtrl_Enable(*args, **kwargs)
def Show(*args, **kwargs):
"""Show(bool show=True) -> bool"""
return _calendar.CalendarCtrl_Show(*args, **kwargs)
class CalendarCtrlPtr(CalendarCtrl):
def __init__(self, this):
@ -136,6 +290,7 @@ class CalendarCtrlPtr(CalendarCtrl):
_calendar.CalendarCtrl_swigregister(CalendarCtrlPtr)
def PreCalendarCtrl(*args, **kwargs):
"""PreCalendarCtrl() -> CalendarCtrl"""
val = _calendar.new_PreCalendarCtrl(*args, **kwargs)
val.thisown = 1
return val

View File

@ -913,7 +913,7 @@ static PyObject * CalendarEvent_swigregister(PyObject *self, PyObject *args) {
static PyObject *_wrap_new_CalendarCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
wxWindowID arg2 ;
int arg2 ;
wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
wxPoint const &arg4_defvalue = wxDefaultPosition ;
@ -926,7 +926,7 @@ static PyObject *_wrap_new_CalendarCtrl(PyObject *self, PyObject *args, PyObject
wxCalendarCtrl *result;
wxPoint temp4 ;
wxSize temp5 ;
bool temp7 = false ;
bool temp7 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
@ -960,7 +960,7 @@ static PyObject *_wrap_new_CalendarCtrl(PyObject *self, PyObject *args, PyObject
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
temp7 = true;
temp7 = True;
}
}
{
@ -1011,7 +1011,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *self, PyObject *args, PyObj
PyObject *resultobj;
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
wxWindowID arg3 ;
int arg3 ;
wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
wxPoint const &arg5_defvalue = wxDefaultPosition ;
@ -1024,7 +1024,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *self, PyObject *args, PyObj
bool result;
wxPoint temp5 ;
wxSize temp6 ;
bool temp8 = false ;
bool temp8 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj3 = 0 ;
@ -1060,7 +1060,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *self, PyObject *args, PyObj
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
temp8 = true;
temp8 = True;
}
}
{
@ -1313,7 +1313,7 @@ static PyObject *_wrap_CalendarCtrl_SetDateRange(PyObject *self, PyObject *args,
static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
bool arg2 = (bool) TRUE ;
bool arg2 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -1343,7 +1343,7 @@ static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *self, PyObject *a
static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
bool arg2 = (bool) TRUE ;
bool arg2 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -1373,7 +1373,7 @@ static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *self, PyObject *
static PyObject *_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
bool arg2 = (bool) TRUE ;
bool arg2 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -1849,7 +1849,7 @@ static PyObject *_wrap_CalendarCtrl_HitTest(PyObject *self, PyObject *args, PyOb
static PyObject *_wrap_CalendarCtrl_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
bool arg2 = (bool) TRUE ;
bool arg2 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -1880,7 +1880,7 @@ static PyObject *_wrap_CalendarCtrl_Enable(PyObject *self, PyObject *args, PyObj
static PyObject *_wrap_CalendarCtrl_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
bool arg2 = (bool) TRUE ;
bool arg2 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -311,7 +311,7 @@ PyObject* wxPyMake_##TYPE(TYPE* source) { \
/* Otherwise make a new wrapper for it the old fashioned way and \
give it the OOR treatment */ \
if (! target) { \
target = wxPyConstructObject(source, wxT(#TYPE), FALSE); \
target = wxPyConstructObject(source, wxT(#TYPE), False); \
if (target) \
source->SetClientObject(new wxPyOORClientData(target)); \
} \
@ -867,7 +867,7 @@ public:
bool EndEdit(int row, int col, wxGrid* grid) {
bool rv = FALSE;
bool rv = False;
wxPyBeginBlockThreads();
if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
PyObject* go = wxPyMake_wxObject(grid);
@ -1152,7 +1152,7 @@ bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
if (! wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
goto error;
*obj = ptr;
return TRUE;
return True;
}
// otherwise a 2-tuple of integers is expected
else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
@ -1166,12 +1166,12 @@ bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
**obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
Py_DECREF(o1);
Py_DECREF(o2);
return TRUE;
return True;
}
error:
PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
return FALSE;
return False;
}
@ -1180,13 +1180,13 @@ bool wxGridCellCoords_typecheck(PyObject* source) {
if (wxPySwigInstance_Check(source) &&
wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
return true;
return True;
PyErr_Clear();
if (PySequence_Check(source) && PySequence_Length(source) == 2)
return true;
return True;
return false;
return False;
}
@ -1275,7 +1275,7 @@ static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *self, PyObject *
PyObject *resultobj;
wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -1287,7 +1287,7 @@ static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *self, PyObject *
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -1553,7 +1553,7 @@ static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *self, PyO
PyObject *resultobj;
wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -1565,7 +1565,7 @@ static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *self, PyO
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -1819,8 +1819,6 @@ static PyObject *_wrap_new_GridCellDateTimeRenderer(PyObject *self, PyObject *ar
wxString arg1 = (wxString) wxPyDateTimeFormatStr ;
wxString arg2 = (wxString) wxPyDateTimeFormatStr ;
wxGridCellDateTimeRenderer *result;
wxString *argp1 ;
wxString *argp2 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -1829,12 +1827,20 @@ static PyObject *_wrap_new_GridCellDateTimeRenderer(PyObject *self, PyObject *ar
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
if ((SWIG_ConvertPtr(obj0,(void **) &argp1, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
arg1 = *argp1;
{
wxString* sptr = wxString_in_helper(obj0);
if (sptr == NULL) SWIG_fail;
arg1 = *sptr;
delete sptr;
}
}
if (obj1) {
if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
arg2 = *argp2;
{
wxString* sptr = wxString_in_helper(obj1);
if (sptr == NULL) SWIG_fail;
arg2 = *sptr;
delete sptr;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -1862,7 +1868,7 @@ static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *self, PyObject *args,
wxString const &arg1_defvalue = wxPyEmptyString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxGridCellEnumRenderer *result;
bool temp1 = false ;
bool temp1 = False ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "choices", NULL
@ -1873,7 +1879,7 @@ static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *self, PyObject *args,
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
temp1 = true;
temp1 = True;
}
}
{
@ -2098,7 +2104,7 @@ static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *self, PyObject *ar
PyObject *resultobj;
wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -2110,7 +2116,7 @@ static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *self, PyObject *ar
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -2186,7 +2192,7 @@ static PyObject *_wrap_GridCellEditor_Create(PyObject *self, PyObject *args, PyO
PyObject *resultobj;
wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
wxWindowID arg3 ;
int arg3 ;
wxEvtHandler *arg4 = (wxEvtHandler *) 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -2860,7 +2866,7 @@ static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *self, PyObj
PyObject *resultobj;
wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -2872,7 +2878,7 @@ static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *self, PyObj
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -3149,7 +3155,7 @@ static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *self, PyObject *args,
PyObject *resultobj;
int arg1 = (int) 0 ;
wxString *arg2 = (wxString *) NULL ;
bool arg3 = (bool) FALSE ;
bool arg3 = (bool) False ;
wxGridCellChoiceEditor *result;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -3222,7 +3228,7 @@ static PyObject *_wrap_new_GridCellEnumEditor(PyObject *self, PyObject *args, Py
wxString const &arg1_defvalue = wxPyEmptyString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxGridCellEnumEditor *result;
bool temp1 = false ;
bool temp1 = False ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "choices", NULL
@ -3233,7 +3239,7 @@ static PyObject *_wrap_new_GridCellEnumEditor(PyObject *self, PyObject *args, Py
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
temp1 = true;
temp1 = True;
}
}
{
@ -3661,7 +3667,7 @@ static PyObject *_wrap_GridCellAttr_SetSize(PyObject *self, PyObject *args, PyOb
static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
bool arg2 = (bool) TRUE ;
bool arg2 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -3691,7 +3697,7 @@ static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *self, PyObject *args,
static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
bool arg2 = (bool) TRUE ;
bool arg2 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -4964,7 +4970,7 @@ static PyObject *_wrap_GridTableBase_SetValue(PyObject *self, PyObject *args, Py
int arg2 ;
int arg3 ;
wxString *arg4 = 0 ;
bool temp4 = false ;
bool temp4 = False ;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
char *kwnames[] = {
@ -4976,7 +4982,7 @@ static PyObject *_wrap_GridTableBase_SetValue(PyObject *self, PyObject *args, Py
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = true;
temp4 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -5040,7 +5046,7 @@ static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *self, PyObject *arg
int arg3 ;
wxString *arg4 = 0 ;
bool result;
bool temp4 = false ;
bool temp4 = False ;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
char *kwnames[] = {
@ -5052,7 +5058,7 @@ static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *self, PyObject *arg
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = true;
temp4 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -5083,7 +5089,7 @@ static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *self, PyObject *arg
int arg3 ;
wxString *arg4 = 0 ;
bool result;
bool temp4 = false ;
bool temp4 = False ;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
char *kwnames[] = {
@ -5095,7 +5101,7 @@ static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *self, PyObject *arg
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = true;
temp4 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -5587,7 +5593,7 @@ static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *self, PyObject *
wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -5599,7 +5605,7 @@ static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *self, PyObject *
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -5628,7 +5634,7 @@ static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *self, PyObject *
wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -5640,7 +5646,7 @@ static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *self, PyObject *
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -5927,7 +5933,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *self, PyObje
int arg3 ;
wxString *arg4 = 0 ;
bool result;
bool temp4 = false ;
bool temp4 = False ;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
char *kwnames[] = {
@ -5939,7 +5945,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *self, PyObje
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = true;
temp4 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -5970,7 +5976,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *self, PyObje
int arg3 ;
wxString *arg4 = 0 ;
bool result;
bool temp4 = false ;
bool temp4 = False ;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
char *kwnames[] = {
@ -5982,7 +5988,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *self, PyObje
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = true;
temp4 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -6309,7 +6315,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *self, PyO
wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -6321,7 +6327,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *self, PyO
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -6350,7 +6356,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *self, PyO
wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -6362,7 +6368,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *self, PyO
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -7098,7 +7104,7 @@ static PyObject * GridCellCoords_swigregister(PyObject *self, PyObject *args) {
static PyObject *_wrap_new_Grid(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
wxWindowID arg2 ;
int arg2 ;
wxPoint const &arg3_defvalue = wxDefaultPosition ;
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
wxSize const &arg4_defvalue = wxDefaultSize ;
@ -7109,7 +7115,7 @@ static PyObject *_wrap_new_Grid(PyObject *self, PyObject *args, PyObject *kwargs
wxGrid *result;
wxPoint temp3 ;
wxSize temp4 ;
bool temp6 = false ;
bool temp6 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
@ -7136,7 +7142,7 @@ static PyObject *_wrap_new_Grid(PyObject *self, PyObject *args, PyObject *kwargs
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
temp6 = true;
temp6 = True;
}
}
{
@ -7353,7 +7359,7 @@ static PyObject *_wrap_Grid_SetTable(PyObject *self, PyObject *args, PyObject *k
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
bool arg3 = (bool) FALSE ;
bool arg3 = (bool) False ;
WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
bool result;
PyObject * obj0 = 0 ;
@ -7413,7 +7419,7 @@ static PyObject *_wrap_Grid_InsertRows(PyObject *self, PyObject *args, PyObject
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 = (int) 0 ;
int arg3 = (int) 1 ;
bool arg4 = (bool) TRUE ;
bool arg4 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
@ -7445,7 +7451,7 @@ static PyObject *_wrap_Grid_AppendRows(PyObject *self, PyObject *args, PyObject
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 = (int) 1 ;
bool arg3 = (bool) TRUE ;
bool arg3 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
@ -7478,7 +7484,7 @@ static PyObject *_wrap_Grid_DeleteRows(PyObject *self, PyObject *args, PyObject
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 = (int) 0 ;
int arg3 = (int) 1 ;
bool arg4 = (bool) TRUE ;
bool arg4 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
@ -7511,7 +7517,7 @@ static PyObject *_wrap_Grid_InsertCols(PyObject *self, PyObject *args, PyObject
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 = (int) 0 ;
int arg3 = (int) 1 ;
bool arg4 = (bool) TRUE ;
bool arg4 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
@ -7543,7 +7549,7 @@ static PyObject *_wrap_Grid_AppendCols(PyObject *self, PyObject *args, PyObject
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 = (int) 1 ;
bool arg3 = (bool) TRUE ;
bool arg3 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
@ -7576,7 +7582,7 @@ static PyObject *_wrap_Grid_DeleteCols(PyObject *self, PyObject *args, PyObject
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 = (int) 0 ;
int arg3 = (int) 1 ;
bool arg4 = (bool) TRUE ;
bool arg4 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
@ -7646,7 +7652,7 @@ static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *self, PyObject *args, Py
int arg5 = (int) wxLEFT ;
int arg6 = (int) wxTOP ;
int arg7 = (int) wxHORIZONTAL ;
bool temp3 = false ;
bool temp3 = False ;
wxRect temp4 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -7665,7 +7671,7 @@ static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *self, PyObject *args, Py
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
arg4 = &temp4;
@ -7864,7 +7870,7 @@ static PyObject *_wrap_Grid_ForceRefresh(PyObject *self, PyObject *args, PyObjec
static PyObject *_wrap_Grid_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
bool arg2 = (bool) TRUE ;
bool arg2 = (bool) True ;
wxRect *arg3 = (wxRect *) NULL ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -7952,7 +7958,7 @@ static PyObject *_wrap_Grid_EnableEditing(PyObject *self, PyObject *args, PyObje
static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
bool arg2 = (bool) TRUE ;
bool arg2 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -8396,7 +8402,7 @@ static PyObject *_wrap_Grid_IsVisible(PyObject *self, PyObject *args, PyObject *
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
int arg3 ;
bool arg4 = (bool) TRUE ;
bool arg4 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
@ -9442,7 +9448,7 @@ static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *self, PyObject *args, PyO
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -9454,7 +9460,7 @@ static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *self, PyObject *args, PyO
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -9483,7 +9489,7 @@ static PyObject *_wrap_Grid_SetColLabelValue(PyObject *self, PyObject *args, PyO
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -9495,7 +9501,7 @@ static PyObject *_wrap_Grid_SetColLabelValue(PyObject *self, PyObject *args, PyO
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -9634,7 +9640,7 @@ static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *self, PyObject
static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
bool arg2 = (bool) TRUE ;
bool arg2 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -9713,7 +9719,7 @@ static PyObject *_wrap_Grid_CanDragRowSize(PyObject *self, PyObject *args, PyObj
static PyObject *_wrap_Grid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
bool arg2 = (bool) TRUE ;
bool arg2 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -9792,7 +9798,7 @@ static PyObject *_wrap_Grid_CanDragColSize(PyObject *self, PyObject *args, PyObj
static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
bool arg2 = (bool) TRUE ;
bool arg2 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -10035,7 +10041,7 @@ static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *self, PyObject *args, P
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = false ;
bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -10047,7 +10053,7 @@ static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *self, PyObject *args, P
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -10074,7 +10080,7 @@ static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *self, PyObject *args, P
static PyObject *_wrap_Grid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
bool arg2 = (bool) TRUE ;
bool arg2 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -10582,7 +10588,7 @@ static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *self, PyObject *args, Py
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
bool arg3 = (bool) FALSE ;
bool arg3 = (bool) False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -10639,7 +10645,7 @@ static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *self, PyObject *args, Py
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
bool arg3 = (bool) FALSE ;
bool arg3 = (bool) False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -10696,7 +10702,7 @@ static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *self, PyObject *args, PyObj
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
bool arg3 = (bool) TRUE ;
bool arg3 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -10727,7 +10733,7 @@ static PyObject *_wrap_Grid_AutoSizeRow(PyObject *self, PyObject *args, PyObject
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
bool arg3 = (bool) TRUE ;
bool arg3 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -10757,7 +10763,7 @@ static PyObject *_wrap_Grid_AutoSizeRow(PyObject *self, PyObject *args, PyObject
static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
bool arg2 = (bool) TRUE ;
bool arg2 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -10787,7 +10793,7 @@ static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *self, PyObject *args, PyOb
static PyObject *_wrap_Grid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
bool arg2 = (bool) TRUE ;
bool arg2 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -11633,7 +11639,7 @@ static PyObject *_wrap_Grid_SetCellValue(PyObject *self, PyObject *args, PyObjec
int arg2 ;
int arg3 ;
wxString *arg4 = 0 ;
bool temp4 = false ;
bool temp4 = False ;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
char *kwnames[] = {
@ -11645,7 +11651,7 @@ static PyObject *_wrap_Grid_SetCellValue(PyObject *self, PyObject *args, PyObjec
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = true;
temp4 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -11701,7 +11707,7 @@ static PyObject *_wrap_Grid_SetReadOnly(PyObject *self, PyObject *args, PyObject
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
int arg3 ;
bool arg4 = (bool) TRUE ;
bool arg4 = (bool) True ;
PyObject * obj0 = 0 ;
PyObject * obj3 = 0 ;
char *kwnames[] = {
@ -11732,7 +11738,7 @@ static PyObject *_wrap_Grid_SelectRow(PyObject *self, PyObject *args, PyObject *
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
bool arg3 = (bool) FALSE ;
bool arg3 = (bool) False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -11763,7 +11769,7 @@ static PyObject *_wrap_Grid_SelectCol(PyObject *self, PyObject *args, PyObject *
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
bool arg3 = (bool) FALSE ;
bool arg3 = (bool) False ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
@ -11797,7 +11803,7 @@ static PyObject *_wrap_Grid_SelectBlock(PyObject *self, PyObject *args, PyObject
int arg3 ;
int arg4 ;
int arg5 ;
bool arg6 = (bool) FALSE ;
bool arg6 = (bool) False ;
PyObject * obj0 = 0 ;
PyObject * obj5 = 0 ;
char *kwnames[] = {
@ -12316,7 +12322,7 @@ static PyObject *_wrap_Grid_RegisterDataType(PyObject *self, PyObject *args, PyO
wxString *arg2 = 0 ;
wxGridCellRenderer *arg3 = (wxGridCellRenderer *) 0 ;
wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -12330,7 +12336,7 @@ static PyObject *_wrap_Grid_RegisterDataType(PyObject *self, PyObject *args, PyO
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGridCellRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGridCellEditor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
@ -12419,7 +12425,7 @@ static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *self, PyObject *ar
wxGrid *arg1 = (wxGrid *) 0 ;
wxString *arg2 = 0 ;
wxGridCellEditor *result;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -12431,7 +12437,7 @@ static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *self, PyObject *ar
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -12462,7 +12468,7 @@ static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *self, PyObject *
wxGrid *arg1 = (wxGrid *) 0 ;
wxString *arg2 = 0 ;
wxGridCellRenderer *result;
bool temp2 = false ;
bool temp2 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -12474,7 +12480,7 @@ static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *self, PyObject *
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
temp2 = True;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -12650,11 +12656,11 @@ static PyObject *_wrap_new_GridEvent(PyObject *self, PyObject *args, PyObject *k
int arg5 = (int) -1 ;
int arg6 = (int) -1 ;
int arg7 = (int) -1 ;
bool arg8 = (bool) TRUE ;
bool arg9 = (bool) FALSE ;
bool arg10 = (bool) FALSE ;
bool arg11 = (bool) FALSE ;
bool arg12 = (bool) FALSE ;
bool arg8 = (bool) True ;
bool arg9 = (bool) False ;
bool arg10 = (bool) False ;
bool arg11 = (bool) False ;
bool arg12 = (bool) False ;
wxGridEvent *result;
PyObject * obj2 = 0 ;
PyObject * obj7 = 0 ;
@ -12921,10 +12927,10 @@ static PyObject *_wrap_new_GridSizeEvent(PyObject *self, PyObject *args, PyObjec
int arg4 = (int) -1 ;
int arg5 = (int) -1 ;
int arg6 = (int) -1 ;
bool arg7 = (bool) FALSE ;
bool arg8 = (bool) FALSE ;
bool arg9 = (bool) FALSE ;
bool arg10 = (bool) FALSE ;
bool arg7 = (bool) False ;
bool arg8 = (bool) False ;
bool arg9 = (bool) False ;
bool arg10 = (bool) False ;
wxGridSizeEvent *result;
PyObject * obj2 = 0 ;
PyObject * obj6 = 0 ;
@ -13135,11 +13141,11 @@ static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *self, PyObject *args,
wxGrid *arg3 = (wxGrid *) 0 ;
wxGridCellCoords *arg4 = 0 ;
wxGridCellCoords *arg5 = 0 ;
bool arg6 = (bool) TRUE ;
bool arg7 = (bool) FALSE ;
bool arg8 = (bool) FALSE ;
bool arg9 = (bool) FALSE ;
bool arg10 = (bool) FALSE ;
bool arg6 = (bool) True ;
bool arg7 = (bool) False ;
bool arg8 = (bool) False ;
bool arg9 = (bool) False ;
bool arg10 = (bool) False ;
wxGridRangeSelectEvent *result;
wxGridCellCoords temp4 ;
wxGridCellCoords temp5 ;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -19,15 +19,24 @@ EVT_WIZARD_HELP = wx.PyEventBinder( wxEVT_WIZARD_HELP, 1)
EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
class WizardEvent(core.NotifyEvent):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWizardEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(wxEventType type=wxEVT_NULL, int id=-1, bool direction=True,
WizardPage page=None) -> WizardEvent"""
newobj = _wizard.new_WizardEvent(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def GetDirection(*args, **kwargs): return _wizard.WizardEvent_GetDirection(*args, **kwargs)
def GetPage(*args, **kwargs): return _wizard.WizardEvent_GetPage(*args, **kwargs)
def __repr__(self):
return "<%s.%s; proxy of C++ wxWizardEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def GetDirection(*args, **kwargs):
"""GetDirection() -> bool"""
return _wizard.WizardEvent_GetDirection(*args, **kwargs)
def GetPage(*args, **kwargs):
"""GetPage() -> WizardPage"""
return _wizard.WizardEvent_GetPage(*args, **kwargs)
class WizardEventPtr(WizardEvent):
def __init__(self, this):
@ -37,13 +46,26 @@ class WizardEventPtr(WizardEvent):
_wizard.WizardEvent_swigregister(WizardEventPtr)
class WizardPage(windows.Panel):
def Create(*args, **kwargs): return _wizard.WizardPage_Create(*args, **kwargs)
def GetPrev(*args, **kwargs): return _wizard.WizardPage_GetPrev(*args, **kwargs)
def GetNext(*args, **kwargs): return _wizard.WizardPage_GetNext(*args, **kwargs)
def GetBitmap(*args, **kwargs): return _wizard.WizardPage_GetBitmap(*args, **kwargs)
""""""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def Create(*args, **kwargs):
"""Create(Wizard parent, wxBitmap bitmap=wxNullBitmap, wxString resource=wxPyEmptyString) -> bool"""
return _wizard.WizardPage_Create(*args, **kwargs)
def GetPrev(*args, **kwargs):
"""GetPrev() -> WizardPage"""
return _wizard.WizardPage_GetPrev(*args, **kwargs)
def GetNext(*args, **kwargs):
"""GetNext() -> WizardPage"""
return _wizard.WizardPage_GetNext(*args, **kwargs)
def GetBitmap(*args, **kwargs):
"""GetBitmap() -> wxBitmap"""
return _wizard.WizardPage_GetBitmap(*args, **kwargs)
class WizardPagePtr(WizardPage):
def __init__(self, this):
@ -53,34 +75,97 @@ class WizardPagePtr(WizardPage):
_wizard.WizardPage_swigregister(WizardPagePtr)
class PyWizardPage(WizardPage):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(Wizard parent, wxBitmap bitmap=&wxNullBitmap, wxString resource=&wxPyEmptyString) -> PyWizardPage"""
newobj = _wizard.new_PyWizardPage(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setCallbackInfo(self, PyWizardPage);self._setOORInfo(self)
def Create(*args, **kwargs): return _wizard.PyWizardPage_Create(*args, **kwargs)
def _setCallbackInfo(*args, **kwargs): return _wizard.PyWizardPage__setCallbackInfo(*args, **kwargs)
def base_DoMoveWindow(*args, **kwargs): return _wizard.PyWizardPage_base_DoMoveWindow(*args, **kwargs)
def base_DoSetSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoSetSize(*args, **kwargs)
def base_DoSetClientSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoSetClientSize(*args, **kwargs)
def base_DoSetVirtualSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoSetVirtualSize(*args, **kwargs)
def base_DoGetSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoGetSize(*args, **kwargs)
def base_DoGetClientSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoGetClientSize(*args, **kwargs)
def base_DoGetPosition(*args, **kwargs): return _wizard.PyWizardPage_base_DoGetPosition(*args, **kwargs)
def base_DoGetVirtualSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoGetVirtualSize(*args, **kwargs)
def base_DoGetBestSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoGetBestSize(*args, **kwargs)
def base_InitDialog(*args, **kwargs): return _wizard.PyWizardPage_base_InitDialog(*args, **kwargs)
def base_TransferDataToWindow(*args, **kwargs): return _wizard.PyWizardPage_base_TransferDataToWindow(*args, **kwargs)
def base_TransferDataFromWindow(*args, **kwargs): return _wizard.PyWizardPage_base_TransferDataFromWindow(*args, **kwargs)
def base_Validate(*args, **kwargs): return _wizard.PyWizardPage_base_Validate(*args, **kwargs)
def base_AcceptsFocus(*args, **kwargs): return _wizard.PyWizardPage_base_AcceptsFocus(*args, **kwargs)
def base_AcceptsFocusFromKeyboard(*args, **kwargs): return _wizard.PyWizardPage_base_AcceptsFocusFromKeyboard(*args, **kwargs)
def base_GetMaxSize(*args, **kwargs): return _wizard.PyWizardPage_base_GetMaxSize(*args, **kwargs)
def base_AddChild(*args, **kwargs): return _wizard.PyWizardPage_base_AddChild(*args, **kwargs)
def base_RemoveChild(*args, **kwargs): return _wizard.PyWizardPage_base_RemoveChild(*args, **kwargs)
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def Create(*args, **kwargs):
"""Create(Wizard parent, wxBitmap bitmap=wxNullBitmap, wxString resource=wxPyEmptyString) -> bool"""
return _wizard.PyWizardPage_Create(*args, **kwargs)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(PyObject self, PyObject _class)"""
return _wizard.PyWizardPage__setCallbackInfo(*args, **kwargs)
def base_DoMoveWindow(*args, **kwargs):
"""base_DoMoveWindow(int x, int y, int width, int height)"""
return _wizard.PyWizardPage_base_DoMoveWindow(*args, **kwargs)
def base_DoSetSize(*args, **kwargs):
"""base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
return _wizard.PyWizardPage_base_DoSetSize(*args, **kwargs)
def base_DoSetClientSize(*args, **kwargs):
"""base_DoSetClientSize(int width, int height)"""
return _wizard.PyWizardPage_base_DoSetClientSize(*args, **kwargs)
def base_DoSetVirtualSize(*args, **kwargs):
"""base_DoSetVirtualSize(int x, int y)"""
return _wizard.PyWizardPage_base_DoSetVirtualSize(*args, **kwargs)
def base_DoGetSize(*args, **kwargs):
"""base_DoGetSize(int OUTPUT, int OUTPUT)"""
return _wizard.PyWizardPage_base_DoGetSize(*args, **kwargs)
def base_DoGetClientSize(*args, **kwargs):
"""base_DoGetClientSize(int OUTPUT, int OUTPUT)"""
return _wizard.PyWizardPage_base_DoGetClientSize(*args, **kwargs)
def base_DoGetPosition(*args, **kwargs):
"""base_DoGetPosition(int OUTPUT, int OUTPUT)"""
return _wizard.PyWizardPage_base_DoGetPosition(*args, **kwargs)
def base_DoGetVirtualSize(*args, **kwargs):
"""base_DoGetVirtualSize() -> Size"""
return _wizard.PyWizardPage_base_DoGetVirtualSize(*args, **kwargs)
def base_DoGetBestSize(*args, **kwargs):
"""base_DoGetBestSize() -> Size"""
return _wizard.PyWizardPage_base_DoGetBestSize(*args, **kwargs)
def base_InitDialog(*args, **kwargs):
"""base_InitDialog()"""
return _wizard.PyWizardPage_base_InitDialog(*args, **kwargs)
def base_TransferDataToWindow(*args, **kwargs):
"""base_TransferDataToWindow() -> bool"""
return _wizard.PyWizardPage_base_TransferDataToWindow(*args, **kwargs)
def base_TransferDataFromWindow(*args, **kwargs):
"""base_TransferDataFromWindow() -> bool"""
return _wizard.PyWizardPage_base_TransferDataFromWindow(*args, **kwargs)
def base_Validate(*args, **kwargs):
"""base_Validate() -> bool"""
return _wizard.PyWizardPage_base_Validate(*args, **kwargs)
def base_AcceptsFocus(*args, **kwargs):
"""base_AcceptsFocus() -> bool"""
return _wizard.PyWizardPage_base_AcceptsFocus(*args, **kwargs)
def base_AcceptsFocusFromKeyboard(*args, **kwargs):
"""base_AcceptsFocusFromKeyboard() -> bool"""
return _wizard.PyWizardPage_base_AcceptsFocusFromKeyboard(*args, **kwargs)
def base_GetMaxSize(*args, **kwargs):
"""base_GetMaxSize() -> Size"""
return _wizard.PyWizardPage_base_GetMaxSize(*args, **kwargs)
def base_AddChild(*args, **kwargs):
"""base_AddChild(Window child)"""
return _wizard.PyWizardPage_base_AddChild(*args, **kwargs)
def base_RemoveChild(*args, **kwargs):
"""base_RemoveChild(Window child)"""
return _wizard.PyWizardPage_base_RemoveChild(*args, **kwargs)
class PyWizardPagePtr(PyWizardPage):
def __init__(self, this):
@ -90,23 +175,42 @@ class PyWizardPagePtr(PyWizardPage):
_wizard.PyWizardPage_swigregister(PyWizardPagePtr)
def PrePyWizardPage(*args, **kwargs):
"""PrePyWizardPage() -> PyWizardPage"""
val = _wizard.new_PrePyWizardPage(*args, **kwargs)
val.thisown = 1
return val
class WizardPageSimple(WizardPage):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWizardPageSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(Wizard parent, WizardPage prev=None, WizardPage next=None,
wxBitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple"""
newobj = _wizard.new_WizardPageSimple(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setOORInfo(self)
def Create(*args, **kwargs): return _wizard.WizardPageSimple_Create(*args, **kwargs)
def SetPrev(*args, **kwargs): return _wizard.WizardPageSimple_SetPrev(*args, **kwargs)
def SetNext(*args, **kwargs): return _wizard.WizardPageSimple_SetNext(*args, **kwargs)
Chain = staticmethod(_wizard.WizardPageSimple_Chain)
def __repr__(self):
return "<%s.%s; proxy of C++ wxWizardPageSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def Create(*args, **kwargs):
"""Create(Wizard parent=None, WizardPage prev=None, WizardPage next=None,
wxBitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool"""
return _wizard.WizardPageSimple_Create(*args, **kwargs)
def SetPrev(*args, **kwargs):
"""SetPrev(WizardPage prev)"""
return _wizard.WizardPageSimple_SetPrev(*args, **kwargs)
def SetNext(*args, **kwargs):
"""SetNext(WizardPage next)"""
return _wizard.WizardPageSimple_SetNext(*args, **kwargs)
def Chain(*args, **kwargs):
"""WizardPageSimple.Chain(WizardPageSimple first, WizardPageSimple second)"""
return _wizard.WizardPageSimple_Chain(*args, **kwargs)
Chain = staticmethod(Chain)
class WizardPageSimplePtr(WizardPageSimple):
def __init__(self, this):
@ -116,34 +220,82 @@ class WizardPageSimplePtr(WizardPageSimple):
_wizard.WizardPageSimple_swigregister(WizardPageSimplePtr)
def PreWizardPageSimple(*args, **kwargs):
"""PreWizardPageSimple() -> WizardPageSimple"""
val = _wizard.new_PreWizardPageSimple(*args, **kwargs)
val.thisown = 1
return val
WizardPageSimple_Chain = _wizard.WizardPageSimple_Chain
def WizardPageSimple_Chain(*args, **kwargs):
"""WizardPageSimple_Chain(WizardPageSimple first, WizardPageSimple second)"""
return _wizard.WizardPageSimple_Chain(*args, **kwargs)
class Wizard(windows.Dialog):
""""""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWizard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(Window parent, int id=-1, wxString title=wxEmptyString,
wxBitmap bitmap=wxNullBitmap, Point pos=DefaultPosition,
long style=DEFAULT_DIALOG_STYLE) -> Wizard"""
newobj = _wizard.new_Wizard(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setOORInfo(self)
def Create(*args, **kwargs): return _wizard.Wizard_Create(*args, **kwargs)
def Init(*args, **kwargs): return _wizard.Wizard_Init(*args, **kwargs)
def RunWizard(*args, **kwargs): return _wizard.Wizard_RunWizard(*args, **kwargs)
def GetCurrentPage(*args, **kwargs): return _wizard.Wizard_GetCurrentPage(*args, **kwargs)
def SetPageSize(*args, **kwargs): return _wizard.Wizard_SetPageSize(*args, **kwargs)
def GetPageSize(*args, **kwargs): return _wizard.Wizard_GetPageSize(*args, **kwargs)
def FitToPage(*args, **kwargs): return _wizard.Wizard_FitToPage(*args, **kwargs)
def GetPageAreaSizer(*args, **kwargs): return _wizard.Wizard_GetPageAreaSizer(*args, **kwargs)
def SetBorder(*args, **kwargs): return _wizard.Wizard_SetBorder(*args, **kwargs)
def IsRunning(*args, **kwargs): return _wizard.Wizard_IsRunning(*args, **kwargs)
def ShowPage(*args, **kwargs): return _wizard.Wizard_ShowPage(*args, **kwargs)
def HasNextPage(*args, **kwargs): return _wizard.Wizard_HasNextPage(*args, **kwargs)
def HasPrevPage(*args, **kwargs): return _wizard.Wizard_HasPrevPage(*args, **kwargs)
def __repr__(self):
return "<%s.%s; proxy of C++ wxWizard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def Create(*args, **kwargs):
"""Create(Window parent, int id=-1, wxString title=wxEmptyString,
wxBitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool"""
return _wizard.Wizard_Create(*args, **kwargs)
def Init(*args, **kwargs):
"""Init()"""
return _wizard.Wizard_Init(*args, **kwargs)
def RunWizard(*args, **kwargs):
"""RunWizard(WizardPage firstPage) -> bool"""
return _wizard.Wizard_RunWizard(*args, **kwargs)
def GetCurrentPage(*args, **kwargs):
"""GetCurrentPage() -> WizardPage"""
return _wizard.Wizard_GetCurrentPage(*args, **kwargs)
def SetPageSize(*args, **kwargs):
"""SetPageSize(Size size)"""
return _wizard.Wizard_SetPageSize(*args, **kwargs)
def GetPageSize(*args, **kwargs):
"""GetPageSize() -> Size"""
return _wizard.Wizard_GetPageSize(*args, **kwargs)
def FitToPage(*args, **kwargs):
"""FitToPage(WizardPage firstPage)"""
return _wizard.Wizard_FitToPage(*args, **kwargs)
def GetPageAreaSizer(*args, **kwargs):
"""GetPageAreaSizer() -> Sizer"""
return _wizard.Wizard_GetPageAreaSizer(*args, **kwargs)
def SetBorder(*args, **kwargs):
"""SetBorder(int border)"""
return _wizard.Wizard_SetBorder(*args, **kwargs)
def IsRunning(*args, **kwargs):
"""IsRunning() -> bool"""
return _wizard.Wizard_IsRunning(*args, **kwargs)
def ShowPage(*args, **kwargs):
"""ShowPage(WizardPage page, bool goingForward=True) -> bool"""
return _wizard.Wizard_ShowPage(*args, **kwargs)
def HasNextPage(*args, **kwargs):
"""HasNextPage(WizardPage page) -> bool"""
return _wizard.Wizard_HasNextPage(*args, **kwargs)
def HasPrevPage(*args, **kwargs):
"""HasPrevPage(WizardPage page) -> bool"""
return _wizard.Wizard_HasPrevPage(*args, **kwargs)
class WizardPtr(Wizard):
def __init__(self, this):
@ -153,6 +305,7 @@ class WizardPtr(Wizard):
_wizard.Wizard_swigregister(WizardPtr)
def PreWizard(*args, **kwargs):
"""PreWizard() -> Wizard"""
val = _wizard.new_PreWizard(*args, **kwargs)
val.thisown = 1
return val

View File

@ -385,7 +385,7 @@ static PyObject *_wrap_new_WizardEvent(PyObject *self, PyObject *args, PyObject
PyObject *resultobj;
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
int arg2 = (int) -1 ;
bool arg3 = (bool) TRUE ;
bool arg3 = (bool) True ;
wxWizardPage *arg4 = (wxWizardPage *) NULL ;
wxWizardEvent *result;
PyObject * obj2 = 0 ;
@ -484,7 +484,7 @@ static PyObject *_wrap_WizardPage_Create(PyObject *self, PyObject *args, PyObjec
wxString const &arg4_defvalue = wxPyEmptyString ;
wxString *arg4 = (wxString *) &arg4_defvalue ;
bool result;
bool temp4 = false ;
bool temp4 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -506,7 +506,7 @@ static PyObject *_wrap_WizardPage_Create(PyObject *self, PyObject *args, PyObjec
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = true;
temp4 = True;
}
}
{
@ -687,7 +687,7 @@ static PyObject *_wrap_PyWizardPage_Create(PyObject *self, PyObject *args, PyObj
wxString const &arg4_defvalue = wxPyEmptyString ;
wxString *arg4 = (wxString *) &arg4_defvalue ;
bool result;
bool temp4 = false ;
bool temp4 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -709,7 +709,7 @@ static PyObject *_wrap_PyWizardPage_Create(PyObject *self, PyObject *args, PyObj
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = true;
temp4 = True;
}
}
{
@ -1509,7 +1509,7 @@ static PyObject *_wrap_new_Wizard(PyObject *self, PyObject *args, PyObject *kwar
wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
wxWizard *result;
bool temp3 = false ;
bool temp3 = False ;
wxPoint temp5 ;
PyObject * obj0 = 0 ;
PyObject * obj2 = 0 ;
@ -1525,7 +1525,7 @@ static PyObject *_wrap_new_Wizard(PyObject *self, PyObject *args, PyObject *kwar
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = true;
temp3 = True;
}
}
if (obj3) {
@ -1596,7 +1596,7 @@ static PyObject *_wrap_Wizard_Create(PyObject *self, PyObject *args, PyObject *k
wxPoint const &arg6_defvalue = wxDefaultPosition ;
wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
bool result;
bool temp4 = false ;
bool temp4 = False ;
wxPoint temp6 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -1614,7 +1614,7 @@ static PyObject *_wrap_Wizard_Create(PyObject *self, PyObject *args, PyObject *k
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = true;
temp4 = True;
}
}
if (obj4) {
@ -1898,7 +1898,7 @@ static PyObject *_wrap_Wizard_ShowPage(PyObject *self, PyObject *args, PyObject
PyObject *resultobj;
wxWizard *arg1 = (wxWizard *) 0 ;
wxWizardPage *arg2 = (wxWizardPage *) 0 ;
bool arg3 = (bool) TRUE ;
bool arg3 = (bool) True ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;

View File

@ -351,6 +351,11 @@ wxHelpProvider_Set = wx.controls.HelpProvider_Set
wxHelpProvider_Get = wx.controls.HelpProvider_Get
wxHelpProvider = wx.controls.HelpProvider
wxSimpleHelpProvider = wx.controls.SimpleHelpProvider
wxDragIcon = wx.controls.DragIcon
wxDragString = wx.controls.DragString
wxDragTreeItem = wx.controls.DragTreeItem
wxDragListItem = wx.controls.DragListItem
wxDragImage = wx.controls.DragImage
d = globals()

View File

@ -899,6 +899,7 @@ wxWakeUpIdle = wx.core.WakeUpIdle
wxPostEvent = wx.core.PostEvent
wxApp_CleanUp = wx.core.App_CleanUp
wxGetApp = wx.core.GetApp
wxPanelNameStr = wx.core.PanelNameStr
wxPreWindow = wx.core.PreWindow
wxWindow_NewControlId = wx.core.Window_NewControlId
wxWindow_NextControlId = wx.core.Window_NextControlId

View File

@ -493,11 +493,6 @@ wxTheFontList = wx.gdi.TheFontList
wxThePenList = wx.gdi.ThePenList
wxTheBrushList = wx.gdi.TheBrushList
wxTheColourDatabase = wx.gdi.TheColourDatabase
wxDragIcon = wx.gdi.DragIcon
wxDragString = wx.gdi.DragString
wxDragTreeItem = wx.gdi.DragTreeItem
wxDragListItem = wx.gdi.DragListItem
wxDragImage = wx.gdi.DragImage
wxEffects = wx.gdi.Effects