From 41f1cec7ae286b1bc5cc189bbf31c060c7ff812a Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 27 Nov 2003 01:17:54 +0000 Subject: [PATCH] reSWIGged git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/contrib/gizmos/mac/gizmos.py | 127 +- wxPython/contrib/gizmos/mac/gizmos_wrap.cpp | 6 +- wxPython/contrib/gizmos/msw/gizmos.py | 127 +- wxPython/contrib/gizmos/msw/gizmos_wrap.cpp | 6 +- wxPython/contrib/glcanvas/mac/glcanvas.py | 28 +- .../contrib/glcanvas/mac/glcanvas_wrap.cpp | 5 +- wxPython/contrib/glcanvas/msw/glcanvas.py | 28 +- .../contrib/glcanvas/msw/glcanvas_wrap.cpp | 5 +- wxPython/contrib/ogl/mac/ogl.py | 516 ++++--- wxPython/contrib/ogl/mac/ogl_wrap.cpp | 8 +- wxPython/contrib/ogl/msw/ogl.py | 514 ++++--- wxPython/contrib/ogl/msw/ogl_wrap.cpp | 6 +- wxPython/src/mac/calendar.py | 31 +- wxPython/src/mac/calendar_wrap.cpp | 5 +- wxPython/src/mac/controls.py | 808 ++++++----- wxPython/src/mac/controls_wrap.cpp | 11 +- wxPython/src/mac/core.py | 1264 ++++++++++------- wxPython/src/mac/core_wrap.cpp | 412 +++++- wxPython/src/mac/gdi.py | 359 +++-- wxPython/src/mac/gdi_wrap.cpp | 5 +- wxPython/src/mac/grid.py | 97 +- wxPython/src/mac/grid_wrap.cpp | 6 +- wxPython/src/mac/html.py | 68 +- wxPython/src/mac/html_wrap.cpp | 6 +- wxPython/src/mac/misc.py | 347 +++-- wxPython/src/mac/misc_wrap.cpp | 31 +- wxPython/src/mac/windows.py | 514 +++---- wxPython/src/mac/windows_wrap.cpp | 567 ++------ wxPython/src/mac/wizard.py | 37 +- wxPython/src/mac/wizard_wrap.cpp | 6 +- wxPython/src/msw/calendar.py | 31 +- wxPython/src/msw/calendar_wrap.cpp | 5 +- wxPython/src/msw/controls.py | 818 ++++++----- wxPython/src/msw/controls_wrap.cpp | 11 +- wxPython/src/msw/core.py | 1264 ++++++++++------- wxPython/src/msw/core_wrap.cpp | 386 ++++- wxPython/src/msw/gdi.py | 359 +++-- wxPython/src/msw/gdi_wrap.cpp | 5 +- wxPython/src/msw/grid.py | 97 +- wxPython/src/msw/grid_wrap.cpp | 6 +- wxPython/src/msw/html.py | 68 +- wxPython/src/msw/html_wrap.cpp | 6 +- wxPython/src/msw/misc.py | 347 +++-- wxPython/src/msw/misc_wrap.cpp | 31 +- wxPython/src/msw/windows.py | 514 +++---- wxPython/src/msw/windows_wrap.cpp | 567 ++------ wxPython/src/msw/wizard.py | 37 +- wxPython/src/msw/wizard_wrap.cpp | 6 +- 48 files changed, 6044 insertions(+), 4464 deletions(-) diff --git a/wxPython/contrib/gizmos/mac/gizmos.py b/wxPython/contrib/gizmos/mac/gizmos.py index 61d68a4af2..dcaf9314fc 100644 --- a/wxPython/contrib/gizmos/mac/gizmos.py +++ b/wxPython/contrib/gizmos/mac/gizmos.py @@ -12,7 +12,6 @@ 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): @@ -30,7 +29,6 @@ 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): @@ -48,13 +46,14 @@ 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""" + """ + __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 @@ -62,9 +61,11 @@ class DynamicSashWindow(core.Window): self._setOORInfo(self) 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""" + """ + 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): @@ -96,13 +97,14 @@ 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""" + """ + __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 @@ -150,12 +152,13 @@ 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""" + """ + __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 @@ -195,12 +198,13 @@ 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""" + """ + __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 @@ -228,12 +232,13 @@ 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""" + """ + __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 @@ -249,12 +254,13 @@ 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""" + """ + __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 @@ -275,12 +281,13 @@ 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""" + """ + __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 @@ -288,8 +295,10 @@ class LEDNumberCtrl(core.Control): self._setOORInfo(self) 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""" + """ + 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): @@ -335,12 +344,13 @@ 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""" + """ + __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 @@ -394,14 +404,15 @@ 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""" + """ + __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 @@ -409,10 +420,12 @@ class TreeListCtrl(core.Control): self._setOORInfo(self);self._setCallbackInfo(self, TreeListCtrl) 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""" + """ + 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): @@ -706,28 +719,38 @@ class TreeListCtrl(core.Control): return _gizmos.TreeListCtrl_GetNext(*args, **kwargs) def AddRoot(*args, **kwargs): - """AddRoot(wxString text, int image=-1, int selectedImage=-1, - TreeItemData data=None) -> TreeItemId""" + """ + 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""" + """ + 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""" + """ + 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""" + """ + 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""" + """ + 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): diff --git a/wxPython/contrib/gizmos/mac/gizmos_wrap.cpp b/wxPython/contrib/gizmos/mac/gizmos_wrap.cpp index 5371cd20c3..bc80173bdd 100644 --- a/wxPython/contrib/gizmos/mac/gizmos_wrap.cpp +++ b/wxPython/contrib/gizmos/mac/gizmos_wrap.cpp @@ -6734,12 +6734,12 @@ static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); } -static void *_p_wxWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); -} static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); } +static void *_p_wxWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); +} static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x)); } diff --git a/wxPython/contrib/gizmos/msw/gizmos.py b/wxPython/contrib/gizmos/msw/gizmos.py index 61d68a4af2..dcaf9314fc 100644 --- a/wxPython/contrib/gizmos/msw/gizmos.py +++ b/wxPython/contrib/gizmos/msw/gizmos.py @@ -12,7 +12,6 @@ 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): @@ -30,7 +29,6 @@ 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): @@ -48,13 +46,14 @@ 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""" + """ + __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 @@ -62,9 +61,11 @@ class DynamicSashWindow(core.Window): self._setOORInfo(self) 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""" + """ + 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): @@ -96,13 +97,14 @@ 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""" + """ + __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 @@ -150,12 +152,13 @@ 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""" + """ + __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 @@ -195,12 +198,13 @@ 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""" + """ + __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 @@ -228,12 +232,13 @@ 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""" + """ + __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 @@ -249,12 +254,13 @@ 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""" + """ + __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 @@ -275,12 +281,13 @@ 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""" + """ + __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 @@ -288,8 +295,10 @@ class LEDNumberCtrl(core.Control): self._setOORInfo(self) 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""" + """ + 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): @@ -335,12 +344,13 @@ 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""" + """ + __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 @@ -394,14 +404,15 @@ 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""" + """ + __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 @@ -409,10 +420,12 @@ class TreeListCtrl(core.Control): self._setOORInfo(self);self._setCallbackInfo(self, TreeListCtrl) 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""" + """ + 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): @@ -706,28 +719,38 @@ class TreeListCtrl(core.Control): return _gizmos.TreeListCtrl_GetNext(*args, **kwargs) def AddRoot(*args, **kwargs): - """AddRoot(wxString text, int image=-1, int selectedImage=-1, - TreeItemData data=None) -> TreeItemId""" + """ + 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""" + """ + 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""" + """ + 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""" + """ + 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""" + """ + 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): diff --git a/wxPython/contrib/gizmos/msw/gizmos_wrap.cpp b/wxPython/contrib/gizmos/msw/gizmos_wrap.cpp index d318f945cd..51cab652ed 100644 --- a/wxPython/contrib/gizmos/msw/gizmos_wrap.cpp +++ b/wxPython/contrib/gizmos/msw/gizmos_wrap.cpp @@ -6734,12 +6734,12 @@ static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); } -static void *_p_wxWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); -} static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); } +static void *_p_wxWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); +} static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x)); } diff --git a/wxPython/contrib/glcanvas/mac/glcanvas.py b/wxPython/contrib/glcanvas/mac/glcanvas.py index ac95be0d08..0098cdd557 100644 --- a/wxPython/contrib/glcanvas/mac/glcanvas.py +++ b/wxPython/contrib/glcanvas/mac/glcanvas.py @@ -6,12 +6,13 @@ 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""" + """ + __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 @@ -63,14 +64,15 @@ 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""" + """ + __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 @@ -102,10 +104,12 @@ 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""" + """ + 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) diff --git a/wxPython/contrib/glcanvas/mac/glcanvas_wrap.cpp b/wxPython/contrib/glcanvas/mac/glcanvas_wrap.cpp index 9ac3cd5c0c..96c7e095fe 100644 --- a/wxPython/contrib/glcanvas/mac/glcanvas_wrap.cpp +++ b/wxPython/contrib/glcanvas/mac/glcanvas_wrap.cpp @@ -946,6 +946,9 @@ static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { static void *_p_wxGLCanvasTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxGLCanvas *) x)); } +static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxAcceleratorTable *) x)); +} static void *_p_wxImageTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxImage *) x)); } @@ -1043,7 +1046,7 @@ static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) ((wxMenu *) x)); } static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxGLCanvas", _p_wxGLCanvasTo_p_wxWindow},{0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxGLContext", _p_wxGLContextTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGLCanvas", _p_wxGLCanvasTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxGLContext", _p_wxGLContextTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGLCanvas", _p_wxGLCanvasTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxGLCanvas", _p_wxGLCanvasTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{0}}; static swig_type_info _swigt__p_wxPalette[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}}; static swig_type_info _swigt__p_wxGLCanvas[] = {{"_p_wxGLCanvas", 0, "wxGLCanvas *", 0},{"_p_wxGLCanvas"},{0}}; diff --git a/wxPython/contrib/glcanvas/msw/glcanvas.py b/wxPython/contrib/glcanvas/msw/glcanvas.py index 720f965d53..e51f86aa14 100644 --- a/wxPython/contrib/glcanvas/msw/glcanvas.py +++ b/wxPython/contrib/glcanvas/msw/glcanvas.py @@ -6,12 +6,13 @@ 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""" + """ + __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 @@ -63,14 +64,15 @@ 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""" + """ + __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 @@ -118,10 +120,12 @@ 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""" + """ + 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) diff --git a/wxPython/contrib/glcanvas/msw/glcanvas_wrap.cpp b/wxPython/contrib/glcanvas/msw/glcanvas_wrap.cpp index 6a68076953..9c40cda535 100644 --- a/wxPython/contrib/glcanvas/msw/glcanvas_wrap.cpp +++ b/wxPython/contrib/glcanvas/msw/glcanvas_wrap.cpp @@ -1077,6 +1077,9 @@ static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { static void *_p_wxGLCanvasTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxGLCanvas *) x)); } +static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxAcceleratorTable *) x)); +} static void *_p_wxImageTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxImage *) x)); } @@ -1174,7 +1177,7 @@ static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) ((wxMenu *) x)); } static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxGLCanvas", _p_wxGLCanvasTo_p_wxWindow},{0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxGLContext", _p_wxGLContextTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGLCanvas", _p_wxGLCanvasTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxGLContext", _p_wxGLContextTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGLCanvas", _p_wxGLCanvasTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxGLCanvas", _p_wxGLCanvasTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{0}}; static swig_type_info _swigt__p_wxPalette[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}}; static swig_type_info _swigt__p_wxGLCanvas[] = {{"_p_wxGLCanvas", 0, "wxGLCanvas *", 0},{"_p_wxGLCanvas"},{0}}; diff --git a/wxPython/contrib/ogl/mac/ogl.py b/wxPython/contrib/ogl/mac/ogl.py index 750f38a0df..9c2d5d2129 100644 --- a/wxPython/contrib/ogl/mac/ogl.py +++ b/wxPython/contrib/ogl/mac/ogl.py @@ -9,7 +9,6 @@ wx = core #--------------------------------------------------------------------------- class ShapeRegion(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxShapeRegion instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -139,7 +138,6 @@ class ShapeRegionPtr(ShapeRegion): _ogl.ShapeRegion_swigregister(ShapeRegionPtr) class PyShapeEvtHandler(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyShapeEvtHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -231,13 +229,17 @@ class PyShapeEvtHandler(core.Object): return _ogl.PyShapeEvtHandler_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyShapeEvtHandler_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyShapeEvtHandler_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -281,18 +283,24 @@ class PyShapeEvtHandler(core.Object): return _ogl.PyShapeEvtHandler_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyShapeEvtHandler_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyShapeEvtHandler_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyShapeEvtHandler_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -312,7 +320,6 @@ class PyShapeEvtHandlerPtr(PyShapeEvtHandler): _ogl.PyShapeEvtHandler_swigregister(PyShapeEvtHandlerPtr) class PyShape(PyShapeEvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -336,8 +343,10 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_GetBoundingBoxMin(*args, **kwargs) def GetPerimeterPoint(*args, **kwargs): - """GetPerimeterPoint(double x1, double y1, double x2, double y2, double OUTPUT, - double OUTPUT) -> bool""" + """ + GetPerimeterPoint(double x1, double y1, double x2, double y2, double OUTPUT, + double OUTPUT) -> bool + """ return _ogl.PyShape_GetPerimeterPoint(*args, **kwargs) def GetCanvas(*args, **kwargs): @@ -625,8 +634,10 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_Constrain(*args, **kwargs) def AddLine(*args, **kwargs): - """AddLine(PyLineShape line, PyShape other, int attachFrom=0, - int attachTo=0, int positionFrom=-1, int positionTo=-1)""" + """ + AddLine(PyLineShape line, PyShape other, int attachFrom=0, + int attachTo=0, int positionFrom=-1, int positionTo=-1) + """ return _ogl.PyShape_AddLine(*args, **kwargs) def GetLinePosition(*args, **kwargs): @@ -694,7 +705,7 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_GetRegionId(*args, **kwargs) def NameRegions(*args, **kwargs): - """NameRegions(wxString parentName="")""" + """NameRegions(wxString parentName=wxPyEmptyString)""" return _ogl.PyShape_NameRegions(*args, **kwargs) def GetRegions(*args, **kwargs): @@ -730,8 +741,10 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_RemoveLine(*args, **kwargs) def GetAttachmentPosition(*args, **kwargs): - """GetAttachmentPosition(int attachment, double OUTPUT, double OUTPUT, int nth=0, - int no_arcs=1, PyLineShape line=None) -> bool""" + """ + GetAttachmentPosition(int attachment, double OUTPUT, double OUTPUT, int nth=0, + int no_arcs=1, PyLineShape line=None) -> bool + """ return _ogl.PyShape_GetAttachmentPosition(*args, **kwargs) def GetNumberOfAttachments(*args, **kwargs): @@ -743,13 +756,17 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_AttachmentIsValid(*args, **kwargs) def GetAttachmentPositionEdge(*args, **kwargs): - """GetAttachmentPositionEdge(int attachment, double OUTPUT, double OUTPUT, int nth=0, - int no_arcs=1, PyLineShape line=None) -> bool""" + """ + GetAttachmentPositionEdge(int attachment, double OUTPUT, double OUTPUT, int nth=0, + int no_arcs=1, PyLineShape line=None) -> bool + """ return _ogl.PyShape_GetAttachmentPositionEdge(*args, **kwargs) def CalcSimpleAttachment(*args, **kwargs): - """CalcSimpleAttachment(RealPoint pt1, RealPoint pt2, int nth, int noArcs, - PyLineShape line) -> RealPoint""" + """ + CalcSimpleAttachment(RealPoint pt1, RealPoint pt2, int nth, int noArcs, + PyLineShape line) -> RealPoint + """ return _ogl.PyShape_CalcSimpleAttachment(*args, **kwargs) def AttachmentSortTest(*args, **kwargs): @@ -777,8 +794,10 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_GetBranchingAttachmentRoot(*args, **kwargs) def GetBranchingAttachmentInfo(*args, **kwargs): - """GetBranchingAttachmentInfo(int attachment, RealPoint root, RealPoint neck, RealPoint shoulder1, - RealPoint shoulder2) -> bool""" + """ + GetBranchingAttachmentInfo(int attachment, RealPoint root, RealPoint neck, RealPoint shoulder1, + RealPoint shoulder2) -> bool + """ return _ogl.PyShape_GetBranchingAttachmentInfo(*args, **kwargs) def GetBranchingAttachmentPoint(*args, **kwargs): @@ -926,13 +945,17 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -976,18 +999,24 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -1009,7 +1038,6 @@ _ogl.PyShape_swigregister(PyShapePtr) oglMETAFLAGS_OUTLINE = _ogl.oglMETAFLAGS_OUTLINE oglMETAFLAGS_ATTACHMENTS = _ogl.oglMETAFLAGS_ATTACHMENTS class PseudoMetaFile(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPseudoMetaFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1189,7 +1217,6 @@ class PseudoMetaFilePtr(PseudoMetaFile): _ogl.PseudoMetaFile_swigregister(PseudoMetaFilePtr) class PyRectangleShape(PyShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyRectangleShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1257,13 +1284,17 @@ class PyRectangleShape(PyShape): return _ogl.PyRectangleShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyRectangleShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyRectangleShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -1307,18 +1338,24 @@ class PyRectangleShape(PyShape): return _ogl.PyRectangleShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyRectangleShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyRectangleShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyRectangleShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -1338,13 +1375,14 @@ class PyRectangleShapePtr(PyRectangleShape): _ogl.PyRectangleShape_swigregister(PyRectangleShapePtr) class PyControlPoint(PyRectangleShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyControlPoint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(PyShapeCanvas the_canvas=None, PyShape object=None, - double size=0.0, double the_xoffset=0.0, double the_yoffset=0.0, - int the_type=0) -> PyControlPoint""" + """ + __init__(PyShapeCanvas the_canvas=None, PyShape object=None, + double size=0.0, double the_xoffset=0.0, double the_yoffset=0.0, + int the_type=0) -> PyControlPoint + """ newobj = _ogl.new_PyControlPoint(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1408,13 +1446,17 @@ class PyControlPoint(PyRectangleShape): return _ogl.PyControlPoint_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyControlPoint_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyControlPoint_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -1458,18 +1500,24 @@ class PyControlPoint(PyRectangleShape): return _ogl.PyControlPoint_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyControlPoint_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyControlPoint_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyControlPoint_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -1489,7 +1537,6 @@ class PyControlPointPtr(PyControlPoint): _ogl.PyControlPoint_swigregister(PyControlPointPtr) class PyBitmapShape(PyRectangleShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyBitmapShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1569,13 +1616,17 @@ class PyBitmapShape(PyRectangleShape): return _ogl.PyBitmapShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyBitmapShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyBitmapShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -1619,18 +1670,24 @@ class PyBitmapShape(PyRectangleShape): return _ogl.PyBitmapShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyBitmapShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyBitmapShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyBitmapShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -1650,7 +1707,6 @@ class PyBitmapShapePtr(PyBitmapShape): _ogl.PyBitmapShape_swigregister(PyBitmapShapePtr) class PyDrawnShape(PyRectangleShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyDrawnShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1826,13 +1882,17 @@ class PyDrawnShape(PyRectangleShape): return _ogl.PyDrawnShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyDrawnShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyDrawnShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -1876,18 +1936,24 @@ class PyDrawnShape(PyRectangleShape): return _ogl.PyDrawnShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDrawnShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDrawnShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDrawnShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -1907,7 +1973,6 @@ class PyDrawnShapePtr(PyDrawnShape): _ogl.PyDrawnShape_swigregister(PyDrawnShapePtr) class OGLConstraint(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxOGLConstraint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1937,7 +2002,6 @@ class OGLConstraintPtr(OGLConstraint): _ogl.OGLConstraint_swigregister(OGLConstraintPtr) class PyCompositeShape(PyRectangleShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyCompositeShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2057,13 +2121,17 @@ class PyCompositeShape(PyRectangleShape): return _ogl.PyCompositeShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyCompositeShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyCompositeShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -2107,18 +2175,24 @@ class PyCompositeShape(PyRectangleShape): return _ogl.PyCompositeShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyCompositeShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyCompositeShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyCompositeShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -2138,7 +2212,6 @@ class PyCompositeShapePtr(PyCompositeShape): _ogl.PyCompositeShape_swigregister(PyCompositeShapePtr) class PyDividedShape(PyRectangleShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyDividedShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2210,13 +2283,17 @@ class PyDividedShape(PyRectangleShape): return _ogl.PyDividedShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyDividedShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyDividedShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -2260,18 +2337,24 @@ class PyDividedShape(PyRectangleShape): return _ogl.PyDividedShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDividedShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDividedShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDividedShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -2291,7 +2374,6 @@ class PyDividedShapePtr(PyDividedShape): _ogl.PyDividedShape_swigregister(PyDividedShapePtr) class PyDivisionShape(PyCompositeShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyDivisionShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2455,13 +2537,17 @@ class PyDivisionShape(PyCompositeShape): return _ogl.PyDivisionShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyDivisionShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyDivisionShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -2505,18 +2591,24 @@ class PyDivisionShape(PyCompositeShape): return _ogl.PyDivisionShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDivisionShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDivisionShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDivisionShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -2536,7 +2628,6 @@ class PyDivisionShapePtr(PyDivisionShape): _ogl.PyDivisionShape_swigregister(PyDivisionShapePtr) class PyEllipseShape(PyShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyEllipseShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2596,13 +2687,17 @@ class PyEllipseShape(PyShape): return _ogl.PyEllipseShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyEllipseShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyEllipseShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -2646,18 +2741,24 @@ class PyEllipseShape(PyShape): return _ogl.PyEllipseShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyEllipseShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyEllipseShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyEllipseShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -2677,7 +2778,6 @@ class PyEllipseShapePtr(PyEllipseShape): _ogl.PyEllipseShape_swigregister(PyEllipseShapePtr) class PyCircleShape(PyEllipseShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyCircleShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2737,13 +2837,17 @@ class PyCircleShape(PyEllipseShape): return _ogl.PyCircleShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyCircleShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyCircleShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -2787,18 +2891,24 @@ class PyCircleShape(PyEllipseShape): return _ogl.PyCircleShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyCircleShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyCircleShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyCircleShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -2818,13 +2928,14 @@ class PyCircleShapePtr(PyCircleShape): _ogl.PyCircleShape_swigregister(PyCircleShapePtr) class ArrowHead(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxArrowHead instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(int type=0, int end=0, double size=0.0, double dist=0.0, - wxString name=wxPyEmptyString, PseudoMetaFile mf=None, - long arrowId=-1) -> ArrowHead""" + """ + __init__(int type=0, int end=0, double size=0.0, double dist=0.0, + wxString name=wxPyEmptyString, PseudoMetaFile mf=None, + long arrowId=-1) -> ArrowHead + """ newobj = _ogl.new_ArrowHead(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2908,7 +3019,6 @@ class ArrowHeadPtr(ArrowHead): _ogl.ArrowHead_swigregister(ArrowHeadPtr) class PyLineShape(PyShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyLineShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2924,9 +3034,11 @@ class PyLineShape(PyShape): return _ogl.PyLineShape__setCallbackInfo(*args, **kwargs) def AddArrow(*args, **kwargs): - """AddArrow(int type, int end=ARROW_POSITION_END, double arrowSize=10.0, - double xOffset=0.0, wxString name=wxPyEmptyString, - PseudoMetaFile mf=None, long arrowId=-1)""" + """ + AddArrow(int type, int end=ARROW_POSITION_END, double arrowSize=10.0, + double xOffset=0.0, wxString name=wxPyEmptyString, + PseudoMetaFile mf=None, long arrowId=-1) + """ return _ogl.PyLineShape_AddArrow(*args, **kwargs) def AddArrowOrdered(*args, **kwargs): @@ -3130,13 +3242,17 @@ class PyLineShape(PyShape): return _ogl.PyLineShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyLineShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyLineShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -3180,18 +3296,24 @@ class PyLineShape(PyShape): return _ogl.PyLineShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyLineShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyLineShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyLineShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -3211,7 +3333,6 @@ class PyLineShapePtr(PyLineShape): _ogl.PyLineShape_swigregister(PyLineShapePtr) class PyPolygonShape(PyShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPolygonShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3295,13 +3416,17 @@ class PyPolygonShape(PyShape): return _ogl.PyPolygonShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyPolygonShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyPolygonShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -3345,18 +3470,24 @@ class PyPolygonShape(PyShape): return _ogl.PyPolygonShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyPolygonShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyPolygonShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyPolygonShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -3376,7 +3507,6 @@ class PyPolygonShapePtr(PyPolygonShape): _ogl.PyPolygonShape_swigregister(PyPolygonShapePtr) class PyTextShape(PyRectangleShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTextShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3440,13 +3570,17 @@ class PyTextShape(PyRectangleShape): return _ogl.PyTextShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyTextShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyTextShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -3490,18 +3624,24 @@ class PyTextShape(PyRectangleShape): return _ogl.PyTextShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyTextShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyTextShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyTextShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -3521,7 +3661,6 @@ class PyTextShapePtr(PyTextShape): _ogl.PyTextShape_swigregister(PyTextShapePtr) class Diagram(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDiagram instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3635,13 +3774,14 @@ class DiagramPtr(Diagram): _ogl.Diagram_swigregister(DiagramPtr) class PyShapeCanvas(windows.ScrolledWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyShapeCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent=None, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=BORDER, - wxString name=wxPyShapeCanvasNameStr) -> PyShapeCanvas""" + """ + __init__(Window parent=None, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=BORDER, + wxString name=wxPyShapeCanvasNameStr) -> PyShapeCanvas + """ newobj = _ogl.new_PyShapeCanvas(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3659,8 +3799,10 @@ class PyShapeCanvas(windows.ScrolledWindow): return _ogl.PyShapeCanvas_AddShape(*args, **kwargs) def FindShape(*args, **kwargs): - """FindShape(double x1, double y, int OUTPUT, wxClassInfo info=None, - PyShape notImage=None) -> PyShape""" + """ + FindShape(double x1, double y, int OUTPUT, wxClassInfo info=None, + PyShape notImage=None) -> PyShape + """ return _ogl.PyShapeCanvas_FindShape(*args, **kwargs) def FindFirstSensitiveShape(*args, **kwargs): diff --git a/wxPython/contrib/ogl/mac/ogl_wrap.cpp b/wxPython/contrib/ogl/mac/ogl_wrap.cpp index c28d119273..5d48903c5d 100644 --- a/wxPython/contrib/ogl/mac/ogl_wrap.cpp +++ b/wxPython/contrib/ogl/mac/ogl_wrap.cpp @@ -5305,7 +5305,7 @@ static PyObject *_wrap_PyShape_GetRegionId(PyObject *self, PyObject *args, PyObj static PyObject *_wrap_PyShape_NameRegions(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxPyShape *arg1 = (wxPyShape *) 0 ; - wxString const &arg2_defvalue = "" ; + wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; bool temp2 = False ; PyObject * obj0 = 0 ; @@ -27155,9 +27155,6 @@ static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { static void *_p_wxKeyEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); } -static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); -} static void *_p_wxWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); } @@ -27167,6 +27164,9 @@ static void *_p_wxMenuTo_p_wxObject(void *x) { static void *_p_wxMenuBarTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); } +static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); +} static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); } diff --git a/wxPython/contrib/ogl/msw/ogl.py b/wxPython/contrib/ogl/msw/ogl.py index cd62438e2d..9c2d5d2129 100644 --- a/wxPython/contrib/ogl/msw/ogl.py +++ b/wxPython/contrib/ogl/msw/ogl.py @@ -9,7 +9,6 @@ wx = core #--------------------------------------------------------------------------- class ShapeRegion(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxShapeRegion instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -139,7 +138,6 @@ class ShapeRegionPtr(ShapeRegion): _ogl.ShapeRegion_swigregister(ShapeRegionPtr) class PyShapeEvtHandler(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyShapeEvtHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -231,13 +229,17 @@ class PyShapeEvtHandler(core.Object): return _ogl.PyShapeEvtHandler_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyShapeEvtHandler_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyShapeEvtHandler_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -281,18 +283,24 @@ class PyShapeEvtHandler(core.Object): return _ogl.PyShapeEvtHandler_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyShapeEvtHandler_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyShapeEvtHandler_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyShapeEvtHandler_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -312,7 +320,6 @@ class PyShapeEvtHandlerPtr(PyShapeEvtHandler): _ogl.PyShapeEvtHandler_swigregister(PyShapeEvtHandlerPtr) class PyShape(PyShapeEvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -336,8 +343,10 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_GetBoundingBoxMin(*args, **kwargs) def GetPerimeterPoint(*args, **kwargs): - """GetPerimeterPoint(double x1, double y1, double x2, double y2, double OUTPUT, - double OUTPUT) -> bool""" + """ + GetPerimeterPoint(double x1, double y1, double x2, double y2, double OUTPUT, + double OUTPUT) -> bool + """ return _ogl.PyShape_GetPerimeterPoint(*args, **kwargs) def GetCanvas(*args, **kwargs): @@ -625,8 +634,10 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_Constrain(*args, **kwargs) def AddLine(*args, **kwargs): - """AddLine(PyLineShape line, PyShape other, int attachFrom=0, - int attachTo=0, int positionFrom=-1, int positionTo=-1)""" + """ + AddLine(PyLineShape line, PyShape other, int attachFrom=0, + int attachTo=0, int positionFrom=-1, int positionTo=-1) + """ return _ogl.PyShape_AddLine(*args, **kwargs) def GetLinePosition(*args, **kwargs): @@ -730,8 +741,10 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_RemoveLine(*args, **kwargs) def GetAttachmentPosition(*args, **kwargs): - """GetAttachmentPosition(int attachment, double OUTPUT, double OUTPUT, int nth=0, - int no_arcs=1, PyLineShape line=None) -> bool""" + """ + GetAttachmentPosition(int attachment, double OUTPUT, double OUTPUT, int nth=0, + int no_arcs=1, PyLineShape line=None) -> bool + """ return _ogl.PyShape_GetAttachmentPosition(*args, **kwargs) def GetNumberOfAttachments(*args, **kwargs): @@ -743,13 +756,17 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_AttachmentIsValid(*args, **kwargs) def GetAttachmentPositionEdge(*args, **kwargs): - """GetAttachmentPositionEdge(int attachment, double OUTPUT, double OUTPUT, int nth=0, - int no_arcs=1, PyLineShape line=None) -> bool""" + """ + GetAttachmentPositionEdge(int attachment, double OUTPUT, double OUTPUT, int nth=0, + int no_arcs=1, PyLineShape line=None) -> bool + """ return _ogl.PyShape_GetAttachmentPositionEdge(*args, **kwargs) def CalcSimpleAttachment(*args, **kwargs): - """CalcSimpleAttachment(RealPoint pt1, RealPoint pt2, int nth, int noArcs, - PyLineShape line) -> RealPoint""" + """ + CalcSimpleAttachment(RealPoint pt1, RealPoint pt2, int nth, int noArcs, + PyLineShape line) -> RealPoint + """ return _ogl.PyShape_CalcSimpleAttachment(*args, **kwargs) def AttachmentSortTest(*args, **kwargs): @@ -777,8 +794,10 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_GetBranchingAttachmentRoot(*args, **kwargs) def GetBranchingAttachmentInfo(*args, **kwargs): - """GetBranchingAttachmentInfo(int attachment, RealPoint root, RealPoint neck, RealPoint shoulder1, - RealPoint shoulder2) -> bool""" + """ + GetBranchingAttachmentInfo(int attachment, RealPoint root, RealPoint neck, RealPoint shoulder1, + RealPoint shoulder2) -> bool + """ return _ogl.PyShape_GetBranchingAttachmentInfo(*args, **kwargs) def GetBranchingAttachmentPoint(*args, **kwargs): @@ -926,13 +945,17 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -976,18 +999,24 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -1009,7 +1038,6 @@ _ogl.PyShape_swigregister(PyShapePtr) oglMETAFLAGS_OUTLINE = _ogl.oglMETAFLAGS_OUTLINE oglMETAFLAGS_ATTACHMENTS = _ogl.oglMETAFLAGS_ATTACHMENTS class PseudoMetaFile(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPseudoMetaFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1189,7 +1217,6 @@ class PseudoMetaFilePtr(PseudoMetaFile): _ogl.PseudoMetaFile_swigregister(PseudoMetaFilePtr) class PyRectangleShape(PyShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyRectangleShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1257,13 +1284,17 @@ class PyRectangleShape(PyShape): return _ogl.PyRectangleShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyRectangleShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyRectangleShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -1307,18 +1338,24 @@ class PyRectangleShape(PyShape): return _ogl.PyRectangleShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyRectangleShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyRectangleShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyRectangleShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -1338,13 +1375,14 @@ class PyRectangleShapePtr(PyRectangleShape): _ogl.PyRectangleShape_swigregister(PyRectangleShapePtr) class PyControlPoint(PyRectangleShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyControlPoint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(PyShapeCanvas the_canvas=None, PyShape object=None, - double size=0.0, double the_xoffset=0.0, double the_yoffset=0.0, - int the_type=0) -> PyControlPoint""" + """ + __init__(PyShapeCanvas the_canvas=None, PyShape object=None, + double size=0.0, double the_xoffset=0.0, double the_yoffset=0.0, + int the_type=0) -> PyControlPoint + """ newobj = _ogl.new_PyControlPoint(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1408,13 +1446,17 @@ class PyControlPoint(PyRectangleShape): return _ogl.PyControlPoint_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyControlPoint_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyControlPoint_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -1458,18 +1500,24 @@ class PyControlPoint(PyRectangleShape): return _ogl.PyControlPoint_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyControlPoint_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyControlPoint_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyControlPoint_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -1489,7 +1537,6 @@ class PyControlPointPtr(PyControlPoint): _ogl.PyControlPoint_swigregister(PyControlPointPtr) class PyBitmapShape(PyRectangleShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyBitmapShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1569,13 +1616,17 @@ class PyBitmapShape(PyRectangleShape): return _ogl.PyBitmapShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyBitmapShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyBitmapShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -1619,18 +1670,24 @@ class PyBitmapShape(PyRectangleShape): return _ogl.PyBitmapShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyBitmapShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyBitmapShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyBitmapShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -1650,7 +1707,6 @@ class PyBitmapShapePtr(PyBitmapShape): _ogl.PyBitmapShape_swigregister(PyBitmapShapePtr) class PyDrawnShape(PyRectangleShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyDrawnShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1826,13 +1882,17 @@ class PyDrawnShape(PyRectangleShape): return _ogl.PyDrawnShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyDrawnShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyDrawnShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -1876,18 +1936,24 @@ class PyDrawnShape(PyRectangleShape): return _ogl.PyDrawnShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDrawnShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDrawnShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDrawnShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -1907,7 +1973,6 @@ class PyDrawnShapePtr(PyDrawnShape): _ogl.PyDrawnShape_swigregister(PyDrawnShapePtr) class OGLConstraint(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxOGLConstraint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1937,7 +2002,6 @@ class OGLConstraintPtr(OGLConstraint): _ogl.OGLConstraint_swigregister(OGLConstraintPtr) class PyCompositeShape(PyRectangleShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyCompositeShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2057,13 +2121,17 @@ class PyCompositeShape(PyRectangleShape): return _ogl.PyCompositeShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyCompositeShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyCompositeShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -2107,18 +2175,24 @@ class PyCompositeShape(PyRectangleShape): return _ogl.PyCompositeShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyCompositeShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyCompositeShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyCompositeShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -2138,7 +2212,6 @@ class PyCompositeShapePtr(PyCompositeShape): _ogl.PyCompositeShape_swigregister(PyCompositeShapePtr) class PyDividedShape(PyRectangleShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyDividedShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2210,13 +2283,17 @@ class PyDividedShape(PyRectangleShape): return _ogl.PyDividedShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyDividedShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyDividedShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -2260,18 +2337,24 @@ class PyDividedShape(PyRectangleShape): return _ogl.PyDividedShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDividedShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDividedShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDividedShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -2291,7 +2374,6 @@ class PyDividedShapePtr(PyDividedShape): _ogl.PyDividedShape_swigregister(PyDividedShapePtr) class PyDivisionShape(PyCompositeShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyDivisionShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2455,13 +2537,17 @@ class PyDivisionShape(PyCompositeShape): return _ogl.PyDivisionShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyDivisionShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyDivisionShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -2505,18 +2591,24 @@ class PyDivisionShape(PyCompositeShape): return _ogl.PyDivisionShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDivisionShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDivisionShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDivisionShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -2536,7 +2628,6 @@ class PyDivisionShapePtr(PyDivisionShape): _ogl.PyDivisionShape_swigregister(PyDivisionShapePtr) class PyEllipseShape(PyShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyEllipseShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2596,13 +2687,17 @@ class PyEllipseShape(PyShape): return _ogl.PyEllipseShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyEllipseShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyEllipseShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -2646,18 +2741,24 @@ class PyEllipseShape(PyShape): return _ogl.PyEllipseShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyEllipseShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyEllipseShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyEllipseShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -2677,7 +2778,6 @@ class PyEllipseShapePtr(PyEllipseShape): _ogl.PyEllipseShape_swigregister(PyEllipseShapePtr) class PyCircleShape(PyEllipseShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyCircleShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2737,13 +2837,17 @@ class PyCircleShape(PyEllipseShape): return _ogl.PyCircleShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyCircleShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyCircleShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -2787,18 +2891,24 @@ class PyCircleShape(PyEllipseShape): return _ogl.PyCircleShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyCircleShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyCircleShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyCircleShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -2818,13 +2928,14 @@ class PyCircleShapePtr(PyCircleShape): _ogl.PyCircleShape_swigregister(PyCircleShapePtr) class ArrowHead(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxArrowHead instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(int type=0, int end=0, double size=0.0, double dist=0.0, - wxString name=wxPyEmptyString, PseudoMetaFile mf=None, - long arrowId=-1) -> ArrowHead""" + """ + __init__(int type=0, int end=0, double size=0.0, double dist=0.0, + wxString name=wxPyEmptyString, PseudoMetaFile mf=None, + long arrowId=-1) -> ArrowHead + """ newobj = _ogl.new_ArrowHead(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2908,7 +3019,6 @@ class ArrowHeadPtr(ArrowHead): _ogl.ArrowHead_swigregister(ArrowHeadPtr) class PyLineShape(PyShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyLineShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2924,9 +3034,11 @@ class PyLineShape(PyShape): return _ogl.PyLineShape__setCallbackInfo(*args, **kwargs) def AddArrow(*args, **kwargs): - """AddArrow(int type, int end=ARROW_POSITION_END, double arrowSize=10.0, - double xOffset=0.0, wxString name=wxPyEmptyString, - PseudoMetaFile mf=None, long arrowId=-1)""" + """ + AddArrow(int type, int end=ARROW_POSITION_END, double arrowSize=10.0, + double xOffset=0.0, wxString name=wxPyEmptyString, + PseudoMetaFile mf=None, long arrowId=-1) + """ return _ogl.PyLineShape_AddArrow(*args, **kwargs) def AddArrowOrdered(*args, **kwargs): @@ -3130,13 +3242,17 @@ class PyLineShape(PyShape): return _ogl.PyLineShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyLineShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyLineShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -3180,18 +3296,24 @@ class PyLineShape(PyShape): return _ogl.PyLineShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyLineShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyLineShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyLineShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -3211,7 +3333,6 @@ class PyLineShapePtr(PyLineShape): _ogl.PyLineShape_swigregister(PyLineShapePtr) class PyPolygonShape(PyShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPolygonShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3295,13 +3416,17 @@ class PyPolygonShape(PyShape): return _ogl.PyPolygonShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyPolygonShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyPolygonShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -3345,18 +3470,24 @@ class PyPolygonShape(PyShape): return _ogl.PyPolygonShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyPolygonShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyPolygonShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyPolygonShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -3376,7 +3507,6 @@ class PyPolygonShapePtr(PyPolygonShape): _ogl.PyPolygonShape_swigregister(PyPolygonShapePtr) class PyTextShape(PyRectangleShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTextShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3440,13 +3570,17 @@ class PyTextShape(PyRectangleShape): return _ogl.PyTextShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyTextShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyTextShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -3490,18 +3624,24 @@ class PyTextShape(PyRectangleShape): return _ogl.PyTextShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyTextShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyTextShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyTextShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -3521,7 +3661,6 @@ class PyTextShapePtr(PyTextShape): _ogl.PyTextShape_swigregister(PyTextShapePtr) class Diagram(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDiagram instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3635,13 +3774,14 @@ class DiagramPtr(Diagram): _ogl.Diagram_swigregister(DiagramPtr) class PyShapeCanvas(windows.ScrolledWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyShapeCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent=None, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=BORDER, - wxString name=wxPyShapeCanvasNameStr) -> PyShapeCanvas""" + """ + __init__(Window parent=None, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=BORDER, + wxString name=wxPyShapeCanvasNameStr) -> PyShapeCanvas + """ newobj = _ogl.new_PyShapeCanvas(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3659,8 +3799,10 @@ class PyShapeCanvas(windows.ScrolledWindow): return _ogl.PyShapeCanvas_AddShape(*args, **kwargs) def FindShape(*args, **kwargs): - """FindShape(double x1, double y, int OUTPUT, wxClassInfo info=None, - PyShape notImage=None) -> PyShape""" + """ + FindShape(double x1, double y, int OUTPUT, wxClassInfo info=None, + PyShape notImage=None) -> PyShape + """ return _ogl.PyShapeCanvas_FindShape(*args, **kwargs) def FindFirstSensitiveShape(*args, **kwargs): diff --git a/wxPython/contrib/ogl/msw/ogl_wrap.cpp b/wxPython/contrib/ogl/msw/ogl_wrap.cpp index d6f14669a0..ffe4f8a5de 100644 --- a/wxPython/contrib/ogl/msw/ogl_wrap.cpp +++ b/wxPython/contrib/ogl/msw/ogl_wrap.cpp @@ -27155,9 +27155,6 @@ static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { static void *_p_wxKeyEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); } -static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); -} static void *_p_wxWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); } @@ -27167,6 +27164,9 @@ static void *_p_wxMenuTo_p_wxObject(void *x) { static void *_p_wxMenuBarTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); } +static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); +} static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); } diff --git a/wxPython/src/mac/calendar.py b/wxPython/src/mac/calendar.py index e027f1cd59..8c64bf55b4 100644 --- a/wxPython/src/mac/calendar.py +++ b/wxPython/src/mac/calendar.py @@ -23,13 +23,14 @@ 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""" + """ + __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 @@ -117,7 +118,6 @@ def CalendarDateAttrBorder(*args, **kwargs): 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): @@ -156,14 +156,15 @@ 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""" + """ + __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 @@ -171,10 +172,12 @@ class CalendarCtrl(core.Control): self._setOORInfo(self) 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""" + """ + 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): diff --git a/wxPython/src/mac/calendar_wrap.cpp b/wxPython/src/mac/calendar_wrap.cpp index d5287c26e2..d382274422 100644 --- a/wxPython/src/mac/calendar_wrap.cpp +++ b/wxPython/src/mac/calendar_wrap.cpp @@ -2135,6 +2135,9 @@ static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxEvtHandler *) x)); } +static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxAcceleratorTable *) x)); +} static void *_p_wxImageTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxImage *) x)); } @@ -2419,7 +2422,7 @@ static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { } static swig_type_info _swigt__p_wxDateTime__WeekDay[] = {{"_p_wxDateTime__WeekDay", 0, "wxDateTime::WeekDay *", 0},{"_p_wxDateTime__WeekDay"},{0}}; static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}}; static swig_type_info _swigt__p_wxCalendarEvent[] = {{"_p_wxCalendarEvent", 0, "wxCalendarEvent *", 0},{"_p_wxCalendarEvent"},{0}}; static swig_type_info _swigt__p_wxCalendarDateAttr[] = {{"_p_wxCalendarDateAttr", 0, "wxCalendarDateAttr *", 0},{"_p_wxCalendarDateAttr"},{0}}; static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxWindow},{0}}; diff --git a/wxPython/src/mac/controls.py b/wxPython/src/mac/controls.py index 99f97cd3fd..0a8fb3b507 100644 --- a/wxPython/src/mac/controls.py +++ b/wxPython/src/mac/controls.py @@ -14,14 +14,22 @@ BU_BOTTOM = _controls.BU_BOTTOM BU_EXACTFIT = _controls.BU_EXACTFIT BU_AUTODRAW = _controls.BU_AUTODRAW class Button(core.Control): - """""" + """ + A button is a control that contains a text string, and is one of the most + common elements of a GUI. It may be placed on a dialog box or panel, or + indeed almost any other window. + """ def __repr__(self): return "<%s.%s; proxy of C++ wxButton 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=0, - Validator validator=DefaultValidator, - wxString name=wxPyButtonNameStr) -> Button""" + """ + __init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyButtonNameStr) -> Button + + Create and show a button. + """ newobj = _controls.new_Button(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -29,14 +37,22 @@ class Button(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - Validator validator=DefaultValidator, - wxString name=wxPyButtonNameStr) -> bool""" + """ + Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyButtonNameStr) -> bool + + Acutally create the GUI Button for 2-phase creation. + """ return _controls.Button_Create(*args, **kwargs) def SetDefault(*args, **kwargs): - """SetDefault()""" + """ + SetDefault() + + This sets the button to be the default item for the panel or dialog box. + """ return _controls.Button_SetDefault(*args, **kwargs) def GetDefaultSize(*args, **kwargs): @@ -53,7 +69,11 @@ class ButtonPtr(Button): _controls.Button_swigregister(ButtonPtr) def PreButton(*args, **kwargs): - """PreButton() -> Button""" + """ + PreButton() -> Button + + Precreate a Button for 2-phase creation. + """ val = _controls.new_PreButton(*args, **kwargs) val.thisown = 1 return val @@ -63,14 +83,18 @@ def Button_GetDefaultSize(*args, **kwargs): return _controls.Button_GetDefaultSize(*args, **kwargs) class BitmapButton(Button): - """""" + """A Buttont that contains a bitmap.""" def __repr__(self): return "<%s.%s; proxy of C++ wxBitmapButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, - Size size=DefaultSize, long style=BU_AUTODRAW, - Validator validator=DefaultValidator, - wxString name=wxPyButtonNameStr) -> BitmapButton""" + """ + __init__(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, + Size size=DefaultSize, long style=BU_AUTODRAW, + Validator validator=DefaultValidator, + wxString name=wxPyButtonNameStr) -> BitmapButton + + Create and show a button. + """ newobj = _controls.new_BitmapButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -78,42 +102,79 @@ class BitmapButton(Button): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, - Size size=DefaultSize, long style=BU_AUTODRAW, - Validator validator=DefaultValidator, - wxString name=wxPyButtonNameStr) -> bool""" + """ + Create(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, + Size size=DefaultSize, long style=BU_AUTODRAW, + Validator validator=DefaultValidator, + wxString name=wxPyButtonNameStr) -> bool + + Acutally create the GUI BitmapButton for 2-phase creation. + """ return _controls.BitmapButton_Create(*args, **kwargs) def GetBitmapLabel(*args, **kwargs): - """GetBitmapLabel() -> wxBitmap""" + """ + GetBitmapLabel() -> wxBitmap + + Returns the label bitmap (the one passed to the constructor). + """ return _controls.BitmapButton_GetBitmapLabel(*args, **kwargs) def GetBitmapDisabled(*args, **kwargs): - """GetBitmapDisabled() -> wxBitmap""" + """ + GetBitmapDisabled() -> wxBitmap + + Returns the bitmap for the disabled state. + """ return _controls.BitmapButton_GetBitmapDisabled(*args, **kwargs) def GetBitmapFocus(*args, **kwargs): - """GetBitmapFocus() -> wxBitmap""" + """ + GetBitmapFocus() -> wxBitmap + + Returns the bitmap for the focused state. + """ return _controls.BitmapButton_GetBitmapFocus(*args, **kwargs) def GetBitmapSelected(*args, **kwargs): - """GetBitmapSelected() -> wxBitmap""" + """ + GetBitmapSelected() -> wxBitmap + + Returns the bitmap for the selected state. + """ return _controls.BitmapButton_GetBitmapSelected(*args, **kwargs) def SetBitmapDisabled(*args, **kwargs): - """SetBitmapDisabled(wxBitmap bitmap)""" + """ + SetBitmapDisabled(wxBitmap bitmap) + + Sets the bitmap for the disabled button appearance. + """ return _controls.BitmapButton_SetBitmapDisabled(*args, **kwargs) def SetBitmapFocus(*args, **kwargs): - """SetBitmapFocus(wxBitmap bitmap)""" + """ + SetBitmapFocus(wxBitmap bitmap) + + Sets the bitmap for the button appearance when it has the keyboard focus. + """ return _controls.BitmapButton_SetBitmapFocus(*args, **kwargs) def SetBitmapSelected(*args, **kwargs): - """SetBitmapSelected(wxBitmap bitmap)""" + """ + SetBitmapSelected(wxBitmap bitmap) + + Sets the bitmap for the selected (depressed) button appearance. + """ return _controls.BitmapButton_SetBitmapSelected(*args, **kwargs) def SetBitmapLabel(*args, **kwargs): - """SetBitmapLabel(wxBitmap bitmap)""" + """ + SetBitmapLabel(wxBitmap bitmap) + + Sets the bitmap label for the button. This is the bitmap used for the + unselected state, and for all other states if no other bitmaps are provided. + """ return _controls.BitmapButton_SetBitmapLabel(*args, **kwargs) def SetMargins(*args, **kwargs): @@ -137,7 +198,11 @@ class BitmapButtonPtr(BitmapButton): _controls.BitmapButton_swigregister(BitmapButtonPtr) def PreBitmapButton(*args, **kwargs): - """PreBitmapButton() -> BitmapButton""" + """ + PreBitmapButton() -> BitmapButton + + Precreate a BitmapButton for 2-phase creation. + """ val = _controls.new_PreBitmapButton(*args, **kwargs) val.thisown = 1 return val @@ -151,14 +216,15 @@ CHK_UNCHECKED = _controls.CHK_UNCHECKED CHK_CHECKED = _controls.CHK_CHECKED CHK_UNDETERMINED = _controls.CHK_UNDETERMINED class CheckBox(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCheckBox 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=0, - Validator validator=DefaultValidator, - wxString name=wxPyCheckBoxNameStr) -> CheckBox""" + """ + __init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyCheckBoxNameStr) -> CheckBox + """ newobj = _controls.new_CheckBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -166,10 +232,12 @@ class CheckBox(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - Validator validator=DefaultValidator, - wxString name=wxPyCheckBoxNameStr) -> bool""" + """ + Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyCheckBoxNameStr) -> bool + """ return _controls.CheckBox_Create(*args, **kwargs) def GetValue(*args, **kwargs): @@ -217,14 +285,15 @@ def PreCheckBox(*args, **kwargs): #--------------------------------------------------------------------------- class Choice(core.ControlWithItems): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxChoice 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, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyChoiceNameStr) -> Choice""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyChoiceNameStr) -> Choice + """ newobj = _controls.new_Choice(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -232,10 +301,12 @@ class Choice(core.ControlWithItems): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyChoiceNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyChoiceNameStr) -> bool + """ return _controls.Choice_Create(*args, **kwargs) def GetColumns(*args, **kwargs): @@ -275,15 +346,16 @@ def PreChoice(*args, **kwargs): #--------------------------------------------------------------------------- class ComboBox(core.Control,core.ItemContainer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxComboBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString value=wxPyEmptyString, - Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyComboBoxNameStr) -> ComboBox""" + """ + __init__(Window parent, int id, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyComboBoxNameStr) -> ComboBox + """ newobj = _controls.new_ComboBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -291,11 +363,13 @@ class ComboBox(core.Control,core.ItemContainer): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString value=wxPyEmptyString, - Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyComboBoxNameStr) -> bool""" + """ + Create(Window parent, int id, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyComboBoxNameStr) -> bool + """ return _controls.ComboBox_Create(*args, **kwargs) def GetValue(*args, **kwargs): @@ -375,14 +449,15 @@ GA_VERTICAL = _controls.GA_VERTICAL GA_SMOOTH = _controls.GA_SMOOTH GA_PROGRESSBAR = _controls.GA_PROGRESSBAR class Gauge(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGauge instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, int range, Point pos=DefaultPosition, - Size size=DefaultSize, long style=GA_HORIZONTAL, - Validator validator=DefaultValidator, - wxString name=wxPyGaugeNameStr) -> Gauge""" + """ + __init__(Window parent, int id, int range, Point pos=DefaultPosition, + Size size=DefaultSize, long style=GA_HORIZONTAL, + Validator validator=DefaultValidator, + wxString name=wxPyGaugeNameStr) -> Gauge + """ newobj = _controls.new_Gauge(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -390,10 +465,12 @@ class Gauge(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, int range, Point pos=DefaultPosition, - Size size=DefaultSize, long style=GA_HORIZONTAL, - Validator validator=DefaultValidator, - wxString name=wxPyGaugeNameStr) -> bool""" + """ + Create(Window parent, int id, int range, Point pos=DefaultPosition, + Size size=DefaultSize, long style=GA_HORIZONTAL, + Validator validator=DefaultValidator, + wxString name=wxPyGaugeNameStr) -> bool + """ return _controls.Gauge_Create(*args, **kwargs) def SetRange(*args, **kwargs): @@ -449,13 +526,14 @@ def PreGauge(*args, **kwargs): #--------------------------------------------------------------------------- class StaticBox(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStaticBox 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=0, - wxString name=wxPyStaticBoxNameStr) -> StaticBox""" + """ + __init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticBoxNameStr) -> StaticBox + """ newobj = _controls.new_StaticBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -463,9 +541,11 @@ class StaticBox(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - wxString name=wxPyStaticBoxNameStr) -> bool""" + """ + Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticBoxNameStr) -> bool + """ return _controls.StaticBox_Create(*args, **kwargs) @@ -485,13 +565,14 @@ def PreStaticBox(*args, **kwargs): #--------------------------------------------------------------------------- class StaticLine(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStaticLine 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=LI_HORIZONTAL, - wxString name=wxPyStaticTextNameStr) -> StaticLine""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=LI_HORIZONTAL, + wxString name=wxPyStaticTextNameStr) -> StaticLine + """ newobj = _controls.new_StaticLine(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -499,9 +580,11 @@ class StaticLine(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=LI_HORIZONTAL, - wxString name=wxPyStaticTextNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=LI_HORIZONTAL, + wxString name=wxPyStaticTextNameStr) -> bool + """ return _controls.StaticLine_Create(*args, **kwargs) def IsVertical(*args, **kwargs): @@ -534,13 +617,14 @@ def StaticLine_GetDefaultSize(*args, **kwargs): #--------------------------------------------------------------------------- class StaticText(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStaticText 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=0, - wxString name=wxPyStaticTextNameStr) -> StaticText""" + """ + __init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticTextNameStr) -> StaticText + """ newobj = _controls.new_StaticText(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -548,9 +632,11 @@ class StaticText(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - wxString name=wxPyStaticTextNameStr) -> bool""" + """ + Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticTextNameStr) -> bool + """ return _controls.StaticText_Create(*args, **kwargs) @@ -570,21 +656,24 @@ def PreStaticText(*args, **kwargs): #--------------------------------------------------------------------------- class StaticBitmap(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStaticBitmap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - wxString name=wxPyStaticBitmapNameStr) -> StaticBitmap""" + """ + __init__(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticBitmapNameStr) -> StaticBitmap + """ newobj = _controls.new_StaticBitmap(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def Create(*args, **kwargs): - """Create(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - wxString name=wxPyStaticBitmapNameStr) -> bool""" + """ + Create(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticBitmapNameStr) -> bool + """ return _controls.StaticBitmap_Create(*args, **kwargs) def GetBitmap(*args, **kwargs): @@ -616,14 +705,15 @@ def PreStaticBitmap(*args, **kwargs): #--------------------------------------------------------------------------- class ListBox(core.ControlWithItems): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxListBox 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, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyListBoxNameStr) -> ListBox""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyListBoxNameStr) -> ListBox + """ newobj = _controls.new_ListBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -631,10 +721,12 @@ class ListBox(core.ControlWithItems): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyListBoxNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyListBoxNameStr) -> bool + """ return _controls.ListBox_Create(*args, **kwargs) def Insert(*args, **kwargs): @@ -714,23 +806,26 @@ def PreListBox(*args, **kwargs): #--------------------------------------------------------------------------- class CheckListBox(ListBox): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCheckListBox 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, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyListBoxNameStr) -> CheckListBox""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyListBoxNameStr) -> CheckListBox + """ newobj = _controls.new_CheckListBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyListBoxNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyListBoxNameStr) -> bool + """ return _controls.CheckListBox_Create(*args, **kwargs) def IsChecked(*args, **kwargs): @@ -802,13 +897,14 @@ TEXT_ATTR_LEFT_INDENT = _controls.TEXT_ATTR_LEFT_INDENT TEXT_ATTR_RIGHT_INDENT = _controls.TEXT_ATTR_RIGHT_INDENT TEXT_ATTR_TABS = _controls.TEXT_ATTR_TABS class TextAttr(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTextAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args): - """__init__() -> TextAttr -__init__(wxColour colText, wxColour colBack=wxNullColour, wxFont font=wxNullFont, - wxTextAttrAlignment alignment=TEXT_ALIGNMENT_DEFAULT) -> TextAttr""" + """ + __init__() -> TextAttr + __init__(wxColour colText, wxColour colBack=wxNullColour, wxFont font=wxNullFont, + wxTextAttrAlignment alignment=TEXT_ALIGNMENT_DEFAULT) -> TextAttr + """ newobj = _controls.new_TextAttr(*args) self.this = newobj.this self.thisown = 1 @@ -935,14 +1031,15 @@ def TextAttr_Combine(*args, **kwargs): return _controls.TextAttr_Combine(*args, **kwargs) class TextCtrl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString value=wxPyEmptyString, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyTextCtrlNameStr) -> TextCtrl""" + """ + __init__(Window parent, int id, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyTextCtrlNameStr) -> TextCtrl + """ newobj = _controls.new_TextCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -950,10 +1047,12 @@ class TextCtrl(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString value=wxPyEmptyString, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyTextCtrlNameStr) -> bool""" + """ + Create(Window parent, int id, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyTextCtrlNameStr) -> bool + """ return _controls.TextCtrl_Create(*args, **kwargs) def GetValue(*args, **kwargs): @@ -997,9 +1096,11 @@ class TextCtrl(core.Control): return _controls.TextCtrl_IsMultiLine(*args, **kwargs) def GetSelection(*args, **kwargs): - """GetSelection() -> (from, to) + """ + GetSelection() -> (from, to) -If the return values from and to are the same, there is no selection.""" + If the return values from and to are the same, there is no selection. + """ return _controls.TextCtrl_GetSelection(*args, **kwargs) def GetStringSelection(*args, **kwargs): @@ -1173,7 +1274,6 @@ wxEVT_COMMAND_TEXT_ENTER = _controls.wxEVT_COMMAND_TEXT_ENTER wxEVT_COMMAND_TEXT_URL = _controls.wxEVT_COMMAND_TEXT_URL wxEVT_COMMAND_TEXT_MAXLEN = _controls.wxEVT_COMMAND_TEXT_MAXLEN class TextUrlEvent(core.CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTextUrlEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1210,13 +1310,14 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1) #--------------------------------------------------------------------------- class ScrollBar(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxScrollBar 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=SB_HORIZONTAL, - Validator validator=DefaultValidator, wxString name=wxPyScrollBarNameStr) -> ScrollBar""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SB_HORIZONTAL, + Validator validator=DefaultValidator, wxString name=wxPyScrollBarNameStr) -> ScrollBar + """ newobj = _controls.new_ScrollBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1224,9 +1325,11 @@ class ScrollBar(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=SB_HORIZONTAL, - Validator validator=DefaultValidator, wxString name=wxPyScrollBarNameStr) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SB_HORIZONTAL, + Validator validator=DefaultValidator, wxString name=wxPyScrollBarNameStr) -> bool + """ return _controls.ScrollBar_Create(*args, **kwargs) def GetThumbPosition(*args, **kwargs): @@ -1255,8 +1358,10 @@ class ScrollBar(core.Control): return _controls.ScrollBar_SetThumbPosition(*args, **kwargs) def SetScrollbar(*args, **kwargs): - """SetScrollbar(int position, int thumbSize, int range, int pageSize, - bool refresh=True)""" + """ + SetScrollbar(int position, int thumbSize, int range, int pageSize, + bool refresh=True) + """ return _controls.ScrollBar_SetScrollbar(*args, **kwargs) @@ -1280,13 +1385,14 @@ SP_VERTICAL = _controls.SP_VERTICAL SP_ARROW_KEYS = _controls.SP_ARROW_KEYS SP_WRAP = _controls.SP_WRAP class SpinButton(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSpinButton 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=SP_HORIZONTAL, - wxString name=wxPySPIN_BUTTON_NAME) -> SpinButton""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SP_HORIZONTAL, + wxString name=wxPySPIN_BUTTON_NAME) -> SpinButton + """ newobj = _controls.new_SpinButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1294,9 +1400,11 @@ class SpinButton(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=SP_HORIZONTAL, - wxString name=wxPySPIN_BUTTON_NAME) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SP_HORIZONTAL, + wxString name=wxPySPIN_BUTTON_NAME) -> bool + """ return _controls.SpinButton_Create(*args, **kwargs) def GetValue(*args, **kwargs): @@ -1346,14 +1454,15 @@ def PreSpinButton(*args, **kwargs): return val class SpinCtrl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSpinCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=-1, wxString value=wxPyEmptyString, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=SP_ARROW_KEYS, int min=0, - int max=100, int initial=0, wxString name=wxPySpinCtrlNameStr) -> SpinCtrl""" + """ + __init__(Window parent, int id=-1, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=SP_ARROW_KEYS, int min=0, + int max=100, int initial=0, wxString name=wxPySpinCtrlNameStr) -> SpinCtrl + """ newobj = _controls.new_SpinCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1361,10 +1470,12 @@ class SpinCtrl(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, wxString value=wxPyEmptyString, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=SP_ARROW_KEYS, int min=0, - int max=100, int initial=0, wxString name=wxPySpinCtrlNameStr) -> bool""" + """ + Create(Window parent, int id=-1, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=SP_ARROW_KEYS, int min=0, + int max=100, int initial=0, wxString name=wxPySpinCtrlNameStr) -> bool + """ return _controls.SpinCtrl_Create(*args, **kwargs) def GetValue(*args, **kwargs): @@ -1415,15 +1526,16 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) #--------------------------------------------------------------------------- class RadioBox(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxRadioBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString label, Point point=DefaultPosition, - Size size=DefaultSize, int choices=0, - wxString choices_array=None, int majorDimension=0, - long style=RA_HORIZONTAL, Validator validator=DefaultValidator, - wxString name=wxPyRadioBoxNameStr) -> RadioBox""" + """ + __init__(Window parent, int id, wxString label, Point point=DefaultPosition, + Size size=DefaultSize, int choices=0, + wxString choices_array=None, int majorDimension=0, + long style=RA_HORIZONTAL, Validator validator=DefaultValidator, + wxString name=wxPyRadioBoxNameStr) -> RadioBox + """ newobj = _controls.new_RadioBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1431,11 +1543,13 @@ class RadioBox(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString label, Point point=DefaultPosition, - Size size=DefaultSize, int choices=0, - wxString choices_array=None, int majorDimension=0, - long style=RA_HORIZONTAL, Validator validator=DefaultValidator, - wxString name=wxPyRadioBoxNameStr) -> bool""" + """ + Create(Window parent, int id, wxString label, Point point=DefaultPosition, + Size size=DefaultSize, int choices=0, + wxString choices_array=None, int majorDimension=0, + long style=RA_HORIZONTAL, Validator validator=DefaultValidator, + wxString name=wxPyRadioBoxNameStr) -> bool + """ return _controls.RadioBox_Create(*args, **kwargs) def SetSelection(*args, **kwargs): @@ -1509,14 +1623,15 @@ def PreRadioBox(*args, **kwargs): #--------------------------------------------------------------------------- class RadioButton(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxRadioButton 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=0, - Validator validator=DefaultValidator, - wxString name=wxPyRadioButtonNameStr) -> RadioButton""" + """ + __init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyRadioButtonNameStr) -> RadioButton + """ newobj = _controls.new_RadioButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1524,10 +1639,12 @@ class RadioButton(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - Validator validator=DefaultValidator, - wxString name=wxPyRadioButtonNameStr) -> bool""" + """ + Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyRadioButtonNameStr) -> bool + """ return _controls.RadioButton_Create(*args, **kwargs) def GetValue(*args, **kwargs): @@ -1555,14 +1672,15 @@ def PreRadioButton(*args, **kwargs): #--------------------------------------------------------------------------- class Slider(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSlider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, int value, int minValue, int maxValue, - Point point=DefaultPosition, Size size=DefaultSize, - long style=SL_HORIZONTAL, Validator validator=DefaultValidator, - wxString name=wxPySliderNameStr) -> Slider""" + """ + __init__(Window parent, int id, int value, int minValue, int maxValue, + Point point=DefaultPosition, Size size=DefaultSize, + long style=SL_HORIZONTAL, Validator validator=DefaultValidator, + wxString name=wxPySliderNameStr) -> Slider + """ newobj = _controls.new_Slider(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1570,10 +1688,12 @@ class Slider(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, int value, int minValue, int maxValue, - Point point=DefaultPosition, Size size=DefaultSize, - long style=SL_HORIZONTAL, Validator validator=DefaultValidator, - wxString name=wxPySliderNameStr) -> bool""" + """ + Create(Window parent, int id, int value, int minValue, int maxValue, + Point point=DefaultPosition, Size size=DefaultSize, + long style=SL_HORIZONTAL, Validator validator=DefaultValidator, + wxString name=wxPySliderNameStr) -> bool + """ return _controls.Slider_Create(*args, **kwargs) def GetValue(*args, **kwargs): @@ -1680,14 +1800,15 @@ wxEVT_COMMAND_TOGGLEBUTTON_CLICKED = _controls.wxEVT_COMMAND_TOGGLEBUTTON_CLICKE EVT_TOGGLEBUTTON = wx.PyEventBinder( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 1) class ToggleButton(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxToggleButton 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=0, - Validator validator=DefaultValidator, - wxString name=wxPyToggleButtonNameStr) -> ToggleButton""" + """ + __init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyToggleButtonNameStr) -> ToggleButton + """ newobj = _controls.new_ToggleButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1711,7 +1832,6 @@ def PreToggleButton(*args, **kwargs): #--------------------------------------------------------------------------- class BookCtrl(core.Control): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxBookCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1782,8 +1902,10 @@ class BookCtrl(core.Control): return _controls.BookCtrl_AddPage(*args, **kwargs) def InsertPage(*args, **kwargs): - """InsertPage(size_t n, Window page, wxString text, bool select=False, - int imageId=-1) -> bool""" + """ + InsertPage(size_t n, Window page, wxString text, bool select=False, + int imageId=-1) -> bool + """ return _controls.BookCtrl_InsertPage(*args, **kwargs) def SetSelection(*args, **kwargs): @@ -1803,12 +1925,13 @@ class BookCtrlPtr(BookCtrl): _controls.BookCtrl_swigregister(BookCtrlPtr) class BookCtrlEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBookCtrlEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, - int nOldSel=-1) -> BookCtrlEvent""" + """ + __init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, + int nOldSel=-1) -> BookCtrlEvent + """ newobj = _controls.new_BookCtrlEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1850,12 +1973,13 @@ NB_HITTEST_ONICON = _controls.NB_HITTEST_ONICON NB_HITTEST_ONLABEL = _controls.NB_HITTEST_ONLABEL NB_HITTEST_ONITEM = _controls.NB_HITTEST_ONITEM class Notebook(BookCtrl): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNotebook 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=0, wxString name=wxPyNOTEBOOK_NAME) -> Notebook""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxPyNOTEBOOK_NAME) -> Notebook + """ newobj = _controls.new_Notebook(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1863,8 +1987,10 @@ class Notebook(BookCtrl): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, wxString name=wxPyNOTEBOOK_NAME) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxPyNOTEBOOK_NAME) -> bool + """ return _controls.Notebook_Create(*args, **kwargs) def GetRowCount(*args, **kwargs): @@ -1880,9 +2006,11 @@ class Notebook(BookCtrl): return _controls.Notebook_SetTabSize(*args, **kwargs) def HitTest(*args, **kwargs): - """HitTest(Point pt) -> (tab, where) + """ + HitTest(Point pt) -> (tab, where) -Returns the tab which is hit, and flags indicating where using wxNB_HITTEST_ flags.""" + Returns the tab which is hit, and flags indicating where using wxNB_HITTEST_ flags. + """ return _controls.Notebook_HitTest(*args, **kwargs) def CalcSizeFromPage(*args, **kwargs): @@ -1904,12 +2032,13 @@ def PreNotebook(*args, **kwargs): return val class NotebookEvent(BookCtrlEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNotebookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, - int nOldSel=-1) -> NotebookEvent""" + """ + __init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, + int nOldSel=-1) -> NotebookEvent + """ newobj = _controls.new_NotebookEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1967,12 +2096,13 @@ LB_LEFT = _controls.LB_LEFT LB_RIGHT = _controls.LB_RIGHT LB_ALIGN_MASK = _controls.LB_ALIGN_MASK class Listbook(BookCtrl): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxListbook 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=0, wxString name=wxPyEmptyString) -> Listbook""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxPyEmptyString) -> Listbook + """ newobj = _controls.new_Listbook(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1980,8 +2110,10 @@ class Listbook(BookCtrl): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, wxString name=wxPyEmptyString) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxPyEmptyString) -> bool + """ return _controls.Listbook_Create(*args, **kwargs) def IsVertical(*args, **kwargs): @@ -2003,12 +2135,13 @@ def PreListbook(*args, **kwargs): return val class ListbookEvent(BookCtrlEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxListbookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, - int nOldSel=-1) -> ListbookEvent""" + """ + __init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, + int nOldSel=-1) -> ListbookEvent + """ newobj = _controls.new_ListbookEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2029,7 +2162,6 @@ EVT_LISTBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANG #--------------------------------------------------------------------------- class BookCtrlSizer(core.Sizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBookCtrlSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2061,7 +2193,6 @@ class BookCtrlSizerPtr(BookCtrlSizer): _controls.BookCtrlSizer_swigregister(BookCtrlSizerPtr) class NotebookSizer(core.Sizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNotebookSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2109,7 +2240,6 @@ TB_NOALIGN = _controls.TB_NOALIGN TB_HORZ_LAYOUT = _controls.TB_HORZ_LAYOUT TB_HORZ_TEXT = _controls.TB_HORZ_TEXT class ToolBarToolBase(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxToolBarToolBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -2243,23 +2373,26 @@ class ToolBarToolBasePtr(ToolBarToolBase): _controls.ToolBarToolBase_swigregister(ToolBarToolBasePtr) class ToolBarBase(core.Control): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxToolBarBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def DoAddTool(*args, **kwargs): - """DoAddTool(int id, wxString label, wxBitmap bitmap, wxBitmap bmpDisabled=wxNullBitmap, - wxItemKind kind=ITEM_NORMAL, - wxString shortHelp=wxPyEmptyString, - wxString longHelp=wxPyEmptyString, PyObject clientData=None) -> ToolBarToolBase""" + """ + DoAddTool(int id, wxString label, wxBitmap bitmap, wxBitmap bmpDisabled=wxNullBitmap, + wxItemKind kind=ITEM_NORMAL, + wxString shortHelp=wxPyEmptyString, + wxString longHelp=wxPyEmptyString, PyObject clientData=None) -> ToolBarToolBase + """ return _controls.ToolBarBase_DoAddTool(*args, **kwargs) def DoInsertTool(*args, **kwargs): - """DoInsertTool(size_t pos, int id, wxString label, wxBitmap bitmap, - wxBitmap bmpDisabled=wxNullBitmap, wxItemKind kind=ITEM_NORMAL, - wxString shortHelp=wxPyEmptyString, - wxString longHelp=wxPyEmptyString, - PyObject clientData=None) -> ToolBarToolBase""" + """ + DoInsertTool(size_t pos, int id, wxString label, wxBitmap bitmap, + wxBitmap bmpDisabled=wxNullBitmap, wxItemKind kind=ITEM_NORMAL, + wxString shortHelp=wxPyEmptyString, + wxString longHelp=wxPyEmptyString, + PyObject clientData=None) -> ToolBarToolBase + """ return _controls.ToolBarBase_DoInsertTool(*args, **kwargs) # These match the original Add methods for this class, kept for @@ -2550,13 +2683,14 @@ class ToolBarBasePtr(ToolBarBase): _controls.ToolBarBase_swigregister(ToolBarBasePtr) class ToolBar(ToolBarBase): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxToolBar 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=wxNO_BORDER|wxTB_HORIZONTAL, - wxString name=wxPyToolBarNameStr) -> ToolBar""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxNO_BORDER|wxTB_HORIZONTAL, + wxString name=wxPyToolBarNameStr) -> ToolBar + """ newobj = _controls.new_ToolBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2564,9 +2698,11 @@ class ToolBar(ToolBarBase): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=wxNO_BORDER|wxTB_HORIZONTAL, - wxString name=wxPyToolBarNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxNO_BORDER|wxTB_HORIZONTAL, + wxString name=wxPyToolBarNameStr) -> bool + """ return _controls.ToolBar_Create(*args, **kwargs) def FindToolForPosition(*args, **kwargs): @@ -2660,12 +2796,13 @@ LIST_FIND_RIGHT = _controls.LIST_FIND_RIGHT #--------------------------------------------------------------------------- class ListItemAttr(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxListItemAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxColour colText=wxNullColour, wxColour colBack=wxNullColour, - wxFont font=wxNullFont) -> ListItemAttr""" + """ + __init__(wxColour colText=wxNullColour, wxColour colBack=wxNullColour, + wxFont font=wxNullFont) -> ListItemAttr + """ newobj = _controls.new_ListItemAttr(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2721,7 +2858,6 @@ _controls.ListItemAttr_swigregister(ListItemAttrPtr) #--------------------------------------------------------------------------- class ListItem(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxListItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2873,7 +3009,6 @@ _controls.ListItem_swigregister(ListItemPtr) #--------------------------------------------------------------------------- class ListEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxListEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3002,13 +3137,14 @@ EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED #--------------------------------------------------------------------------- class ListCtrl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyListCtrl 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=LC_ICON, - Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> ListCtrl""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=LC_ICON, + Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> ListCtrl + """ newobj = _controls.new_ListCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3016,9 +3152,11 @@ class ListCtrl(core.Control): self._setOORInfo(self);self._setCallbackInfo(self, ListCtrl) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=LC_ICON, - Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=LC_ICON, + Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> bool + """ return _controls.ListCtrl_Create(*args, **kwargs) def _setCallbackInfo(*args, **kwargs): @@ -3228,10 +3366,12 @@ class ListCtrl(core.Control): return _controls.ListCtrl_FindItemAtPos(*args, **kwargs) def HitTest(*args, **kwargs): - """HitTest(Point point) -> (item, where) + """ + HitTest(Point point) -> (item, where) -Determines which item (if any) is at the specified point, -giving details in the second return value (see wxLIST_HITTEST_... flags.)""" + Determines which item (if any) is at the specified point, + giving details in the second return value (see wxLIST_HITTEST_... flags.) + """ return _controls.ListCtrl_HitTest(*args, **kwargs) def InsertItem(*args, **kwargs): @@ -3255,8 +3395,10 @@ giving details in the second return value (see wxLIST_HITTEST_... flags.)""" return _controls.ListCtrl_InsertColumnInfo(*args, **kwargs) def InsertColumn(*args, **kwargs): - """InsertColumn(long col, wxString heading, int format=LIST_FORMAT_LEFT, - int width=-1) -> long""" + """ + InsertColumn(long col, wxString heading, int format=LIST_FORMAT_LEFT, + int width=-1) -> long + """ return _controls.ListCtrl_InsertColumn(*args, **kwargs) def SetItemCount(*args, **kwargs): @@ -3367,13 +3509,14 @@ def PreListCtrl(*args, **kwargs): #--------------------------------------------------------------------------- class ListView(ListCtrl): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxListView 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=LC_REPORT, - Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> ListView""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=LC_REPORT, + Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> ListView + """ newobj = _controls.new_ListView(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3381,9 +3524,11 @@ class ListView(ListCtrl): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=LC_REPORT, - Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=LC_REPORT, + Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> bool + """ return _controls.ListView_Create(*args, **kwargs) def Select(*args, **kwargs): @@ -3472,7 +3617,6 @@ TREE_HITTEST_ONITEM = _controls.TREE_HITTEST_ONITEM #--------------------------------------------------------------------------- class TreeItemId(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTreeItemId instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3511,7 +3655,6 @@ class TreeItemIdPtr(TreeItemId): _controls.TreeItemId_swigregister(TreeItemIdPtr) class TreeItemData(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTreeItemData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3591,7 +3734,6 @@ EVT_TREE_STATE_IMAGE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_STATE_IMAGE_CLI class TreeEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTreeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3663,14 +3805,15 @@ _controls.TreeEvent_swigregister(TreeEventPtr) #--------------------------------------------------------------------------- class TreeCtrl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTreeCtrl 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=wxPy_TreeCtrlNameStr) -> TreeCtrl""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=TR_DEFAULT_STYLE, + Validator validator=DefaultValidator, + wxString name=wxPy_TreeCtrlNameStr) -> TreeCtrl + """ newobj = _controls.new_TreeCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3678,10 +3821,12 @@ class TreeCtrl(core.Control): self._setOORInfo(self);self._setCallbackInfo(self, TreeCtrl) 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=wxPy_TreeCtrlNameStr) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=TR_DEFAULT_STYLE, + Validator validator=DefaultValidator, + wxString name=wxPy_TreeCtrlNameStr) -> bool + """ return _controls.TreeCtrl_Create(*args, **kwargs) def _setCallbackInfo(*args, **kwargs): @@ -3875,28 +4020,38 @@ class TreeCtrl(core.Control): return _controls.TreeCtrl_GetPrevVisible(*args, **kwargs) def AddRoot(*args, **kwargs): - """AddRoot(wxString text, int image=-1, int selectedImage=-1, - TreeItemData data=None) -> TreeItemId""" + """ + AddRoot(wxString text, int image=-1, int selectedImage=-1, + TreeItemData data=None) -> TreeItemId + """ return _controls.TreeCtrl_AddRoot(*args, **kwargs) def PrependItem(*args, **kwargs): - """PrependItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1, - TreeItemData data=None) -> TreeItemId""" + """ + PrependItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1, + TreeItemData data=None) -> TreeItemId + """ return _controls.TreeCtrl_PrependItem(*args, **kwargs) def InsertItem(*args, **kwargs): - """InsertItem(TreeItemId parent, TreeItemId idPrevious, wxString text, - int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId""" + """ + InsertItem(TreeItemId parent, TreeItemId idPrevious, wxString text, + int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId + """ return _controls.TreeCtrl_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""" + """ + InsertItemBefore(TreeItemId parent, size_t index, wxString text, int image=-1, + int selectedImage=-1, TreeItemData data=None) -> TreeItemId + """ return _controls.TreeCtrl_InsertItemBefore(*args, **kwargs) def AppendItem(*args, **kwargs): - """AppendItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1, - TreeItemData data=None) -> TreeItemId""" + """ + AppendItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1, + TreeItemData data=None) -> TreeItemId + """ return _controls.TreeCtrl_AppendItem(*args, **kwargs) def Delete(*args, **kwargs): @@ -3960,13 +4115,15 @@ class TreeCtrl(core.Control): return _controls.TreeCtrl_SortChildren(*args, **kwargs) def HitTest(*args, **kwargs): - """HitTest(Point point) -> (item, where) + """ + HitTest(Point point) -> (item, where) -Determine which item (if any) belongs the given point. The -coordinates specified are relative to the client area of tree ctrl -and the where return value is set to a bitmask of wxTREE_HITTEST_xxx -constants. -""" + Determine which item (if any) belongs the given point. The + coordinates specified are relative to the client area of tree ctrl + and the where return value is set to a bitmask of wxTREE_HITTEST_xxx + constants. + + """ return _controls.TreeCtrl_HitTest(*args, **kwargs) def GetBoundingRect(*args, **kwargs): @@ -3995,15 +4152,16 @@ DIRCTRL_SHOW_FILTERS = _controls.DIRCTRL_SHOW_FILTERS DIRCTRL_3D_INTERNAL = _controls.DIRCTRL_3D_INTERNAL DIRCTRL_EDIT_LABELS = _controls.DIRCTRL_EDIT_LABELS class GenericDirCtrl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGenericDirCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=-1, wxString dir=wxPyDirDialogDefaultFolderStr, - Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, - wxString filter=wxPyEmptyString, - int defaultFilter=0, wxString name=wxPy_TreeCtrlNameStr) -> GenericDirCtrl""" + """ + __init__(Window parent, int id=-1, wxString dir=wxPyDirDialogDefaultFolderStr, + Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, + wxString filter=wxPyEmptyString, + int defaultFilter=0, wxString name=wxPy_TreeCtrlNameStr) -> GenericDirCtrl + """ newobj = _controls.new_GenericDirCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -4011,11 +4169,13 @@ class GenericDirCtrl(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, wxString dir=wxPyDirDialogDefaultFolderStr, - Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, - wxString filter=wxPyEmptyString, - int defaultFilter=0, wxString name=wxPy_TreeCtrlNameStr) -> bool""" + """ + Create(Window parent, int id=-1, wxString dir=wxPyDirDialogDefaultFolderStr, + Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, + wxString filter=wxPyEmptyString, + int defaultFilter=0, wxString name=wxPy_TreeCtrlNameStr) -> bool + """ return _controls.GenericDirCtrl_Create(*args, **kwargs) def ExpandPath(*args, **kwargs): @@ -4079,12 +4239,14 @@ class GenericDirCtrl(core.Control): return _controls.GenericDirCtrl_GetFilterListCtrl(*args, **kwargs) def FindChild(*args, **kwargs): - """FindChild(wxTreeItemId parentId, wxString path) -> (item, done) + """ + FindChild(wxTreeItemId parentId, wxString path) -> (item, done) + + Find the child that matches the first part of 'path'. E.g. if a child path is + "/usr" and 'path' is "/usr/include" then the child for /usr is returned. + If the path string has been used (we're at the leaf), done is set to True -Find the child that matches the first part of 'path'. E.g. if a child path is -"/usr" and 'path' is "/usr/include" then the child for /usr is returned. -If the path string has been used (we're at the leaf), done is set to True -""" + """ return _controls.GenericDirCtrl_FindChild(*args, **kwargs) def DoResize(*args, **kwargs): @@ -4110,12 +4272,13 @@ def PreGenericDirCtrl(*args, **kwargs): return val class DirFilterListCtrl(Choice): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDirFilterListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0) -> DirFilterListCtrl""" + """ + __init__(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0) -> DirFilterListCtrl + """ newobj = _controls.new_DirFilterListCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -4123,8 +4286,10 @@ class DirFilterListCtrl(Choice): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0) -> bool""" + """ + Create(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0) -> bool + """ return _controls.DirFilterListCtrl_Create(*args, **kwargs) def FillFilterList(*args, **kwargs): @@ -4148,13 +4313,14 @@ def PreDirFilterListCtrl(*args, **kwargs): #--------------------------------------------------------------------------- class PyControl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyControl 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=0, Validator validator=DefaultValidator, - wxString name=wxPyControlNameStr) -> PyControl""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyControlNameStr) -> PyControl + """ newobj = _controls.new_PyControl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -4257,7 +4423,6 @@ EVT_DETAILED_HELP = wx.PyEventBinder( wxEVT_DETAILED_HELP, 1) EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) class HelpEvent(core.CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHelpEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4299,7 +4464,6 @@ class HelpEventPtr(HelpEvent): _controls.HelpEvent_swigregister(HelpEventPtr) class ContextHelp(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxContextHelp instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4331,12 +4495,13 @@ class ContextHelpPtr(ContextHelp): _controls.ContextHelp_swigregister(ContextHelpPtr) class ContextHelpButton(BitmapButton): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxContextHelpButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=ID_CONTEXT_HELP, Point pos=DefaultPosition, - Size size=DefaultSize, long style=BU_AUTODRAW) -> ContextHelpButton""" + """ + __init__(Window parent, int id=ID_CONTEXT_HELP, Point pos=DefaultPosition, + Size size=DefaultSize, long style=BU_AUTODRAW) -> ContextHelpButton + """ newobj = _controls.new_ContextHelpButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -4352,7 +4517,6 @@ class ContextHelpButtonPtr(ContextHelpButton): _controls.ContextHelpButton_swigregister(ContextHelpButtonPtr) class HelpProvider(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHelpProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -4403,7 +4567,6 @@ def HelpProvider_Get(*args, **kwargs): return _controls.HelpProvider_Get(*args, **kwargs) class SimpleHelpProvider(HelpProvider): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSimpleHelpProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4423,7 +4586,6 @@ _controls.SimpleHelpProvider_swigregister(SimpleHelpProviderPtr) #--------------------------------------------------------------------------- class DragImage(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGenericDragImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4443,8 +4605,10 @@ class DragImage(core.Object): return _controls.DragImage_SetBackingBitmap(*args, **kwargs) def BeginDrag(*args, **kwargs): - """BeginDrag(Point hotspot, Window window, bool fullScreen=False, - Rect rect=None) -> bool""" + """ + BeginDrag(Point hotspot, Window window, bool fullScreen=False, + Rect rect=None) -> bool + """ return _controls.DragImage_BeginDrag(*args, **kwargs) def BeginDragBounded(*args, **kwargs): @@ -4476,8 +4640,10 @@ class DragImage(core.Object): return _controls.DragImage_DoDrawImage(*args, **kwargs) def UpdateBackingFromWindow(*args, **kwargs): - """UpdateBackingFromWindow(wxDC windowDC, wxMemoryDC destDC, Rect sourceRect, - Rect destRect) -> bool""" + """ + UpdateBackingFromWindow(wxDC windowDC, wxMemoryDC destDC, Rect sourceRect, + Rect destRect) -> bool + """ return _controls.DragImage_UpdateBackingFromWindow(*args, **kwargs) def RedrawImage(*args, **kwargs): diff --git a/wxPython/src/mac/controls_wrap.cpp b/wxPython/src/mac/controls_wrap.cpp index 98d2cd3013..aa8cf87b52 100644 --- a/wxPython/src/mac/controls_wrap.cpp +++ b/wxPython/src/mac/controls_wrap.cpp @@ -27002,18 +27002,21 @@ static void *_p_wxCheckListBoxTo_p_wxObject(void *x) { static void *_p_wxBookCtrlTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x)); } -static void *_p_wxBitmapButtonTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x)); -} static void *_p_wxButtonTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x)); } +static void *_p_wxBitmapButtonTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x)); +} static void *_p_wxSpinButtonTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x)); } static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); } +static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxAcceleratorTable *) x)); +} static void *_p_wxScrollBarTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x)); } @@ -27360,7 +27363,7 @@ static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvi static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}}; static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}}; static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxListView", _p_wxListViewTo_p_wxObject},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxListbook", _p_wxListbookTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject},{"_p_wxSlider", _p_wxSliderTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject},{"_p_wxButton", _p_wxButtonTo_p_wxObject},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxListView", _p_wxListViewTo_p_wxObject},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxListbook", _p_wxListbookTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject},{"_p_wxSlider", _p_wxSliderTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject},{"_p_wxButton", _p_wxButtonTo_p_wxObject},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}}; static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}}; static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}}; static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow},{"_p_wxListView", _p_wxListViewTo_p_wxWindow},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow},{"_p_wxButton", _p_wxButtonTo_p_wxWindow},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow},{0}}; diff --git a/wxPython/src/mac/core.py b/wxPython/src/mac/core.py index 93006e547c..d85d7254e6 100644 --- a/wxPython/src/mac/core.py +++ b/wxPython/src/mac/core.py @@ -552,21 +552,27 @@ UPDATE_UI_FROMIDLE = _core.UPDATE_UI_FROMIDLE #--------------------------------------------------------------------------- class Object(object): - """The base class for most wx objects, although in wxPython not -much functionality is needed nor exposed.""" + """ + The base class for most wx objects, although in wxPython not + much functionality is needed nor exposed. + """ def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def GetClassName(*args, **kwargs): - """GetClassName() -> wxString + """ + GetClassName() -> wxString -Returns the class name of the C++ object using wxRTTI.""" + Returns the class name of the C++ object using wxRTTI. + """ return _core.Object_GetClassName(*args, **kwargs) def Destroy(*args, **kwargs): - """Destroy() + """ + Destroy() -Deletes the C++ object this Python object is a proxy for.""" + Deletes the C++ object this Python object is a proxy for. + """ return _core.Object_Destroy(*args, **kwargs) @@ -648,18 +654,22 @@ CURSOR_MAX = _core.CURSOR_MAX #--------------------------------------------------------------------------- class Size(object): - """wx.Size is a useful data structure used to represent the size of something. -It simply contians integer width and height proprtites. In most places in -wxPython where a wx.Size is expected a (width,height) tuple can be used -instead.""" + """ + wx.Size is a useful data structure used to represent the size of something. + It simply contians integer width and height proprtites. In most places in + wxPython where a wx.Size is expected a (width,height) tuple can be used + instead. + """ def __repr__(self): return "<%s.%s; proxy of C++ wxSize instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) width = property(_core.Size_width_get, _core.Size_width_set) height = property(_core.Size_height_get, _core.Size_height_set) def __init__(self, *args, **kwargs): - """__init__(int w=0, int h=0) -> Size + """ + __init__(int w=0, int h=0) -> Size -Creates a size object.""" + Creates a size object. + """ newobj = _core.new_Size(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -671,47 +681,61 @@ Creates a size object.""" except: pass def __eq__(*args, **kwargs): - """__eq__(Size sz) -> bool + """ + __eq__(Size sz) -> bool -Test for equality of wx.Size objects.""" + Test for equality of wx.Size objects. + """ return _core.Size___eq__(*args, **kwargs) def __ne__(*args, **kwargs): - """__ne__(Size sz) -> bool + """ + __ne__(Size sz) -> bool -Test for inequality.""" + Test for inequality. + """ return _core.Size___ne__(*args, **kwargs) def __add__(*args, **kwargs): - """__add__(Size sz) -> Size + """ + __add__(Size sz) -> Size -Add sz's proprties to this and return the result.""" + Add sz's proprties to this and return the result. + """ return _core.Size___add__(*args, **kwargs) def __sub__(*args, **kwargs): - """__sub__(Size sz) -> Size + """ + __sub__(Size sz) -> Size -Subtract sz's properties from this and return the result.""" + Subtract sz's properties from this and return the result. + """ return _core.Size___sub__(*args, **kwargs) def IncTo(*args, **kwargs): - """IncTo(Size sz) + """ + IncTo(Size sz) -Increments this object so that both of its dimensions are not less -than the corresponding dimensions of the size.""" + Increments this object so that both of its dimensions are not less + than the corresponding dimensions of the size. + """ return _core.Size_IncTo(*args, **kwargs) def DecTo(*args, **kwargs): - """DecTo(Size sz) + """ + DecTo(Size sz) -Decrements this object so that both of its dimensions are not greater -than the corresponding dimensions of the size.""" + Decrements this object so that both of its dimensions are not greater + than the corresponding dimensions of the size. + """ return _core.Size_DecTo(*args, **kwargs) def Set(*args, **kwargs): - """Set(int w, int h) + """ + Set(int w, int h) -Set both width and height.""" + Set both width and height. + """ return _core.Size_Set(*args, **kwargs) def SetWidth(*args, **kwargs): @@ -731,9 +755,11 @@ Set both width and height.""" return _core.Size_GetHeight(*args, **kwargs) def Get(*args, **kwargs): - """Get() -> (width,height) + """ + Get() -> (width,height) -Returns the width and height properties as a tuple.""" + Returns the width and height properties as a tuple. + """ return _core.Size_Get(*args, **kwargs) asTuple = Get @@ -761,17 +787,21 @@ _core.Size_swigregister(SizePtr) #--------------------------------------------------------------------------- class RealPoint(object): - """A data structure for representing a point or position with floating point x -and y properties. In wxPython most places that expect a wx.RealPoint can also -accept a (x,y) tuple.""" + """ + A data structure for representing a point or position with floating point x + and y properties. In wxPython most places that expect a wx.RealPoint can also + accept a (x,y) tuple. + """ def __repr__(self): return "<%s.%s; proxy of C++ wxRealPoint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) x = property(_core.RealPoint_x_get, _core.RealPoint_x_set) y = property(_core.RealPoint_y_get, _core.RealPoint_y_set) def __init__(self, *args, **kwargs): - """__init__(double x=0.0, double y=0.0) -> RealPoint + """ + __init__(double x=0.0, double y=0.0) -> RealPoint -Create a wx.RealPoint object""" + Create a wx.RealPoint object + """ newobj = _core.new_RealPoint(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -783,39 +813,51 @@ Create a wx.RealPoint object""" except: pass def __eq__(*args, **kwargs): - """__eq__(RealPoint pt) -> bool + """ + __eq__(RealPoint pt) -> bool -Test for equality of wx.RealPoint objects.""" + Test for equality of wx.RealPoint objects. + """ return _core.RealPoint___eq__(*args, **kwargs) def __ne__(*args, **kwargs): - """__ne__(RealPoint pt) -> bool + """ + __ne__(RealPoint pt) -> bool -Test for inequality of wx.RealPoint objects.""" + Test for inequality of wx.RealPoint objects. + """ return _core.RealPoint___ne__(*args, **kwargs) def __add__(*args, **kwargs): - """__add__(RealPoint pt) -> RealPoint + """ + __add__(RealPoint pt) -> RealPoint -Add pt's proprties to this and return the result.""" + Add pt's proprties to this and return the result. + """ return _core.RealPoint___add__(*args, **kwargs) def __sub__(*args, **kwargs): - """__sub__(RealPoint pt) -> RealPoint + """ + __sub__(RealPoint pt) -> RealPoint -Subtract pt's proprties from this and return the result""" + Subtract pt's proprties from this and return the result + """ return _core.RealPoint___sub__(*args, **kwargs) def Set(*args, **kwargs): - """Set(double x, double y) + """ + Set(double x, double y) -Set both the x and y properties""" + Set both the x and y properties + """ return _core.RealPoint_Set(*args, **kwargs) def Get(*args, **kwargs): - """Get() -> (x,y) + """ + Get() -> (x,y) -Return the x and y properties as a tuple. """ + Return the x and y properties as a tuple. + """ return _core.RealPoint_Get(*args, **kwargs) asTuple = Get @@ -843,17 +885,21 @@ _core.RealPoint_swigregister(RealPointPtr) #--------------------------------------------------------------------------- class Point(object): - """A data structure for representing a point or position with integer x and y -properties. Most places in wxPython that expect a wx.Point can also accept a -(x,y) tuple.""" + """ + A data structure for representing a point or position with integer x and y + properties. Most places in wxPython that expect a wx.Point can also accept a + (x,y) tuple. + """ def __repr__(self): return "<%s.%s; proxy of C++ wxPoint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) x = property(_core.Point_x_get, _core.Point_x_set) y = property(_core.Point_y_get, _core.Point_y_set) def __init__(self, *args, **kwargs): - """__init__(int x=0, int y=0) -> Point + """ + __init__(int x=0, int y=0) -> Point -Create a wx.Point object""" + Create a wx.Point object + """ newobj = _core.new_Point(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -865,51 +911,67 @@ Create a wx.Point object""" except: pass def __eq__(*args, **kwargs): - """__eq__(Point pt) -> bool + """ + __eq__(Point pt) -> bool -Test for equality of wx.Point objects.""" + Test for equality of wx.Point objects. + """ return _core.Point___eq__(*args, **kwargs) def __ne__(*args, **kwargs): - """__ne__(Point pt) -> bool + """ + __ne__(Point pt) -> bool -Test for inequality of wx.Point objects.""" + Test for inequality of wx.Point objects. + """ return _core.Point___ne__(*args, **kwargs) def __add__(*args, **kwargs): - """__add__(Point pt) -> Point + """ + __add__(Point pt) -> Point -Add pt's proprties to this and return the result.""" + Add pt's proprties to this and return the result. + """ return _core.Point___add__(*args, **kwargs) def __sub__(*args, **kwargs): - """__sub__(Point pt) -> Point + """ + __sub__(Point pt) -> Point -Subtract pt's proprties from this and return the result""" + Subtract pt's proprties from this and return the result + """ return _core.Point___sub__(*args, **kwargs) def __iadd__(*args, **kwargs): - """__iadd__(Point pt) -> Point + """ + __iadd__(Point pt) -> Point -Add pt to this object.""" + Add pt to this object. + """ return _core.Point___iadd__(*args, **kwargs) def __isub__(*args, **kwargs): - """__isub__(Point pt) -> Point + """ + __isub__(Point pt) -> Point -Subtract pt from this object.""" + Subtract pt from this object. + """ return _core.Point___isub__(*args, **kwargs) def Set(*args, **kwargs): - """Set(long x, long y) + """ + Set(long x, long y) -Set both the x and y properties""" + Set both the x and y properties + """ return _core.Point_Set(*args, **kwargs) def Get(*args, **kwargs): - """Get() -> (x,y) + """ + Get() -> (x,y) -Return the x and y properties as a tuple. """ + Return the x and y properties as a tuple. + """ return _core.Point_Get(*args, **kwargs) asTuple = Get @@ -937,15 +999,19 @@ _core.Point_swigregister(PointPtr) #--------------------------------------------------------------------------- class Rect(object): - """A class for representing and manipulating rectangles. It has x, y, width and -height properties. In wxPython most palces that expect a wx.Rect can also -accept a (x,y,width,height) tuple.""" + """ + A class for representing and manipulating rectangles. It has x, y, width and + height properties. In wxPython most palces that expect a wx.Rect can also + accept a (x,y,width,height) tuple. + """ def __repr__(self): return "<%s.%s; proxy of C++ wxRect instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(int x=0, int y=0, int width=0, int height=0) -> Rect + """ + __init__(int x=0, int y=0, int width=0, int height=0) -> Rect -Create a new Rect object.""" + Create a new Rect object. + """ newobj = _core.new_Rect(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1044,80 +1110,104 @@ Create a new Rect object.""" bottom = property(GetBottom, SetBottom) def Inflate(*args, **kwargs): - """Inflate(int dx, int dy) -> Rect + """ + Inflate(int dx, int dy) -> Rect -Increase the rectangle size by dx in x direction and dy in y direction. Both -(or one of) parameters may be negative to decrease the rectangle size.""" + Increase the rectangle size by dx in x direction and dy in y direction. Both + (or one of) parameters may be negative to decrease the rectangle size. + """ return _core.Rect_Inflate(*args, **kwargs) def Deflate(*args, **kwargs): - """Deflate(int dx, int dy) -> Rect + """ + Deflate(int dx, int dy) -> Rect -Decrease the rectangle size by dx in x direction and dy in y direction. Both -(or one of) parameters may be negative to increase the rectngle size. This -method is the opposite of Inflate.""" + Decrease the rectangle size by dx in x direction and dy in y direction. Both + (or one of) parameters may be negative to increase the rectngle size. This + method is the opposite of Inflate. + """ return _core.Rect_Deflate(*args, **kwargs) def OffsetXY(*args, **kwargs): - """OffsetXY(int dx, int dy) + """ + OffsetXY(int dx, int dy) -Moves the rectangle by the specified offset. If dx is positive, the rectangle -is moved to the right, if dy is positive, it is moved to the bottom, otherwise -it is moved to the left or top respectively.""" + Moves the rectangle by the specified offset. If dx is positive, the rectangle + is moved to the right, if dy is positive, it is moved to the bottom, otherwise + it is moved to the left or top respectively. + """ return _core.Rect_OffsetXY(*args, **kwargs) def Offset(*args, **kwargs): - """Offset(Point pt) + """ + Offset(Point pt) -Same as OffsetXY but uses dx,dy from Point""" + Same as OffsetXY but uses dx,dy from Point + """ return _core.Rect_Offset(*args, **kwargs) def Intersect(*args, **kwargs): - """Intersect(Rect rect) -> Rect + """ + Intersect(Rect rect) -> Rect -Return the intersectsion of this rectangle and rect.""" + Return the intersectsion of this rectangle and rect. + """ return _core.Rect_Intersect(*args, **kwargs) def __add__(*args, **kwargs): - """__add__(Rect rect) -> Rect + """ + __add__(Rect rect) -> Rect -Add the properties of rect to this rectangle and return the result.""" + Add the properties of rect to this rectangle and return the result. + """ return _core.Rect___add__(*args, **kwargs) def __iadd__(*args, **kwargs): - """__iadd__(Rect rect) -> Rect + """ + __iadd__(Rect rect) -> Rect -Add the properties of rect to this rectangle, updating this rectangle.""" + Add the properties of rect to this rectangle, updating this rectangle. + """ return _core.Rect___iadd__(*args, **kwargs) def __eq__(*args, **kwargs): - """__eq__(Rect rect) -> bool + """ + __eq__(Rect rect) -> bool -Test for equality.""" + Test for equality. + """ return _core.Rect___eq__(*args, **kwargs) def __ne__(*args, **kwargs): - """__ne__(Rect rect) -> bool + """ + __ne__(Rect rect) -> bool -Test for inequality.""" + Test for inequality. + """ return _core.Rect___ne__(*args, **kwargs) def InsideXY(*args, **kwargs): - """InsideXY(int x, int y) -> bool + """ + InsideXY(int x, int y) -> bool -Return True if the point is (not strcitly) inside the rect.""" + Return True if the point is (not strcitly) inside the rect. + """ return _core.Rect_InsideXY(*args, **kwargs) def Inside(*args, **kwargs): - """Inside(Point pt) -> bool + """ + Inside(Point pt) -> bool -Return True if the point is (not strcitly) inside the rect.""" + Return True if the point is (not strcitly) inside the rect. + """ return _core.Rect_Inside(*args, **kwargs) def Intersects(*args, **kwargs): - """Intersects(Rect rect) -> bool + """ + Intersects(Rect rect) -> bool -Returns True if the rectangles have a non empty intersection.""" + Returns True if the rectangles have a non empty intersection. + """ return _core.Rect_Intersects(*args, **kwargs) x = property(_core.Rect_x_get, _core.Rect_x_set) @@ -1125,15 +1215,19 @@ Returns True if the rectangles have a non empty intersection.""" width = property(_core.Rect_width_get, _core.Rect_width_set) height = property(_core.Rect_height_get, _core.Rect_height_set) def Set(*args, **kwargs): - """Set(int x=0, int y=0, int width=0, int height=0) + """ + Set(int x=0, int y=0, int width=0, int height=0) -Set all rectangle properties.""" + Set all rectangle properties. + """ return _core.Rect_Set(*args, **kwargs) def Get(*args, **kwargs): - """Get() -> (x,y,width,height) + """ + Get() -> (x,y,width,height) -Return the rectangle properties as a tuple.""" + Return the rectangle properties as a tuple. + """ return _core.Rect_Get(*args, **kwargs) asTuple = Get @@ -1161,26 +1255,32 @@ class RectPtr(Rect): _core.Rect_swigregister(RectPtr) def RectPP(*args, **kwargs): - """RectPP(Point topLeft, Point bottomRight) -> Rect + """ + RectPP(Point topLeft, Point bottomRight) -> Rect -Create a new Rect object from Points representing two corners.""" + Create a new Rect object from Points representing two corners. + """ val = _core.new_RectPP(*args, **kwargs) val.thisown = 1 return val def RectPS(*args, **kwargs): - """RectPS(Point pos, Size size) -> Rect + """ + RectPS(Point pos, Size size) -> Rect -Create a new Rect from a position and size.""" + Create a new Rect from a position and size. + """ val = _core.new_RectPS(*args, **kwargs) val.thisown = 1 return val def IntersectRect(*args, **kwargs): - """IntersectRect(Rect r1, Rect r2) -> Rect + """ + IntersectRect(Rect r1, Rect r2) -> Rect -Calculate and return the intersection of r1 and r2.""" + Calculate and return the intersection of r1 and r2. + """ return _core.IntersectRect(*args, **kwargs) #--------------------------------------------------------------------------- @@ -1189,23 +1289,29 @@ class Point2D(object): def __repr__(self): return "<%s.%s; proxy of C++ wxPoint2D instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(double x=0.0, double y=0.0) -> Point2D + """ + __init__(double x=0.0, double y=0.0) -> Point2D -Create a w.Point2D object.""" + Create a w.Point2D object. + """ newobj = _core.new_Point2D(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def GetFloor(*args, **kwargs): - """GetFloor() -> (x,y) + """ + GetFloor() -> (x,y) -Convert to integer""" + Convert to integer + """ return _core.Point2D_GetFloor(*args, **kwargs) def GetRounded(*args, **kwargs): - """GetRounded() -> (x,y) + """ + GetRounded() -> (x,y) -Convert to integer""" + Convert to integer + """ return _core.Point2D_GetRounded(*args, **kwargs) def GetVectorLength(*args, **kwargs): @@ -1247,9 +1353,11 @@ Convert to integer""" return _core.Point2D_GetCrossProduct(*args, **kwargs) def __neg__(*args, **kwargs): - """__neg__() -> Point2D + """ + __neg__() -> Point2D -the reflection of this point""" + the reflection of this point + """ return _core.Point2D___neg__(*args, **kwargs) def __iadd__(*args, **kwargs): @@ -1269,15 +1377,19 @@ the reflection of this point""" return _core.Point2D___idiv__(*args, **kwargs) def __eq__(*args, **kwargs): - """__eq__(Point2D pt) -> bool + """ + __eq__(Point2D pt) -> bool -Test for equality""" + Test for equality + """ return _core.Point2D___eq__(*args, **kwargs) def __ne__(*args, **kwargs): - """__ne__(Point2D pt) -> bool + """ + __ne__(Point2D pt) -> bool -Test for inequality""" + Test for inequality + """ return _core.Point2D___ne__(*args, **kwargs) x = property(_core.Point2D_x_get, _core.Point2D_x_set) @@ -1287,9 +1399,11 @@ Test for inequality""" return _core.Point2D_Set(*args, **kwargs) def Get(*args, **kwargs): - """Get() -> (x,y) + """ + Get() -> (x,y) -Return x and y properties as a tuple.""" + Return x and y properties as a tuple. + """ return _core.Point2D_Get(*args, **kwargs) asTuple = Get @@ -1316,17 +1430,21 @@ class Point2DPtr(Point2D): _core.Point2D_swigregister(Point2DPtr) def Point2DCopy(*args, **kwargs): - """Point2DCopy(Point2D pt) -> Point2D + """ + Point2DCopy(Point2D pt) -> Point2D -Create a w.Point2D object.""" + Create a w.Point2D object. + """ val = _core.new_Point2DCopy(*args, **kwargs) val.thisown = 1 return val def Point2DFromPoint(*args, **kwargs): - """Point2DFromPoint(Point pt) -> Point2D + """ + Point2DFromPoint(Point pt) -> Point2D -Create a w.Point2D object.""" + Create a w.Point2D object. + """ val = _core.new_Point2DFromPoint(*args, **kwargs) val.thisown = 1 return val @@ -1337,7 +1455,6 @@ FromStart = _core.FromStart FromCurrent = _core.FromCurrent FromEnd = _core.FromEnd class InputStream(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyInputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1422,7 +1539,6 @@ DefaultPosition = cvar.DefaultPosition DefaultSize = cvar.DefaultSize class OutputStream(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxOutputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1441,12 +1557,13 @@ _core.OutputStream_swigregister(OutputStreamPtr) #--------------------------------------------------------------------------- class FSFile(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFSFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxInputStream stream, wxString loc, wxString mimetype, - wxString anchor, wxDateTime modif) -> FSFile""" + """ + __init__(wxInputStream stream, wxString loc, wxString mimetype, + wxString anchor, wxDateTime modif) -> FSFile + """ newobj = _core.new_FSFile(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1486,7 +1603,6 @@ class FSFilePtr(FSFile): _core.FSFile_swigregister(FSFilePtr) class CPPFileSystemHandler(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxFileSystemHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1499,7 +1615,6 @@ class CPPFileSystemHandlerPtr(CPPFileSystemHandler): _core.CPPFileSystemHandler_swigregister(CPPFileSystemHandlerPtr) class FileSystemHandler(CPPFileSystemHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyFileSystemHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1559,7 +1674,6 @@ class FileSystemHandlerPtr(FileSystemHandler): _core.FileSystemHandler_swigregister(FileSystemHandlerPtr) class FileSystem(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileSystem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1634,7 +1748,6 @@ def FileSystem_URLToFileName(*args, **kwargs): """FileSystem_URLToFileName(wxString url) -> wxString""" return _core.FileSystem_URLToFileName(*args, **kwargs) class InternetFSHandler(CPPFileSystemHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxInternetFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1660,7 +1773,6 @@ class InternetFSHandlerPtr(InternetFSHandler): _core.InternetFSHandler_swigregister(InternetFSHandlerPtr) class ZipFSHandler(CPPFileSystemHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxZipFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1715,7 +1827,6 @@ def MemoryFSHandler_AddFile(filename, a, b=''): else: raise TypeError, 'wx.Image, wx.Bitmap or string expected' class MemoryFSHandler(CPPFileSystemHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMemoryFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1761,7 +1872,6 @@ def MemoryFSHandler_RemoveFile(*args, **kwargs): #--------------------------------------------------------------------------- class ImageHandler(Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxImageHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1810,7 +1920,6 @@ class ImageHandlerPtr(ImageHandler): _core.ImageHandler_swigregister(ImageHandlerPtr) class ImageHistogram(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxImageHistogram instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1820,18 +1929,22 @@ class ImageHistogram(object): self.thisown = 1 del newobj.thisown def MakeKey(*args, **kwargs): - """ImageHistogram.MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long + """ + ImageHistogram.MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long -Get the key in the histogram for the given RGB values""" + Get the key in the histogram for the given RGB values + """ return _core.ImageHistogram_MakeKey(*args, **kwargs) MakeKey = staticmethod(MakeKey) def FindFirstUnusedColour(*args, **kwargs): - """FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b) + """ + FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b) -Find first colour that is not used in the image and has higher RGB values than -startR, startG, startB. Returns a tuple consisting of a success flag and rgb -values.""" + Find first colour that is not used in the image and has higher RGB values than + startR, startG, startB. Returns a tuple consisting of a success flag and rgb + values. + """ return _core.ImageHistogram_FindFirstUnusedColour(*args, **kwargs) @@ -1843,13 +1956,14 @@ class ImageHistogramPtr(ImageHistogram): _core.ImageHistogram_swigregister(ImageHistogramPtr) def ImageHistogram_MakeKey(*args, **kwargs): - """ImageHistogram_MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long + """ + ImageHistogram_MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long -Get the key in the histogram for the given RGB values""" + Get the key in the histogram for the given RGB values + """ return _core.ImageHistogram_MakeKey(*args, **kwargs) class Image(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1869,9 +1983,11 @@ class Image(Object): return _core.Image_Create(*args, **kwargs) def Destroy(*args, **kwargs): - """Destroy() + """ + Destroy() -Deletes the C++ object this Python object is a proxy for.""" + Deletes the C++ object this Python object is a proxy for. + """ return _core.Image_Destroy(*args, **kwargs) def Scale(*args, **kwargs): @@ -1915,11 +2031,13 @@ Deletes the C++ object this Python object is a proxy for.""" return _core.Image_HasAlpha(*args, **kwargs) def FindFirstUnusedColour(*args, **kwargs): - """FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b) + """ + FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b) -Find first colour that is not used in the image and has higher RGB values than -startR, startG, startB. Returns a tuple consisting of a success flag and rgb -values.""" + Find first colour that is not used in the image and has higher RGB values than + startR, startG, startB. Returns a tuple consisting of a success flag and rgb + values. + """ return _core.Image_FindFirstUnusedColour(*args, **kwargs) def SetMaskFromImage(*args, **kwargs): @@ -2046,8 +2164,10 @@ values.""" return _core.Image_HasMask(*args, **kwargs) def Rotate(*args, **kwargs): - """Rotate(double angle, Point centre_of_rotation, bool interpolating=True, - Point offset_after_rotation=None) -> Image""" + """ + Rotate(double angle, Point centre_of_rotation, bool interpolating=True, + Point offset_after_rotation=None) -> Image + """ return _core.Image_Rotate(*args, **kwargs) def Rotate90(*args, **kwargs): @@ -2059,8 +2179,10 @@ values.""" return _core.Image_Mirror(*args, **kwargs) def Replace(*args, **kwargs): - """Replace(unsigned char r1, unsigned char g1, unsigned char b1, - unsigned char r2, unsigned char g2, unsigned char b2)""" + """ + Replace(unsigned char r1, unsigned char g1, unsigned char b1, + unsigned char r2, unsigned char g2, unsigned char b2) + """ return _core.Image_Replace(*args, **kwargs) def ConvertToMono(*args, **kwargs): @@ -2212,7 +2334,6 @@ BMP_4BPP = _core.BMP_4BPP BMP_1BPP = _core.BMP_1BPP BMP_1BPP_BW = _core.BMP_1BPP_BW class BMPHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBMPHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2236,7 +2357,6 @@ IMAGE_OPTION_RESOLUTION = cvar.IMAGE_OPTION_RESOLUTION IMAGE_OPTION_RESOLUTIONUNIT = cvar.IMAGE_OPTION_RESOLUTIONUNIT class ICOHandler(BMPHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxICOHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2254,7 +2374,6 @@ class ICOHandlerPtr(ICOHandler): _core.ICOHandler_swigregister(ICOHandlerPtr) class CURHandler(ICOHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCURHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2272,7 +2391,6 @@ class CURHandlerPtr(CURHandler): _core.CURHandler_swigregister(CURHandlerPtr) class ANIHandler(CURHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxANIHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2290,7 +2408,6 @@ class ANIHandlerPtr(ANIHandler): _core.ANIHandler_swigregister(ANIHandlerPtr) class PNGHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPNGHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2308,7 +2425,6 @@ class PNGHandlerPtr(PNGHandler): _core.PNGHandler_swigregister(PNGHandlerPtr) class GIFHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGIFHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2326,7 +2442,6 @@ class GIFHandlerPtr(GIFHandler): _core.GIFHandler_swigregister(GIFHandlerPtr) class PCXHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPCXHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2344,7 +2459,6 @@ class PCXHandlerPtr(PCXHandler): _core.PCXHandler_swigregister(PCXHandlerPtr) class JPEGHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxJPEGHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2362,7 +2476,6 @@ class JPEGHandlerPtr(JPEGHandler): _core.JPEGHandler_swigregister(JPEGHandlerPtr) class PNMHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPNMHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2380,7 +2493,6 @@ class PNMHandlerPtr(PNMHandler): _core.PNMHandler_swigregister(PNMHandlerPtr) class XPMHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxXPMHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2398,7 +2510,6 @@ class XPMHandlerPtr(XPMHandler): _core.XPMHandler_swigregister(XPMHandlerPtr) class TIFFHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTIFFHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2418,7 +2529,6 @@ _core.TIFFHandler_swigregister(TIFFHandlerPtr) #--------------------------------------------------------------------------- class EvtHandler(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxEvtHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2873,7 +2983,6 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- class Event(Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -2954,7 +3063,6 @@ _core.Event_swigregister(EventPtr) #--------------------------------------------------------------------------- class PropagationDisabler(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPropagationDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2978,7 +3086,6 @@ class PropagationDisablerPtr(PropagationDisabler): _core.PropagationDisabler_swigregister(PropagationDisablerPtr) class PropagateOnce(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPropagateOnce instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3004,7 +3111,6 @@ _core.PropagateOnce_swigregister(PropagateOncePtr) #--------------------------------------------------------------------------- class CommandEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCommandEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3064,7 +3170,6 @@ _core.CommandEvent_swigregister(CommandEventPtr) #--------------------------------------------------------------------------- class NotifyEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNotifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3096,12 +3201,13 @@ _core.NotifyEvent_swigregister(NotifyEventPtr) #--------------------------------------------------------------------------- class ScrollEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxScrollEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxEventType commandType=wxEVT_NULL, int winid=0, int pos=0, - int orient=0) -> ScrollEvent""" + """ + __init__(wxEventType commandType=wxEVT_NULL, int winid=0, int pos=0, + int orient=0) -> ScrollEvent + """ newobj = _core.new_ScrollEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3133,7 +3239,6 @@ _core.ScrollEvent_swigregister(ScrollEventPtr) #--------------------------------------------------------------------------- class ScrollWinEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxScrollWinEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3174,7 +3279,6 @@ MOUSE_BTN_LEFT = _core.MOUSE_BTN_LEFT MOUSE_BTN_MIDDLE = _core.MOUSE_BTN_MIDDLE MOUSE_BTN_RIGHT = _core.MOUSE_BTN_RIGHT class MouseEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMouseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3292,15 +3396,19 @@ class MouseEvent(Event): return _core.MouseEvent_Leaving(*args, **kwargs) def GetPosition(*args, **kwargs): - """GetPosition() -> Point + """ + GetPosition() -> Point -Returns the position of the mouse in window coordinates when the event happened.""" + Returns the position of the mouse in window coordinates when the event happened. + """ return _core.MouseEvent_GetPosition(*args, **kwargs) def GetPositionTuple(*args, **kwargs): - """GetPositionTuple() -> (x,y) + """ + GetPositionTuple() -> (x,y) -Returns the position of the mouse in window coordinates when the event happened.""" + Returns the position of the mouse in window coordinates when the event happened. + """ return _core.MouseEvent_GetPositionTuple(*args, **kwargs) def GetLogicalPosition(*args, **kwargs): @@ -3354,7 +3462,6 @@ _core.MouseEvent_swigregister(MouseEventPtr) #--------------------------------------------------------------------------- class SetCursorEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSetCursorEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3394,7 +3501,6 @@ _core.SetCursorEvent_swigregister(SetCursorEventPtr) #--------------------------------------------------------------------------- class KeyEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxKeyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3441,15 +3547,19 @@ class KeyEvent(Event): return _core.KeyEvent_GetRawKeyFlags(*args, **kwargs) def GetPosition(*args, **kwargs): - """GetPosition() -> Point + """ + GetPosition() -> Point -Find the position of the event.""" + Find the position of the event. + """ return _core.KeyEvent_GetPosition(*args, **kwargs) def GetPositionTuple(*args, **kwargs): - """GetPositionTuple() -> (x,y) + """ + GetPositionTuple() -> (x,y) -Find the position of the event.""" + Find the position of the event. + """ return _core.KeyEvent_GetPositionTuple(*args, **kwargs) def GetX(*args, **kwargs): @@ -3481,7 +3591,6 @@ _core.KeyEvent_swigregister(KeyEventPtr) #--------------------------------------------------------------------------- class SizeEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3519,7 +3628,6 @@ _core.SizeEvent_swigregister(SizeEventPtr) #--------------------------------------------------------------------------- class MoveEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMoveEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3557,7 +3665,6 @@ _core.MoveEvent_swigregister(MoveEventPtr) #--------------------------------------------------------------------------- class PaintEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPaintEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3575,7 +3682,6 @@ class PaintEventPtr(PaintEvent): _core.PaintEvent_swigregister(PaintEventPtr) class NcPaintEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNcPaintEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3595,7 +3701,6 @@ _core.NcPaintEvent_swigregister(NcPaintEventPtr) #--------------------------------------------------------------------------- class EraseEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxEraseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3619,7 +3724,6 @@ _core.EraseEvent_swigregister(EraseEventPtr) #--------------------------------------------------------------------------- class FocusEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFocusEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3647,7 +3751,6 @@ _core.FocusEvent_swigregister(FocusEventPtr) #--------------------------------------------------------------------------- class ChildFocusEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxChildFocusEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3671,7 +3774,6 @@ _core.ChildFocusEvent_swigregister(ChildFocusEventPtr) #--------------------------------------------------------------------------- class ActivateEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxActivateEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3695,7 +3797,6 @@ _core.ActivateEvent_swigregister(ActivateEventPtr) #--------------------------------------------------------------------------- class InitDialogEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxInitDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3715,7 +3816,6 @@ _core.InitDialogEvent_swigregister(InitDialogEventPtr) #--------------------------------------------------------------------------- class MenuEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMenuEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3747,7 +3847,6 @@ _core.MenuEvent_swigregister(MenuEventPtr) #--------------------------------------------------------------------------- class CloseEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCloseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3791,7 +3890,6 @@ _core.CloseEvent_swigregister(CloseEventPtr) #--------------------------------------------------------------------------- class ShowEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxShowEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3819,7 +3917,6 @@ _core.ShowEvent_swigregister(ShowEventPtr) #--------------------------------------------------------------------------- class IconizeEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxIconizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3843,7 +3940,6 @@ _core.IconizeEvent_swigregister(IconizeEventPtr) #--------------------------------------------------------------------------- class MaximizeEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMaximizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3863,7 +3959,6 @@ _core.MaximizeEvent_swigregister(MaximizeEventPtr) #--------------------------------------------------------------------------- class DropFilesEvent(Event): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxDropFilesEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -3892,7 +3987,6 @@ _core.DropFilesEvent_swigregister(DropFilesEventPtr) UPDATE_UI_PROCESS_ALL = _core.UPDATE_UI_PROCESS_ALL UPDATE_UI_PROCESS_SPECIFIED = _core.UPDATE_UI_PROCESS_SPECIFIED class UpdateUIEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxUpdateUIEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4002,7 +4096,6 @@ def UpdateUIEvent_GetMode(*args, **kwargs): #--------------------------------------------------------------------------- class SysColourChangedEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSysColourChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4022,7 +4115,6 @@ _core.SysColourChangedEvent_swigregister(SysColourChangedEventPtr) #--------------------------------------------------------------------------- class MouseCaptureChangedEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMouseCaptureChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4046,7 +4138,6 @@ _core.MouseCaptureChangedEvent_swigregister(MouseCaptureChangedEventPtr) #--------------------------------------------------------------------------- class DisplayChangedEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDisplayChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4066,7 +4157,6 @@ _core.DisplayChangedEvent_swigregister(DisplayChangedEventPtr) #--------------------------------------------------------------------------- class PaletteChangedEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPaletteChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4094,7 +4184,6 @@ _core.PaletteChangedEvent_swigregister(PaletteChangedEventPtr) #--------------------------------------------------------------------------- class QueryNewPaletteEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxQueryNewPaletteEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4122,7 +4211,6 @@ _core.QueryNewPaletteEvent_swigregister(QueryNewPaletteEventPtr) #--------------------------------------------------------------------------- class NavigationKeyEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNavigationKeyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4166,7 +4254,6 @@ _core.NavigationKeyEvent_swigregister(NavigationKeyEventPtr) #--------------------------------------------------------------------------- class WindowCreateEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWindowCreateEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4188,7 +4275,6 @@ class WindowCreateEventPtr(WindowCreateEvent): _core.WindowCreateEvent_swigregister(WindowCreateEventPtr) class WindowDestroyEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWindowDestroyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4212,7 +4298,6 @@ _core.WindowDestroyEvent_swigregister(WindowDestroyEventPtr) #--------------------------------------------------------------------------- class ContextMenuEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxContextMenuEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4242,7 +4327,6 @@ _core.ContextMenuEvent_swigregister(ContextMenuEventPtr) IDLE_PROCESS_ALL = _core.IDLE_PROCESS_ALL IDLE_PROCESS_SPECIFIED = _core.IDLE_PROCESS_SPECIFIED class IdleEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxIdleEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4297,7 +4381,6 @@ def IdleEvent_CanSend(*args, **kwargs): #--------------------------------------------------------------------------- class PyEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4331,7 +4414,6 @@ class PyEventPtr(PyEvent): _core.PyEvent_swigregister(PyEventPtr) class PyCommandEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyCommandEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4373,7 +4455,6 @@ PYAPP_ASSERT_LOG = _core.PYAPP_ASSERT_LOG PRINT_WINDOWS = _core.PRINT_WINDOWS PRINT_POSTSCRIPT = _core.PRINT_POSTSCRIPT class PyApp(EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyApp instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4396,177 +4477,225 @@ class PyApp(EvtHandler): return _core.PyApp__setCallbackInfo(*args, **kwargs) def GetAppName(*args, **kwargs): - """GetAppName() -> wxString + """ + GetAppName() -> wxString -Get the application name.""" + Get the application name. + """ return _core.PyApp_GetAppName(*args, **kwargs) def SetAppName(*args, **kwargs): - """SetAppName(wxString name) + """ + SetAppName(wxString name) -Set the application name. This value may be used automatically -by wxConfig and such.""" + Set the application name. This value may be used automatically + by wxConfig and such. + """ return _core.PyApp_SetAppName(*args, **kwargs) def GetClassName(*args, **kwargs): - """GetClassName() -> wxString + """ + GetClassName() -> wxString -Get the application's class name.""" + Get the application's class name. + """ return _core.PyApp_GetClassName(*args, **kwargs) def SetClassName(*args, **kwargs): - """SetClassName(wxString name) + """ + SetClassName(wxString name) -Set the application's class name. This value may be used for X-resources if -applicable for the platform""" + Set the application's class name. This value may be used for X-resources if + applicable for the platform + """ return _core.PyApp_SetClassName(*args, **kwargs) def GetVendorName(*args, **kwargs): - """GetVendorName() -> wxString + """ + GetVendorName() -> wxString -Get the application's vendor name.""" + Get the application's vendor name. + """ return _core.PyApp_GetVendorName(*args, **kwargs) def SetVendorName(*args, **kwargs): - """SetVendorName(wxString name) + """ + SetVendorName(wxString name) -Set the application's vendor name. This value may be used automatically -by wxConfig and such.""" + Set the application's vendor name. This value may be used automatically + by wxConfig and such. + """ return _core.PyApp_SetVendorName(*args, **kwargs) def GetTraits(*args, **kwargs): - """GetTraits() -> wxAppTraits + """ + GetTraits() -> wxAppTraits -Create the app traits object to which we delegate for everything which either -should be configurable by the user (then he can change the default behaviour -simply by overriding CreateTraits() and returning his own traits object) or -which is GUI/console dependent as then wxAppTraits allows us to abstract the -differences behind the common facade""" + Create the app traits object to which we delegate for everything which either + should be configurable by the user (then he can change the default behaviour + simply by overriding CreateTraits() and returning his own traits object) or + which is GUI/console dependent as then wxAppTraits allows us to abstract the + differences behind the common facade + """ return _core.PyApp_GetTraits(*args, **kwargs) def ProcessPendingEvents(*args, **kwargs): - """ProcessPendingEvents() + """ + ProcessPendingEvents() -Process all events in the wxPendingEvents list -- it is necessary to call this -function to process posted events. This happens during each event loop -iteration.""" + Process all events in the wxPendingEvents list -- it is necessary to call this + function to process posted events. This happens during each event loop + iteration. + """ return _core.PyApp_ProcessPendingEvents(*args, **kwargs) def Yield(*args, **kwargs): - """Yield(bool onlyIfNeeded=False) -> bool + """ + Yield(bool onlyIfNeeded=False) -> bool + + Process all currently pending events right now, instead of waiting until + return to the event loop. It is an error to call Yield() recursively unless + the value of onlyIfNeeded is True. -Process all currently pending events right now, instead of waiting until -return to the event loop. It is an error to call Yield() recursively unless -the value of onlyIfNeeded is True. + WARNING: This function is dangerous as it can lead to unexpected + reentrancies (i.e. when called from an event handler it + may result in calling the same event handler again), use + with _extreme_ care or, better, don't use at all! -WARNING: This function is dangerous as it can lead to unexpected - reentrancies (i.e. when called from an event handler it - may result in calling the same event handler again), use - with _extreme_ care or, better, don't use at all! -""" + """ return _core.PyApp_Yield(*args, **kwargs) def WakeUpIdle(*args, **kwargs): - """WakeUpIdle() + """ + WakeUpIdle() -Make sure that idle events are sent again""" + Make sure that idle events are sent again + """ return _core.PyApp_WakeUpIdle(*args, **kwargs) def MainLoop(*args, **kwargs): - """MainLoop() -> int + """ + MainLoop() -> int -Execute the main GUI loop, the function returns when the loop ends.""" + Execute the main GUI loop, the function returns when the loop ends. + """ return _core.PyApp_MainLoop(*args, **kwargs) def Exit(*args, **kwargs): - """Exit() + """ + Exit() -Exit the main loop thus terminating the application.""" + Exit the main loop thus terminating the application. + """ return _core.PyApp_Exit(*args, **kwargs) def ExitMainLoop(*args, **kwargs): - """ExitMainLoop() + """ + ExitMainLoop() -Exit the main GUI loop during the next iteration (i.e. it does not -stop the program immediately!)""" + Exit the main GUI loop during the next iteration (i.e. it does not + stop the program immediately!) + """ return _core.PyApp_ExitMainLoop(*args, **kwargs) def Pending(*args, **kwargs): - """Pending() -> bool + """ + Pending() -> bool -Returns True if there are unprocessed events in the event queue.""" + Returns True if there are unprocessed events in the event queue. + """ return _core.PyApp_Pending(*args, **kwargs) def Dispatch(*args, **kwargs): - """Dispatch() -> bool + """ + Dispatch() -> bool -Process the first event in the event queue (blocks until an event -appears if there are none currently)""" + Process the first event in the event queue (blocks until an event + appears if there are none currently) + """ return _core.PyApp_Dispatch(*args, **kwargs) def ProcessIdle(*args, **kwargs): - """ProcessIdle() -> bool + """ + ProcessIdle() -> bool -Called from the MainLoop when the application becomes idle and sends an -IdleEvent to all interested parties. Returns True is more idle events are -needed, False if not.""" + Called from the MainLoop when the application becomes idle and sends an + IdleEvent to all interested parties. Returns True is more idle events are + needed, False if not. + """ return _core.PyApp_ProcessIdle(*args, **kwargs) def SendIdleEvents(*args, **kwargs): - """SendIdleEvents(Window win, IdleEvent event) -> bool + """ + SendIdleEvents(Window win, IdleEvent event) -> bool -Send idle event to window and all subwindows. Returns True if more idle time -is requested.""" + Send idle event to window and all subwindows. Returns True if more idle time + is requested. + """ return _core.PyApp_SendIdleEvents(*args, **kwargs) def IsActive(*args, **kwargs): - """IsActive() -> bool + """ + IsActive() -> bool -Return True if our app has focus.""" + Return True if our app has focus. + """ return _core.PyApp_IsActive(*args, **kwargs) def SetTopWindow(*args, **kwargs): - """SetTopWindow(Window win) + """ + SetTopWindow(Window win) -Set the "main" top level window""" + Set the "main" top level window + """ return _core.PyApp_SetTopWindow(*args, **kwargs) def GetTopWindow(*args, **kwargs): - """GetTopWindow() -> Window + """ + GetTopWindow() -> Window -Return the "main" top level window (if it hadn't been set previously with -SetTopWindow(), will return just some top level window and, if there not any, -will return None)""" + Return the "main" top level window (if it hadn't been set previously with + SetTopWindow(), will return just some top level window and, if there not any, + will return None) + """ return _core.PyApp_GetTopWindow(*args, **kwargs) def SetExitOnFrameDelete(*args, **kwargs): - """SetExitOnFrameDelete(bool flag) - -Control the exit behaviour: by default, the program will exit the main loop -(and so, usually, terminate) when the last top-level program window is -deleted. Beware that if you disable this behaviour (with -SetExitOnFrameDelete(False)), you'll have to call ExitMainLoop() explicitly -from somewhere. -""" + """ + SetExitOnFrameDelete(bool flag) + + Control the exit behaviour: by default, the program will exit the main loop + (and so, usually, terminate) when the last top-level program window is + deleted. Beware that if you disable this behaviour (with + SetExitOnFrameDelete(False)), you'll have to call ExitMainLoop() explicitly + from somewhere. + + """ return _core.PyApp_SetExitOnFrameDelete(*args, **kwargs) def GetExitOnFrameDelete(*args, **kwargs): - """GetExitOnFrameDelete() -> bool + """ + GetExitOnFrameDelete() -> bool -Get the current exit behaviour setting.""" + Get the current exit behaviour setting. + """ return _core.PyApp_GetExitOnFrameDelete(*args, **kwargs) def SetUseBestVisual(*args, **kwargs): - """SetUseBestVisual(bool flag) + """ + SetUseBestVisual(bool flag) -Set whether the app should try to use the best available visual on systems -where more than one is available, (Sun, SGI, XFree86 4, etc.)""" + Set whether the app should try to use the best available visual on systems + where more than one is available, (Sun, SGI, XFree86 4, etc.) + """ return _core.PyApp_SetUseBestVisual(*args, **kwargs) def GetUseBestVisual(*args, **kwargs): - """GetUseBestVisual() -> bool + """ + GetUseBestVisual() -> bool -Get current UseBestVisual setting.""" + Get current UseBestVisual setting. + """ return _core.PyApp_GetUseBestVisual(*args, **kwargs) def SetPrintMode(*args, **kwargs): @@ -4578,22 +4707,26 @@ Get current UseBestVisual setting.""" return _core.PyApp_GetPrintMode(*args, **kwargs) def SetAssertMode(*args, **kwargs): - """SetAssertMode(int mode) + """ + SetAssertMode(int mode) -Set the OnAssert behaviour for debug and hybrid builds. The following flags -may be or'd together: + Set the OnAssert behaviour for debug and hybrid builds. The following flags + may be or'd together: - wxPYAPP_ASSERT_SUPPRESS Don't do anything - wxPYAPP_ASSERT_EXCEPTION Turn it into a Python exception if possible (default) - wxPYAPP_ASSERT_DIALOG Display a message dialog - wxPYAPP_ASSERT_LOG Write the assertion info to the wxLog -""" + wxPYAPP_ASSERT_SUPPRESS Don't do anything + wxPYAPP_ASSERT_EXCEPTION Turn it into a Python exception if possible (default) + wxPYAPP_ASSERT_DIALOG Display a message dialog + wxPYAPP_ASSERT_LOG Write the assertion info to the wxLog + + """ return _core.PyApp_SetAssertMode(*args, **kwargs) def GetAssertMode(*args, **kwargs): - """GetAssertMode() -> int + """ + GetAssertMode() -> int -Get the current OnAssert behaviour setting.""" + Get the current OnAssert behaviour setting. + """ return _core.PyApp_GetAssertMode(*args, **kwargs) def GetMacSupportPCMenuShortcuts(*args, **kwargs): @@ -4647,16 +4780,20 @@ Get the current OnAssert behaviour setting.""" SetMacHelpMenuTitleName = staticmethod(SetMacHelpMenuTitleName) def _BootstrapApp(*args, **kwargs): - """_BootstrapApp() + """ + _BootstrapApp() -For internal use only""" + For internal use only + """ return _core.PyApp__BootstrapApp(*args, **kwargs) def GetComCtl32Version(*args, **kwargs): - """PyApp.GetComCtl32Version() -> int + """ + PyApp.GetComCtl32Version() -> int -Returns 400, 470, 471 for comctl32.dll 4.00, 4.70, 4.71 or 0 if it -wasn't found at all. Raises an exception on non-Windows platforms.""" + Returns 400, 470, 471 for comctl32.dll 4.00, 4.70, 4.71 or 0 if it + wasn't found at all. Raises an exception on non-Windows platforms. + """ return _core.PyApp_GetComCtl32Version(*args, **kwargs) GetComCtl32Version = staticmethod(GetComCtl32Version) @@ -4709,66 +4846,84 @@ def PyApp_SetMacHelpMenuTitleName(*args, **kwargs): return _core.PyApp_SetMacHelpMenuTitleName(*args, **kwargs) def PyApp_GetComCtl32Version(*args, **kwargs): - """PyApp_GetComCtl32Version() -> int + """ + PyApp_GetComCtl32Version() -> int -Returns 400, 470, 471 for comctl32.dll 4.00, 4.70, 4.71 or 0 if it -wasn't found at all. Raises an exception on non-Windows platforms.""" + Returns 400, 470, 471 for comctl32.dll 4.00, 4.70, 4.71 or 0 if it + wasn't found at all. Raises an exception on non-Windows platforms. + """ return _core.PyApp_GetComCtl32Version(*args, **kwargs) #--------------------------------------------------------------------------- def Exit(*args, **kwargs): - """Exit() + """ + Exit() -Force an exit of the application. Convenience for wx.GetApp().Exit()""" + Force an exit of the application. Convenience for wx.GetApp().Exit() + """ return _core.Exit(*args, **kwargs) def Yield(*args, **kwargs): - """Yield() -> bool + """ + Yield() -> bool -Yield to other apps/messages. Convenience for wx.GetApp().Yield()""" + Yield to other apps/messages. Convenience for wx.GetApp().Yield() + """ return _core.Yield(*args, **kwargs) def YieldIfNeeded(*args, **kwargs): - """YieldIfNeeded() -> bool + """ + YieldIfNeeded() -> bool -Yield to other apps/messages. Convenience for wx.GetApp().Yield(True)""" + Yield to other apps/messages. Convenience for wx.GetApp().Yield(True) + """ return _core.YieldIfNeeded(*args, **kwargs) def SafeYield(*args, **kwargs): - """SafeYield(Window win=None, bool onlyIfNeeded=False) -> bool + """ + SafeYield(Window win=None, bool onlyIfNeeded=False) -> bool -This function is similar to wx.Yield, except that it disables the user input -to all program windows before calling wx.Yield and re-enables it again -afterwards. If win is not None, this window will remain enabled, allowing the -implementation of some limited user interaction. + This function is similar to wx.Yield, except that it disables the user input + to all program windows before calling wx.Yield and re-enables it again + afterwards. If win is not None, this window will remain enabled, allowing the + implementation of some limited user interaction. -Returns the result of the call to wx.Yield.""" + Returns the result of the call to wx.Yield. + """ return _core.SafeYield(*args, **kwargs) def WakeUpIdle(*args, **kwargs): - """WakeUpIdle() + """ + WakeUpIdle() -Cause the message queue to become empty again, so idle events will be sent.""" + Cause the message queue to become empty again, so idle events will be sent. + """ return _core.WakeUpIdle(*args, **kwargs) def PostEvent(*args, **kwargs): - """PostEvent(EvtHandler dest, Event event) + """ + PostEvent(EvtHandler dest, Event event) -Send an event to a window or other wx.EvtHandler to be processed later.""" + Send an event to a window or other wx.EvtHandler to be processed later. + """ return _core.PostEvent(*args, **kwargs) def App_CleanUp(*args, **kwargs): - """App_CleanUp() + """ + App_CleanUp() -For internal use only, it is used to cleanup after wxWindows when Python shuts down.""" + For internal use only, it is used to cleanup after wxWindows when Python shuts down. + """ return _core.App_CleanUp(*args, **kwargs) def GetApp(*args, **kwargs): - """GetApp() -> PyApp + """ + GetApp() -> PyApp -Return a reference to the current wxApp object.""" + Return a reference to the current wxApp object. + """ return _core.GetApp(*args, **kwargs) #---------------------------------------------------------------------- @@ -4889,17 +5044,20 @@ your Mac.""" def SetTopWindow(self, frame): + """Set the \"main\" top level window""" if self.stdioWin: self.stdioWin.SetParent(frame) wx.PyApp.SetTopWindow(self, frame) def MainLoop(self): + """Execute the main GUI event loop""" wx.PyApp.MainLoop(self) self.RestoreStdio() def RedirectStdio(self, filename): + """Redirect sys.stdout and sys.stderr to a file or a popup window.""" if filename: _sys.stdout = _sys.stderr = open(filename, 'a') else: @@ -4982,13 +5140,99 @@ _sys.__wxPythonCleanup = __wxPyCleanup() #--------------------------------------------------------------------------- +class AcceleratorEntry(object): + def __repr__(self): + return "<%s.%s; proxy of C++ wxAcceleratorEntry instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """__init__(int flags=0, int keyCode=0, int cmd=0, MenuItem item=None) -> AcceleratorEntry""" + newobj = _core.new_AcceleratorEntry(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def __del__(self, destroy=_core.delete_AcceleratorEntry): + """__del__()""" + try: + if self.thisown: destroy(self) + except: pass + + def Set(*args, **kwargs): + """Set(int flags, int keyCode, int cmd, MenuItem item=None)""" + return _core.AcceleratorEntry_Set(*args, **kwargs) + + def SetMenuItem(*args, **kwargs): + """SetMenuItem(MenuItem item)""" + return _core.AcceleratorEntry_SetMenuItem(*args, **kwargs) + + def GetMenuItem(*args, **kwargs): + """GetMenuItem() -> MenuItem""" + return _core.AcceleratorEntry_GetMenuItem(*args, **kwargs) + + def GetFlags(*args, **kwargs): + """GetFlags() -> int""" + return _core.AcceleratorEntry_GetFlags(*args, **kwargs) + + def GetKeyCode(*args, **kwargs): + """GetKeyCode() -> int""" + return _core.AcceleratorEntry_GetKeyCode(*args, **kwargs) + + def GetCommand(*args, **kwargs): + """GetCommand() -> int""" + return _core.AcceleratorEntry_GetCommand(*args, **kwargs) + + +class AcceleratorEntryPtr(AcceleratorEntry): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = AcceleratorEntry +_core.AcceleratorEntry_swigregister(AcceleratorEntryPtr) + +class AcceleratorTable(Object): + def __repr__(self): + return "<%s.%s; proxy of C++ wxAcceleratorTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """ + __init__(entries) -> AcceleratorTable + + Construct an AcceleratorTable from a list of AcceleratorEntry items or + 3-tuples (flags, keyCode, cmdID) + """ + newobj = _core.new_AcceleratorTable(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def __del__(self, destroy=_core.delete_AcceleratorTable): + """__del__()""" + try: + if self.thisown: destroy(self) + except: pass + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _core.AcceleratorTable_Ok(*args, **kwargs) + + +class AcceleratorTablePtr(AcceleratorTable): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = AcceleratorTable +_core.AcceleratorTable_swigregister(AcceleratorTablePtr) + + +def GetAccelFromString(*args, **kwargs): + """GetAccelFromString(wxString label) -> AcceleratorEntry""" + return _core.GetAccelFromString(*args, **kwargs) +#--------------------------------------------------------------------------- + class Window(EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWindow 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=0, wxString name=PanelNameStr) -> Window""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> Window + """ newobj = _core.new_Window(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -4996,8 +5240,10 @@ class Window(EvtHandler): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, wxString name=PanelNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> bool + """ return _core.Window_Create(*args, **kwargs) def Close(*args, **kwargs): @@ -5005,9 +5251,11 @@ class Window(EvtHandler): return _core.Window_Close(*args, **kwargs) def Destroy(*args, **kwargs): - """Destroy() -> bool + """ + Destroy() -> bool -Deletes the C++ object this Python object is a proxy for.""" + Deletes the C++ object this Python object is a proxy for. + """ return _core.Window_Destroy(*args, **kwargs) def DestroyChildren(*args, **kwargs): @@ -5111,27 +5359,35 @@ Deletes the C++ object this Python object is a proxy for.""" return _core.Window_SetClientRect(*args, **kwargs) def GetPosition(*args, **kwargs): - """GetPosition() -> Point + """ + GetPosition() -> Point -Get the window's position.""" + Get the window's position. + """ return _core.Window_GetPosition(*args, **kwargs) def GetPositionTuple(*args, **kwargs): - """GetPositionTuple() -> (x,y) + """ + GetPositionTuple() -> (x,y) -Get the window's position.""" + Get the window's position. + """ return _core.Window_GetPositionTuple(*args, **kwargs) def GetSize(*args, **kwargs): - """GetSize() -> Size + """ + GetSize() -> Size -Get the window size.""" + Get the window size. + """ return _core.Window_GetSize(*args, **kwargs) def GetSizeTuple(*args, **kwargs): - """GetSizeTuple() -> (width, height) + """ + GetSizeTuple() -> (width, height) -Get the window size.""" + Get the window size. + """ return _core.Window_GetSizeTuple(*args, **kwargs) def GetRect(*args, **kwargs): @@ -5139,15 +5395,19 @@ Get the window size.""" return _core.Window_GetRect(*args, **kwargs) def GetClientSize(*args, **kwargs): - """GetClientSize() -> Size + """ + GetClientSize() -> Size -Get the window's client size.""" + Get the window's client size. + """ return _core.Window_GetClientSize(*args, **kwargs) def GetClientSizeTuple(*args, **kwargs): - """GetClientSizeTuple() -> (width, height) + """ + GetClientSizeTuple() -> (width, height) -Get the window's client size.""" + Get the window's client size. + """ return _core.Window_GetClientSizeTuple(*args, **kwargs) def GetClientAreaOrigin(*args, **kwargs): @@ -5159,17 +5419,21 @@ Get the window's client size.""" return _core.Window_GetClientRect(*args, **kwargs) def GetBestSize(*args, **kwargs): - """GetBestSize() -> Size + """ + GetBestSize() -> Size -Get the size best suited for the window (in fact, minimal acceptable size -using which it will still look "nice")""" + Get the size best suited for the window (in fact, minimal acceptable size + using which it will still look "nice") + """ return _core.Window_GetBestSize(*args, **kwargs) def GetBestSizeTuple(*args, **kwargs): - """GetBestSizeTuple() -> (width, height) + """ + GetBestSizeTuple() -> (width, height) -Get the size best suited for the window (in fact, minimal acceptable size -using which it will still look "nice")""" + Get the size best suited for the window (in fact, minimal acceptable size + using which it will still look "nice") + """ return _core.Window_GetBestSizeTuple(*args, **kwargs) def GetAdjustedBestSize(*args, **kwargs): @@ -5200,8 +5464,10 @@ using which it will still look "nice")""" return _core.Window_FitInside(*args, **kwargs) def SetSizeHints(*args, **kwargs): - """SetSizeHints(int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, - int incH=-1)""" + """ + SetSizeHints(int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, + int incH=-1) + """ return _core.Window_SetSizeHints(*args, **kwargs) def SetVirtualSizeHints(*args, **kwargs): @@ -5229,35 +5495,43 @@ using which it will still look "nice")""" return _core.Window_GetMaxSize(*args, **kwargs) def SetVirtualSize(*args, **kwargs): - """SetVirtualSize(Size size) + """ + SetVirtualSize(Size size) -Set the the virtual size of a window. For most windows this is just the -client area of the window, but for some like scrolled windows it is more or -less independent of the screen window size.""" + Set the the virtual size of a window. For most windows this is just the + client area of the window, but for some like scrolled windows it is more or + less independent of the screen window size. + """ return _core.Window_SetVirtualSize(*args, **kwargs) def SetVirtualSizeWH(*args, **kwargs): - """SetVirtualSizeWH(int w, int h) + """ + SetVirtualSizeWH(int w, int h) -Set the the virtual size of a window. For most windows this is just the -client area of the window, but for some like scrolled windows it is more or -less independent of the screen window size.""" + Set the the virtual size of a window. For most windows this is just the + client area of the window, but for some like scrolled windows it is more or + less independent of the screen window size. + """ return _core.Window_SetVirtualSizeWH(*args, **kwargs) def GetVirtualSize(*args, **kwargs): - """GetVirtualSize() -> Size + """ + GetVirtualSize() -> Size -Get the the virtual size of the window. For most windows this is just -the client area of the window, but for some like scrolled windows it is -more or less independent of the screen window size.""" + Get the the virtual size of the window. For most windows this is just + the client area of the window, but for some like scrolled windows it is + more or less independent of the screen window size. + """ return _core.Window_GetVirtualSize(*args, **kwargs) def GetVirtualSizeTuple(*args, **kwargs): - """GetVirtualSizeTuple() -> (width, height) + """ + GetVirtualSizeTuple() -> (width, height) -Get the the virtual size of the window. For most windows this is just -the client area of the window, but for some like scrolled windows it is -more or less independent of the screen window size.""" + Get the the virtual size of the window. For most windows this is just + the client area of the window, but for some like scrolled windows it is + more or less independent of the screen window size. + """ return _core.Window_GetVirtualSizeTuple(*args, **kwargs) def GetBestVirtualSize(*args, **kwargs): @@ -5434,11 +5708,11 @@ more or less independent of the screen window size.""" return _core.Window_GetValidator(*args, **kwargs) def SetAcceleratorTable(*args, **kwargs): - """SetAcceleratorTable(wxAcceleratorTable accel)""" + """SetAcceleratorTable(AcceleratorTable accel)""" return _core.Window_SetAcceleratorTable(*args, **kwargs) def GetAcceleratorTable(*args, **kwargs): - """GetAcceleratorTable() -> wxAcceleratorTable""" + """GetAcceleratorTable() -> AcceleratorTable""" return _core.Window_GetAcceleratorTable(*args, **kwargs) def RegisterHotKey(*args, **kwargs): @@ -5591,16 +5865,20 @@ more or less independent of the screen window size.""" return _core.Window_GetCharWidth(*args, **kwargs) def GetTextExtent(*args, **kwargs): - """GetTextExtent(wxString string) -> (width, height) + """ + GetTextExtent(wxString string) -> (width, height) -Get the width and height of the text using the current font.""" + Get the width and height of the text using the current font. + """ return _core.Window_GetTextExtent(*args, **kwargs) def GetFullTextExtent(*args, **kwargs): - """GetFullTextExtent(wxString string, Font font=None) -> - (width, height, descent, externalLeading) + """ + GetFullTextExtent(wxString string, Font font=None) -> + (width, height, descent, externalLeading) -Get the width, height, decent and leading of the text using the current or specified font.""" + Get the width, height, decent and leading of the text using the current or specified font. + """ return _core.Window_GetFullTextExtent(*args, **kwargs) def ClientToScreenXY(*args, **kwargs): @@ -5795,6 +6073,7 @@ class WindowPtr(Window): if not hasattr(self,"thisown"): self.thisown = 0 self.__class__ = Window _core.Window_swigregister(WindowPtr) +NullAcceleratorTable = cvar.NullAcceleratorTable PanelNameStr = cvar.PanelNameStr def PreWindow(*args, **kwargs): @@ -5854,7 +6133,6 @@ def Window_FromHWND(*args, **kwargs): #--------------------------------------------------------------------------- class Validator(EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxValidator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -5916,7 +6194,6 @@ def Validator_SetBellOnError(*args, **kwargs): return _core.Validator_SetBellOnError(*args, **kwargs) class PyValidator(Validator): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyValidator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -5944,7 +6221,6 @@ _core.PyValidator_swigregister(PyValidatorPtr) #--------------------------------------------------------------------------- class Menu(EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMenu instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -5956,8 +6232,10 @@ class Menu(EvtHandler): self._setOORInfo(self) def Append(*args, **kwargs): - """Append(int itemid, wxString text, wxString help=wxPyEmptyString, - wxItemKind kind=ITEM_NORMAL)""" + """ + Append(int itemid, wxString text, wxString help=wxPyEmptyString, + wxItemKind kind=ITEM_NORMAL) + """ return _core.Menu_Append(*args, **kwargs) def AppendSeparator(*args, **kwargs): @@ -5989,8 +6267,10 @@ class Menu(EvtHandler): return _core.Menu_InsertItem(*args, **kwargs) def Insert(*args, **kwargs): - """Insert(size_t pos, int itemid, wxString text, wxString help=wxPyEmptyString, - wxItemKind kind=ITEM_NORMAL)""" + """ + Insert(size_t pos, int itemid, wxString text, wxString help=wxPyEmptyString, + wxItemKind kind=ITEM_NORMAL) + """ return _core.Menu_Insert(*args, **kwargs) def InsertSeparator(*args, **kwargs): @@ -6006,8 +6286,10 @@ class Menu(EvtHandler): return _core.Menu_InsertRadioItem(*args, **kwargs) def InsertMenu(*args, **kwargs): - """InsertMenu(size_t pos, int itemid, wxString text, Menu submenu, - wxString help=wxPyEmptyString)""" + """ + InsertMenu(size_t pos, int itemid, wxString text, Menu submenu, + wxString help=wxPyEmptyString) + """ return _core.Menu_InsertMenu(*args, **kwargs) def PrependItem(*args, **kwargs): @@ -6015,8 +6297,10 @@ class Menu(EvtHandler): return _core.Menu_PrependItem(*args, **kwargs) def Prepend(*args, **kwargs): - """Prepend(int itemid, wxString text, wxString help=wxPyEmptyString, - wxItemKind kind=ITEM_NORMAL)""" + """ + Prepend(int itemid, wxString text, wxString help=wxPyEmptyString, + wxItemKind kind=ITEM_NORMAL) + """ return _core.Menu_Prepend(*args, **kwargs) def PrependSeparator(*args, **kwargs): @@ -6052,21 +6336,27 @@ class Menu(EvtHandler): return _core.Menu_DeleteItem(*args, **kwargs) def Destroy(*args, **kwargs): - """Destroy() + """ + Destroy() -Deletes the C++ object this Python object is a proxy for.""" + Deletes the C++ object this Python object is a proxy for. + """ return _core.Menu_Destroy(*args, **kwargs) def DestroyId(*args, **kwargs): - """DestroyId(int itemid) -> bool + """ + DestroyId(int itemid) -> bool -Deletes the C++ object this Python object is a proxy for.""" + Deletes the C++ object this Python object is a proxy for. + """ return _core.Menu_DestroyId(*args, **kwargs) def DestroyItem(*args, **kwargs): - """DestroyItem(MenuItem item) -> bool + """ + DestroyItem(MenuItem item) -> bool -Deletes the C++ object this Python object is a proxy for.""" + Deletes the C++ object this Python object is a proxy for. + """ return _core.Menu_DestroyItem(*args, **kwargs) def GetMenuItemCount(*args, **kwargs): @@ -6189,7 +6479,6 @@ DefaultValidator = cvar.DefaultValidator #--------------------------------------------------------------------------- class MenuBar(Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMenuBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -6311,13 +6600,14 @@ _core.MenuBar_swigregister(MenuBarPtr) #--------------------------------------------------------------------------- class MenuItem(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMenuItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Menu parentMenu=None, int id=ID_SEPARATOR, wxString text=wxPyEmptyString, - wxString help=wxPyEmptyString, - wxItemKind kind=ITEM_NORMAL, Menu subMenu=None) -> MenuItem""" + """ + __init__(Menu parentMenu=None, int id=ID_SEPARATOR, wxString text=wxPyEmptyString, + wxString help=wxPyEmptyString, + wxItemKind kind=ITEM_NORMAL, Menu subMenu=None) -> MenuItem + """ newobj = _core.new_MenuItem(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -6412,11 +6702,11 @@ class MenuItem(Object): return _core.MenuItem_GetHelp(*args, **kwargs) def GetAccel(*args, **kwargs): - """GetAccel() -> wxAcceleratorEntry""" + """GetAccel() -> AcceleratorEntry""" return _core.MenuItem_GetAccel(*args, **kwargs) def SetAccel(*args, **kwargs): - """SetAccel(wxAcceleratorEntry accel)""" + """SetAccel(AcceleratorEntry accel)""" return _core.MenuItem_SetAccel(*args, **kwargs) def GetDefaultMarginWidth(*args, **kwargs): @@ -6451,13 +6741,14 @@ def MenuItem_GetDefaultMarginWidth(*args, **kwargs): #--------------------------------------------------------------------------- class Control(Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxControl 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=0, Validator validator=DefaultValidator, - wxString name=wxPyControlNameStr) -> Control""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyControlNameStr) -> Control + """ newobj = _core.new_Control(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -6465,9 +6756,11 @@ class Control(Window): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyControlNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyControlNameStr) -> bool + """ return _core.Control_Create(*args, **kwargs) def Command(*args, **kwargs): @@ -6499,7 +6792,6 @@ def PreControl(*args, **kwargs): #--------------------------------------------------------------------------- class ItemContainer(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxItemContainer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -6578,7 +6870,6 @@ _core.ItemContainer_swigregister(ItemContainerPtr) #--------------------------------------------------------------------------- class ControlWithItems(Control,ItemContainer): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxControlWithItems instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -6593,7 +6884,6 @@ _core.ControlWithItems_swigregister(ControlWithItemsPtr) #--------------------------------------------------------------------------- class SizerItem(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSizerItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -6731,28 +7021,33 @@ class SizerItemPtr(SizerItem): _core.SizerItem_swigregister(SizerItemPtr) def SizerItemSpacer(*args, **kwargs): - """SizerItemSpacer(int width, int height, int proportion, int flag, int border, - Object userData) -> SizerItem""" + """ + SizerItemSpacer(int width, int height, int proportion, int flag, int border, + Object userData) -> SizerItem + """ val = _core.new_SizerItemSpacer(*args, **kwargs) val.thisown = 1 return val def SizerItemWindow(*args, **kwargs): - """SizerItemWindow(Window window, int proportion, int flag, int border, - Object userData) -> SizerItem""" + """ + SizerItemWindow(Window window, int proportion, int flag, int border, + Object userData) -> SizerItem + """ val = _core.new_SizerItemWindow(*args, **kwargs) val.thisown = 1 return val def SizerItemSizer(*args, **kwargs): - """SizerItemSizer(Sizer sizer, int proportion, int flag, int border, - Object userData) -> SizerItem""" + """ + SizerItemSizer(Sizer sizer, int proportion, int flag, int border, + Object userData) -> SizerItem + """ val = _core.new_SizerItemSizer(*args, **kwargs) val.thisown = 1 return val class Sizer(Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -6761,18 +7056,24 @@ class Sizer(Object): return _core.Sizer__setOORInfo(*args, **kwargs) def Add(*args, **kwargs): - """Add(PyObject item, int proportion=0, int flag=0, int border=0, - PyObject userData=None)""" + """ + Add(PyObject item, int proportion=0, int flag=0, int border=0, + PyObject userData=None) + """ return _core.Sizer_Add(*args, **kwargs) def Insert(*args, **kwargs): - """Insert(int before, PyObject item, int proportion=0, int flag=0, - int border=0, PyObject userData=None)""" + """ + Insert(int before, PyObject item, int proportion=0, int flag=0, + int border=0, PyObject userData=None) + """ return _core.Sizer_Insert(*args, **kwargs) def Prepend(*args, **kwargs): - """Prepend(PyObject item, int proportion=0, int flag=0, int border=0, - PyObject userData=None)""" + """ + Prepend(PyObject item, int proportion=0, int flag=0, int border=0, + PyObject userData=None) + """ return _core.Sizer_Prepend(*args, **kwargs) def Remove(*args, **kwargs): @@ -6906,7 +7207,6 @@ class SizerPtr(Sizer): _core.Sizer_swigregister(SizerPtr) class PySizer(Sizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPySizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -6932,7 +7232,6 @@ _core.PySizer_swigregister(PySizerPtr) #--------------------------------------------------------------------------- class BoxSizer(Sizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBoxSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -6970,7 +7269,6 @@ _core.BoxSizer_swigregister(BoxSizerPtr) #--------------------------------------------------------------------------- class StaticBoxSizer(BoxSizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStaticBoxSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7004,7 +7302,6 @@ _core.StaticBoxSizer_swigregister(StaticBoxSizerPtr) #--------------------------------------------------------------------------- class GridSizer(Sizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7069,7 +7366,6 @@ FLEX_GROWMODE_NONE = _core.FLEX_GROWMODE_NONE FLEX_GROWMODE_SPECIFIED = _core.FLEX_GROWMODE_SPECIFIED FLEX_GROWMODE_ALL = _core.FLEX_GROWMODE_ALL class FlexGridSizer(GridSizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFlexGridSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7139,7 +7435,6 @@ _core.FlexGridSizer_swigregister(FlexGridSizerPtr) #--------------------------------------------------------------------------- class GBPosition(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGBPosition instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7206,7 +7501,6 @@ class GBPositionPtr(GBPosition): _core.GBPosition_swigregister(GBPositionPtr) class GBSpan(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGBSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7273,7 +7567,6 @@ class GBSpanPtr(GBSpan): _core.GBSpan_swigregister(GBSpanPtr) class GBSizerItem(SizerItem): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGBSizerItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7301,8 +7594,10 @@ class GBSizerItem(SizerItem): return _core.GBSizerItem_SetSpan(*args, **kwargs) def Intersects(*args): - """Intersects(GBSizerItem other) -> bool -Intersects(GBPosition pos, GBSpan span) -> bool""" + """ + Intersects(GBSizerItem other) -> bool + Intersects(GBPosition pos, GBSpan span) -> bool + """ return _core.GBSizerItem_Intersects(*args) def GetEndPos(*args, **kwargs): @@ -7327,28 +7622,33 @@ _core.GBSizerItem_swigregister(GBSizerItemPtr) DefaultSpan = cvar.DefaultSpan def GBSizerItemWindow(*args, **kwargs): - """GBSizerItemWindow(Window window, GBPosition pos, GBSpan span, int flag, - int border, Object userData) -> GBSizerItem""" + """ + GBSizerItemWindow(Window window, GBPosition pos, GBSpan span, int flag, + int border, Object userData) -> GBSizerItem + """ val = _core.new_GBSizerItemWindow(*args, **kwargs) val.thisown = 1 return val def GBSizerItemSizer(*args, **kwargs): - """GBSizerItemSizer(Sizer sizer, GBPosition pos, GBSpan span, int flag, - int border, Object userData) -> GBSizerItem""" + """ + GBSizerItemSizer(Sizer sizer, GBPosition pos, GBSpan span, int flag, + int border, Object userData) -> GBSizerItem + """ val = _core.new_GBSizerItemSizer(*args, **kwargs) val.thisown = 1 return val def GBSizerItemSpacer(*args, **kwargs): - """GBSizerItemSpacer(int width, int height, GBPosition pos, GBSpan span, - int flag, int border, Object userData) -> GBSizerItem""" + """ + GBSizerItemSpacer(int width, int height, GBPosition pos, GBSpan span, + int flag, int border, Object userData) -> GBSizerItem + """ val = _core.new_GBSizerItemSpacer(*args, **kwargs) val.thisown = 1 return val class GridBagSizer(FlexGridSizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridBagSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7358,8 +7658,10 @@ class GridBagSizer(FlexGridSizer): self.thisown = 1 del newobj.thisown def Add(*args, **kwargs): - """Add(PyObject item, GBPosition pos, GBSpan span=DefaultSpan, - int flag=0, int border=0, PyObject userData=None) -> bool""" + """ + Add(PyObject item, GBPosition pos, GBSpan span=DefaultSpan, + int flag=0, int border=0, PyObject userData=None) -> bool + """ return _core.GridBagSizer_Add(*args, **kwargs) def AddItem(*args, **kwargs): @@ -7375,32 +7677,42 @@ class GridBagSizer(FlexGridSizer): return _core.GridBagSizer_SetEmptyCellSize(*args, **kwargs) def GetItemPosition(*args): - """GetItemPosition(Window window) -> GBPosition -GetItemPosition(Sizer sizer) -> GBPosition -GetItemPosition(size_t index) -> GBPosition""" + """ + GetItemPosition(Window window) -> GBPosition + GetItemPosition(Sizer sizer) -> GBPosition + GetItemPosition(size_t index) -> GBPosition + """ return _core.GridBagSizer_GetItemPosition(*args) def SetItemPosition(*args): - """SetItemPosition(Window window, GBPosition pos) -> bool -SetItemPosition(Sizer sizer, GBPosition pos) -> bool -SetItemPosition(size_t index, GBPosition pos) -> bool""" + """ + SetItemPosition(Window window, GBPosition pos) -> bool + SetItemPosition(Sizer sizer, GBPosition pos) -> bool + SetItemPosition(size_t index, GBPosition pos) -> bool + """ return _core.GridBagSizer_SetItemPosition(*args) def GetItemSpan(*args): - """GetItemSpan(Window window) -> GBSpan -GetItemSpan(Sizer sizer) -> GBSpan -GetItemSpan(size_t index) -> GBSpan""" + """ + GetItemSpan(Window window) -> GBSpan + GetItemSpan(Sizer sizer) -> GBSpan + GetItemSpan(size_t index) -> GBSpan + """ return _core.GridBagSizer_GetItemSpan(*args) def SetItemSpan(*args): - """SetItemSpan(Window window, GBSpan span) -> bool -SetItemSpan(Sizer sizer, GBSpan span) -> bool -SetItemSpan(size_t index, GBSpan span) -> bool""" + """ + SetItemSpan(Window window, GBSpan span) -> bool + SetItemSpan(Sizer sizer, GBSpan span) -> bool + SetItemSpan(size_t index, GBSpan span) -> bool + """ return _core.GridBagSizer_SetItemSpan(*args) def FindItem(*args): - """FindItem(Window window) -> GBSizerItem -FindItem(Sizer sizer) -> GBSizerItem""" + """ + FindItem(Window window) -> GBSizerItem + FindItem(Sizer sizer) -> GBSizerItem + """ return _core.GridBagSizer_FindItem(*args) def FindItemAtPosition(*args, **kwargs): @@ -7424,8 +7736,10 @@ FindItem(Sizer sizer) -> GBSizerItem""" return _core.GridBagSizer_CalcMin(*args, **kwargs) def CheckForIntersection(*args): - """CheckForIntersection(GBSizerItem item, GBSizerItem excludeItem=None) -> bool -CheckForIntersection(GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) -> bool""" + """ + CheckForIntersection(GBSizerItem item, GBSizerItem excludeItem=None) -> bool + CheckForIntersection(GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) -> bool + """ return _core.GridBagSizer_CheckForIntersection(*args) @@ -7458,13 +7772,14 @@ RightOf = _core.RightOf SameAs = _core.SameAs Absolute = _core.Absolute class IndividualLayoutConstraint(Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxIndividualLayoutConstraint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def Set(*args, **kwargs): - """Set(wxRelationship rel, Window otherW, wxEdge otherE, int val=0, - int marg=wxLAYOUT_DEFAULT_MARGIN)""" + """ + Set(wxRelationship rel, Window otherW, wxEdge otherE, int val=0, + int marg=wxLAYOUT_DEFAULT_MARGIN) + """ return _core.IndividualLayoutConstraint_Set(*args, **kwargs) def LeftOf(*args, **kwargs): @@ -7576,7 +7891,6 @@ class IndividualLayoutConstraintPtr(IndividualLayoutConstraint): _core.IndividualLayoutConstraint_swigregister(IndividualLayoutConstraintPtr) class LayoutConstraints(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLayoutConstraints instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) left = property(_core.LayoutConstraints_left_get) diff --git a/wxPython/src/mac/core_wrap.cpp b/wxPython/src/mac/core_wrap.cpp index 6aee253f77..e8691b4d69 100644 --- a/wxPython/src/mac/core_wrap.cpp +++ b/wxPython/src/mac/core_wrap.cpp @@ -929,11 +929,11 @@ void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){ } } int wxKeyEvent_GetUniChar(wxKeyEvent *self){ - - - + #if wxUSE_UNICODE + return self->m_uniChar; + #else return 0; - + #endif } void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){ self->m_size = size; @@ -952,11 +952,7 @@ PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){ } for (int i=0; iSet(arg2,arg3,arg4,arg5); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; + wxMenuItem *arg2 = (wxMenuItem *) 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "item", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetMenuItem(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; + wxMenuItem *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; + int result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)(arg1)->GetFlags(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; + int result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)(arg1)->GetKeyCode(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; + int result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)(arg1)->GetCommand(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + int arg1 ; + wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ; + wxAcceleratorTable *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "n", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail; + { + arg2 = wxAcceleratorEntry_LIST_helper(obj0); + if (arg2) arg1 = PyList_Size(obj0); + else arg1 = 0; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 1); + { + delete [] arg2; + } + return resultobj; + fail: + { + delete [] arg2; + } + return NULL; +} + + +static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + delete arg1; + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxAcceleratorTable const *)arg1)->Ok(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static int _wrap_NullAcceleratorTable_set(PyObject *_val) { + PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only."); + return 1; +} + + +static PyObject *_wrap_NullAcceleratorTable_get() { + PyObject *pyobj; + + pyobj = SWIG_NewPointerObj((void *) &wxNullAcceleratorTable, SWIGTYPE_p_wxAcceleratorTable, 0); + return pyobj; +} + + +static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxString *arg1 = 0 ; + wxAcceleratorEntry *result; + bool temp1 = False ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "label", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail; + { + arg1 = wxString_in_helper(obj0); + if (arg1 == NULL) SWIG_fail; + temp1 = True; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0); + { + if (temp1) + delete arg1; + } + return resultobj; + fail: + { + if (temp1) + delete arg1; + } + return NULL; +} + + static int _wrap_PanelNameStr_set(PyObject *_val) { PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only."); return 1; @@ -30181,8 +30543,8 @@ static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObje static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxSizer *arg1 = (wxSizer *) 0 ; - wxSize arg2 ; - wxSize *argp2 ; + wxSize *arg2 = 0 ; + wxSize temp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -30191,11 +30553,13 @@ static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; - arg2 = *argp2; + { + arg2 = &temp2; + if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetMinSize(arg2); + (arg1)->SetMinSize((wxSize const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -35614,6 +35978,20 @@ static PyMethodDef SwigMethods[] = { { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS }, { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS }, { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS }, + { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS }, + { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS }, + { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS }, + { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS }, + { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS }, + { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS }, + { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS }, + { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS }, + { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS }, + { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS }, + { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS }, + { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS }, + { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS }, { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS }, { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS }, { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS }, @@ -36445,6 +36823,9 @@ static void *_p_wxWindowTo_p_wxObject(void *x) { static void *_p_wxControlTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); } +static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxAcceleratorTable *) x)); +} static void *_p_wxGridSizerTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); } @@ -36718,7 +37099,7 @@ static swig_type_info _swigt__p_wxImageHistogram[] = {{"_p_wxImageHistogram", 0, static swig_type_info _swigt__p_byte[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}}; static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}}; static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; static swig_type_info _swigt__p_wxPyInputStream[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}}; static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}}; static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}}; @@ -37803,6 +38184,7 @@ SWIGEXPORT(void) SWIG_init(void) { PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS)); PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS)); PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER)); + SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set); SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set); SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set); SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set); diff --git a/wxPython/src/mac/gdi.py b/wxPython/src/mac/gdi.py index 09db2db1dc..4efaad69dc 100644 --- a/wxPython/src/mac/gdi.py +++ b/wxPython/src/mac/gdi.py @@ -8,7 +8,6 @@ wx = core #--------------------------------------------------------------------------- class GDIObject(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGDIObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -46,7 +45,6 @@ _gdi.GDIObject_swigregister(GDIObjectPtr) #--------------------------------------------------------------------------- class Colour(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxColour instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -126,7 +124,6 @@ def ColourRGB(*args, **kwargs): return val class Palette(GDIObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPalette instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -165,7 +162,6 @@ _gdi.Palette_swigregister(PalettePtr) #--------------------------------------------------------------------------- class Pen(GDIObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -242,7 +238,6 @@ class PenPtr(Pen): _gdi.Pen_swigregister(PenPtr) class PyPen(Pen): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -273,11 +268,18 @@ Pen = PyPen #--------------------------------------------------------------------------- class Brush(GDIObject): - """""" + """ + A brush is a drawing tool for filling in areas. It is used for painting the + background of rectangles, ellipses, etc. It has a colour and a style. + """ def __repr__(self): return "<%s.%s; proxy of C++ wxBrush instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Colour colour, int style=SOLID) -> Brush""" + """ + __init__(Colour colour, int style=SOLID) -> Brush + + Constructs a brush from a colour object and style. + """ newobj = _gdi.new_Brush(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -334,11 +336,14 @@ class BrushPtr(Brush): _gdi.Brush_swigregister(BrushPtr) class Bitmap(GDIObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBitmap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString name, wxBitmapType type=BITMAP_TYPE_ANY) -> Bitmap""" + """ + __init__(wxString name, wxBitmapType type=BITMAP_TYPE_ANY) -> Bitmap + + Loads a bitmap from a file. + """ newobj = _gdi.new_Bitmap(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -354,43 +359,88 @@ class Bitmap(GDIObject): return _gdi.Bitmap_Ok(*args, **kwargs) def GetWidth(*args, **kwargs): - """GetWidth() -> int""" + """ + GetWidth() -> int + + Gets the width of the bitmap in pixels. + """ return _gdi.Bitmap_GetWidth(*args, **kwargs) def GetHeight(*args, **kwargs): - """GetHeight() -> int""" + """ + GetHeight() -> int + + Gets the height of the bitmap in pixels. + """ return _gdi.Bitmap_GetHeight(*args, **kwargs) def GetDepth(*args, **kwargs): - """GetDepth() -> int""" + """ + GetDepth() -> int + + Gets the colour depth of the bitmap. A value of 1 indicates a + monochrome bitmap. + """ return _gdi.Bitmap_GetDepth(*args, **kwargs) def ConvertToImage(*args, **kwargs): - """ConvertToImage() -> Image""" + """ + ConvertToImage() -> Image + + Creates a platform-independent image from a platform-dependent bitmap. This + preserves mask information so that bitmaps and images can be converted back + and forth without loss in that respect. + """ return _gdi.Bitmap_ConvertToImage(*args, **kwargs) def GetMask(*args, **kwargs): - """GetMask() -> Mask""" + """ + GetMask() -> Mask + + Gets the associated mask (if any) which may have been loaded from a file + or explpicitly set for the bitmap. + """ return _gdi.Bitmap_GetMask(*args, **kwargs) def SetMask(*args, **kwargs): - """SetMask(Mask mask)""" + """ + SetMask(Mask mask) + + Sets the mask for this bitmap. + """ return _gdi.Bitmap_SetMask(*args, **kwargs) def SetMaskColour(*args, **kwargs): - """SetMaskColour(Colour colour)""" + """ + SetMaskColour(Colour colour) + + Create a Mask based on a specified colour in the Bitmap. + """ return _gdi.Bitmap_SetMaskColour(*args, **kwargs) def GetSubBitmap(*args, **kwargs): - """GetSubBitmap(Rect rect) -> Bitmap""" + """ + GetSubBitmap(Rect rect) -> Bitmap + + Returns a sub bitmap of the current one as long as the rect belongs entirely + to the bitmap. This function preserves bit depth and mask information. + """ return _gdi.Bitmap_GetSubBitmap(*args, **kwargs) def SaveFile(*args, **kwargs): - """SaveFile(wxString name, wxBitmapType type, Palette palette=(wxPalette *) NULL) -> bool""" + """ + SaveFile(wxString name, wxBitmapType type, Palette palette=(wxPalette *) NULL) -> bool + + Saves a bitmap in the named file. + """ return _gdi.Bitmap_SaveFile(*args, **kwargs) def LoadFile(*args, **kwargs): - """LoadFile(wxString name, wxBitmapType type) -> bool""" + """ + LoadFile(wxString name, wxBitmapType type) -> bool + + Loads a bitmap from a file + """ return _gdi.Bitmap_LoadFile(*args, **kwargs) def CopyFromIcon(*args, **kwargs): @@ -398,15 +448,27 @@ class Bitmap(GDIObject): return _gdi.Bitmap_CopyFromIcon(*args, **kwargs) def SetHeight(*args, **kwargs): - """SetHeight(int height)""" + """ + SetHeight(int height) + + Set the height property (does not affect the bitmap data). + """ return _gdi.Bitmap_SetHeight(*args, **kwargs) def SetWidth(*args, **kwargs): - """SetWidth(int width)""" + """ + SetWidth(int width) + + Set the width property (does not affect the bitmap data). + """ return _gdi.Bitmap_SetWidth(*args, **kwargs) def SetDepth(*args, **kwargs): - """SetDepth(int depth)""" + """ + SetDepth(int depth) + + Set the depth property (does not affect the bitmap data). + """ return _gdi.Bitmap_SetDepth(*args, **kwargs) def __nonzero__(self): return self.Ok() @@ -419,41 +481,78 @@ class BitmapPtr(Bitmap): _gdi.Bitmap_swigregister(BitmapPtr) def EmptyBitmap(*args, **kwargs): - """EmptyBitmap(int width, int height, int depth=-1) -> Bitmap""" + """ + EmptyBitmap(int width, int height, int depth=-1) -> Bitmap + + Creates a new bitmap of the given size. A depth of -1 indicates the depth of + the current screen or visual. Some platforms only support 1 for monochrome and + -1 for the current colour setting. + """ val = _gdi.new_EmptyBitmap(*args, **kwargs) val.thisown = 1 return val def BitmapFromIcon(*args, **kwargs): - """BitmapFromIcon(Icon icon) -> Bitmap""" + """ + BitmapFromIcon(Icon icon) -> Bitmap + + Create a new bitmap from an Icon object. + """ val = _gdi.new_BitmapFromIcon(*args, **kwargs) val.thisown = 1 return val def BitmapFromImage(*args, **kwargs): - """BitmapFromImage(Image image, int depth=-1) -> Bitmap""" + """ + BitmapFromImage(Image image, int depth=-1) -> Bitmap + + Creates bitmap object from the image. This has to be done to actually display + an image as you cannot draw an image directly on a window. The resulting + bitmap will use the provided colour depth (or that of the current system if + depth is -1) which entails that a colour reduction has to take place. + """ val = _gdi.new_BitmapFromImage(*args, **kwargs) val.thisown = 1 return val def BitmapFromXPMData(*args, **kwargs): - """BitmapFromXPMData(PyObject listOfStrings) -> Bitmap""" + """ + BitmapFromXPMData(PyObject listOfStrings) -> Bitmap + + Construct a Bitmap from a list of strings formatted as XPM data. + """ val = _gdi.new_BitmapFromXPMData(*args, **kwargs) val.thisown = 1 return val def BitmapFromBits(*args, **kwargs): - """BitmapFromBits(PyObject bits, int width, int height, int depth=1) -> Bitmap""" + """ + BitmapFromBits(PyObject bits, int width, int height, int depth=1) -> Bitmap + + Creates a bitmap from an array of bits. You should only use this function for + monochrome bitmaps (depth 1) in portable programs: in this case the bits + parameter should contain an XBM image. For other bit depths, the behaviour is + platform dependent. + """ val = _gdi.new_BitmapFromBits(*args, **kwargs) val.thisown = 1 return val class Mask(core.Object): - """""" + """ + This class encapsulates a monochrome mask bitmap, where the masked area is + black and the unmasked area is white. When associated with a bitmap and drawn + in a device context, the unmasked area of the bitmap will be drawn, and the + masked area will not be drawn. + """ def __repr__(self): return "<%s.%s; proxy of C++ wxMask instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Bitmap bitmap) -> Mask""" + """ + __init__(Bitmap bitmap) -> Mask + + Constructs a mask from a monochrome bitmap. + """ newobj = _gdi.new_Mask(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -467,13 +566,17 @@ class MaskPtr(Mask): _gdi.Mask_swigregister(MaskPtr) def MaskColour(*args, **kwargs): - """MaskColour(Bitmap bitmap, Colour colour) -> Mask""" + """ + MaskColour(Bitmap bitmap, Colour colour) -> Mask + + Constructs a mask from a bitmap and a colour in that bitmap that indicates the + background. + """ val = _gdi.new_MaskColour(*args, **kwargs) val.thisown = 1 return val class Icon(GDIObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -554,7 +657,6 @@ def IconFromXPMData(*args, **kwargs): return val class IconLocation(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxIconLocation instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -599,7 +701,6 @@ class IconLocationPtr(IconLocation): _gdi.IconLocation_swigregister(IconLocationPtr) class IconBundle(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxIconBundle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -647,7 +748,6 @@ def IconBundleFromIcon(*args, **kwargs): return val class Cursor(GDIObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCursor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -688,8 +788,10 @@ def CursorFromImage(*args, **kwargs): return val def CursorFromBits(*args, **kwargs): - """CursorFromBits(PyObject bits, int width, int height, int hotSpotX=-1, - int hotSpotY=-1, PyObject maskBits=0) -> Cursor""" + """ + CursorFromBits(PyObject bits, int width, int height, int hotSpotX=-1, + int hotSpotY=-1, PyObject maskBits=0) -> Cursor + """ val = _gdi.new_CursorFromBits(*args, **kwargs) val.thisown = 1 return val @@ -700,7 +802,6 @@ OutRegion = _gdi.OutRegion PartRegion = _gdi.PartRegion InRegion = _gdi.InRegion class Region(GDIObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxRegion instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -820,7 +921,6 @@ def RegionFromPoints(*args, **kwargs): return val class RegionIterator(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxRegionIterator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -973,7 +1073,6 @@ FONTENCODING_SHIFT_JIS = _gdi.FONTENCODING_SHIFT_JIS #--------------------------------------------------------------------------- class NativeFontInfo(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNativeFontInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1081,7 +1180,6 @@ class NativeFontInfoPtr(NativeFontInfo): _gdi.NativeFontInfo_swigregister(NativeFontInfoPtr) class NativeEncodingInfo(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNativeEncodingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) facename = property(_gdi.NativeEncodingInfo_facename_get, _gdi.NativeEncodingInfo_facename_set) @@ -1125,7 +1223,6 @@ def TestFontEncoding(*args, **kwargs): #--------------------------------------------------------------------------- class FontMapper(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFontMapper instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1188,8 +1285,10 @@ class FontMapper(object): GetDefaultConfigPath = staticmethod(GetDefaultConfigPath) def GetAltForEncoding(*args, **kwargs): - """GetAltForEncoding(wxFontEncoding encoding, wxString facename=wxPyEmptyString, - bool interactive=True) -> PyObject""" + """ + GetAltForEncoding(wxFontEncoding encoding, wxString facename=wxPyEmptyString, + bool interactive=True) -> PyObject + """ return _gdi.FontMapper_GetAltForEncoding(*args, **kwargs) def IsEncodingAvailable(*args, **kwargs): @@ -1243,13 +1342,14 @@ def FontMapper_GetDefaultConfigPath(*args, **kwargs): #--------------------------------------------------------------------------- class Font(GDIObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFont instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(int pointSize, int family, int style, int weight, bool underline=False, - wxString face=wxPyEmptyString, - wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font""" + """ + __init__(int pointSize, int family, int style, int weight, bool underline=False, + wxString face=wxPyEmptyString, + wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font + """ newobj = _gdi.new_Font(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1408,8 +1508,10 @@ def FontFromNativeInfoString(*args, **kwargs): return val def Font2(*args, **kwargs): - """Font2(int pointSize, wxFontFamily family, int flags=FONTFLAG_DEFAULT, - wxString face=wxPyEmptyString, wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font""" + """ + Font2(int pointSize, wxFontFamily family, int flags=FONTFLAG_DEFAULT, + wxString face=wxPyEmptyString, wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font + """ val = _gdi.new_Font2(*args, **kwargs) val.thisown = 1 return val @@ -1425,7 +1527,6 @@ def Font_SetDefaultEncoding(*args, **kwargs): #--------------------------------------------------------------------------- class FontEnumerator(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyFontEnumerator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1704,7 +1805,6 @@ LANGUAGE_ZHUANG = _gdi.LANGUAGE_ZHUANG LANGUAGE_ZULU = _gdi.LANGUAGE_ZULU LANGUAGE_USER_DEFINED = _gdi.LANGUAGE_USER_DEFINED class LanguageInfo(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxLanguageInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1728,7 +1828,6 @@ LOCALE_DECIMAL_POINT = _gdi.LOCALE_DECIMAL_POINT LOCALE_LOAD_DEFAULT = _gdi.LOCALE_LOAD_DEFAULT LOCALE_CONV_ENCODING = _gdi.LOCALE_CONV_ENCODING class Locale(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLocale instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1744,9 +1843,11 @@ class Locale(object): except: pass def Init1(*args, **kwargs): - """Init1(wxString szName, wxString szShort=wxPyEmptyString, - wxString szLocale=wxPyEmptyString, bool bLoadDefault=True, - bool bConvertEncoding=False) -> bool""" + """ + Init1(wxString szName, wxString szShort=wxPyEmptyString, + wxString szLocale=wxPyEmptyString, bool bLoadDefault=True, + bool bConvertEncoding=False) -> bool + """ return _gdi.Locale_Init1(*args, **kwargs) def Init2(*args, **kwargs): @@ -1891,7 +1992,6 @@ PLATFORM_WINDOWS = _gdi.PLATFORM_WINDOWS PLATFORM_OS2 = _gdi.PLATFORM_OS2 PLATFORM_MAC = _gdi.PLATFORM_MAC class EncodingConverter(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxEncodingConverter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1907,8 +2007,10 @@ class EncodingConverter(core.Object): except: pass def Init(*args, **kwargs): - """Init(wxFontEncoding input_enc, wxFontEncoding output_enc, - int method=CONVERT_STRICT) -> bool""" + """ + Init(wxFontEncoding input_enc, wxFontEncoding output_enc, + int method=CONVERT_STRICT) -> bool + """ return _gdi.EncodingConverter_Init(*args, **kwargs) def Convert(*args, **kwargs): @@ -1940,8 +2042,10 @@ class EncodingConverterPtr(EncodingConverter): _gdi.EncodingConverter_swigregister(EncodingConverterPtr) def GetTranslation(*args): - """GetTranslation(wxString sz) -> wxString -GetTranslation(wxString sz1, wxString sz2, size_t n) -> wxString""" + """ + GetTranslation(wxString sz) -> wxString + GetTranslation(wxString sz1, wxString sz2, size_t n) -> wxString + """ return _gdi.GetTranslation(*args) def EncodingConverter_GetPlatformEquivalents(*args, **kwargs): @@ -1979,7 +2083,6 @@ if wx.Platform == "__WXMSW__": #--------------------------------------------------------------------------- class DC(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -2138,14 +2241,18 @@ class DC(core.Object): return _gdi.DC_DrawRotatedText(*args, **kwargs) def BlitXY(*args, **kwargs): - """BlitXY(int xdest, int ydest, int width, int height, DC source, - int xsrc, int ysrc, int rop=COPY, bool useMask=False, - int xsrcMask=-1, int ysrcMask=-1) -> bool""" + """ + BlitXY(int xdest, int ydest, int width, int height, DC source, + int xsrc, int ysrc, int rop=COPY, bool useMask=False, + int xsrcMask=-1, int ysrcMask=-1) -> bool + """ return _gdi.DC_BlitXY(*args, **kwargs) def Blit(*args, **kwargs): - """Blit(Point destPt, Size sz, DC source, Point srcPt, int rop=COPY, - bool useMask=False, Point srcPtMask=DefaultPosition) -> bool""" + """ + Blit(Point destPt, Size sz, DC source, Point srcPt, int rop=COPY, + bool useMask=False, Point srcPtMask=DefaultPosition) -> bool + """ return _gdi.DC_Blit(*args, **kwargs) def DrawLines(*args, **kwargs): @@ -2153,18 +2260,24 @@ class DC(core.Object): return _gdi.DC_DrawLines(*args, **kwargs) def DrawPolygon(*args, **kwargs): - """DrawPolygon(int points, Point points_array, int xoffset=0, int yoffset=0, - int fillStyle=ODDEVEN_RULE)""" + """ + DrawPolygon(int points, Point points_array, int xoffset=0, int yoffset=0, + int fillStyle=ODDEVEN_RULE) + """ return _gdi.DC_DrawPolygon(*args, **kwargs) def DrawLabel(*args, **kwargs): - """DrawLabel(wxString text, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, - int indexAccel=-1)""" + """ + DrawLabel(wxString text, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, + int indexAccel=-1) + """ return _gdi.DC_DrawLabel(*args, **kwargs) def DrawImageLabel(*args, **kwargs): - """DrawImageLabel(wxString text, Bitmap image, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, - int indexAccel=-1) -> Rect""" + """ + DrawImageLabel(wxString text, Bitmap image, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, + int indexAccel=-1) -> Rect + """ return _gdi.DC_DrawImageLabel(*args, **kwargs) def DrawSpline(*args, **kwargs): @@ -2248,50 +2361,64 @@ class DC(core.Object): return _gdi.DC_GetCharWidth(*args, **kwargs) def GetTextExtent(*args, **kwargs): - """GetTextExtent(wxString string) -> (width, height) + """ + GetTextExtent(wxString string) -> (width, height) -Get the width and height of the text using the current font. -Only works for single line strings.""" + Get the width and height of the text using the current font. + Only works for single line strings. + """ return _gdi.DC_GetTextExtent(*args, **kwargs) def GetFullTextExtent(*args, **kwargs): - """GetFullTextExtent(wxString string, Font font=None) -> - (width, height, descent, externalLeading) + """ + GetFullTextExtent(wxString string, Font font=None) -> + (width, height, descent, externalLeading) -Get the width, height, decent and leading of the text using the current or specified font. -Only works for single line strings.""" + Get the width, height, decent and leading of the text using the current or specified font. + Only works for single line strings. + """ return _gdi.DC_GetFullTextExtent(*args, **kwargs) def GetMultiLineTextExtent(*args, **kwargs): - """GetMultiLineTextExtent(wxString string, Font font=None) -> - (width, height, descent, externalLeading) + """ + GetMultiLineTextExtent(wxString string, Font font=None) -> + (width, height, descent, externalLeading) -Get the width, height, decent and leading of the text using the current or specified font. -Works for single as well as multi-line strings.""" + Get the width, height, decent and leading of the text using the current or specified font. + Works for single as well as multi-line strings. + """ return _gdi.DC_GetMultiLineTextExtent(*args, **kwargs) def GetSize(*args, **kwargs): - """GetSize() -> Size + """ + GetSize() -> Size -Get the DC size in device units.""" + Get the DC size in device units. + """ return _gdi.DC_GetSize(*args, **kwargs) def GetSizeTuple(*args, **kwargs): - """GetSizeTuple() -> (width, height) + """ + GetSizeTuple() -> (width, height) -Get the DC size in device units.""" + Get the DC size in device units. + """ return _gdi.DC_GetSizeTuple(*args, **kwargs) def GetSizeMM(*args, **kwargs): - """GetSizeMM() -> Size + """ + GetSizeMM() -> Size -Get the DC size in milimeters.""" + Get the DC size in milimeters. + """ return _gdi.DC_GetSizeMM(*args, **kwargs) def GetSizeMMTuple(*args, **kwargs): - """GetSizeMMTuple() -> (width, height) + """ + GetSizeMMTuple() -> (width, height) -Get the DC size in milimeters.""" + Get the DC size in milimeters. + """ return _gdi.DC_GetSizeMMTuple(*args, **kwargs) def DeviceToLogicalX(*args, **kwargs): @@ -2500,8 +2627,10 @@ Get the DC size in milimeters.""" return _gdi.DC__DrawPolygonList(*args, **kwargs) def _DrawTextList(*args, **kwargs): - """_DrawTextList(PyObject textList, PyObject pyPoints, PyObject foregroundList, - PyObject backgroundList) -> PyObject""" + """ + _DrawTextList(PyObject textList, PyObject pyPoints, PyObject foregroundList, + PyObject backgroundList) -> PyObject + """ return _gdi.DC__DrawTextList(*args, **kwargs) def DrawPointList(self, points, pens=None): @@ -2607,7 +2736,6 @@ _gdi.DC_swigregister(DCPtr) #--------------------------------------------------------------------------- class MemoryDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMemoryDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2637,7 +2765,6 @@ def MemoryDCFromDC(*args, **kwargs): #--------------------------------------------------------------------------- class BufferedDC(MemoryDC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBufferedDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2668,7 +2795,6 @@ def BufferedDCInternalBuffer(*args, **kwargs): return val class BufferedPaintDC(BufferedDC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBufferedPaintDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2688,7 +2814,6 @@ _gdi.BufferedPaintDC_swigregister(BufferedPaintDCPtr) #--------------------------------------------------------------------------- class ScreenDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxScreenDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2720,7 +2845,6 @@ _gdi.ScreenDC_swigregister(ScreenDCPtr) #--------------------------------------------------------------------------- class ClientDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxClientDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2740,7 +2864,6 @@ _gdi.ClientDC_swigregister(ClientDCPtr) #--------------------------------------------------------------------------- class PaintDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPaintDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2760,7 +2883,6 @@ _gdi.PaintDC_swigregister(PaintDCPtr) #--------------------------------------------------------------------------- class WindowDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWindowDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2780,7 +2902,6 @@ _gdi.WindowDC_swigregister(WindowDCPtr) #--------------------------------------------------------------------------- class MirrorDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMirrorDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2800,7 +2921,6 @@ _gdi.MirrorDC_swigregister(MirrorDCPtr) #--------------------------------------------------------------------------- class PostScriptDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPostScriptDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2846,7 +2966,6 @@ def PostScriptDC_GetResolution(*args, **kwargs): #--------------------------------------------------------------------------- class MetaFile(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMetaFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2864,12 +2983,13 @@ class MetaFilePtr(MetaFile): _gdi.MetaFile_swigregister(MetaFilePtr) class MetaFileDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMetaFileDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString filename=wxPyEmptyString, int width=0, int height=0, - wxString description=wxPyEmptyString) -> MetaFileDC""" + """ + __init__(wxString filename=wxPyEmptyString, int width=0, int height=0, + wxString description=wxPyEmptyString) -> MetaFileDC + """ newobj = _gdi.new_MetaFileDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2883,7 +3003,6 @@ class MetaFileDCPtr(MetaFileDC): _gdi.MetaFileDC_swigregister(MetaFileDCPtr) class PrinterDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPrinterDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2910,7 +3029,6 @@ IMAGE_LIST_NORMAL = _gdi.IMAGE_LIST_NORMAL IMAGE_LIST_SMALL = _gdi.IMAGE_LIST_SMALL IMAGE_LIST_STATE = _gdi.IMAGE_LIST_STATE class ImageList(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxImageList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2942,8 +3060,10 @@ class ImageList(core.Object): return _gdi.ImageList_Replace(*args, **kwargs) def Draw(*args, **kwargs): - """Draw(int index, DC dc, int x, int x, int flags=IMAGELIST_DRAW_NORMAL, - bool solidBackground=False) -> bool""" + """ + Draw(int index, DC dc, int x, int x, int flags=IMAGELIST_DRAW_NORMAL, + bool solidBackground=False) -> bool + """ return _gdi.ImageList_Draw(*args, **kwargs) def GetImageCount(*args, **kwargs): @@ -2973,7 +3093,6 @@ _gdi.ImageList_swigregister(ImageListPtr) #--------------------------------------------------------------------------- class PenList(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxPenList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -3002,7 +3121,6 @@ class PenListPtr(PenList): _gdi.PenList_swigregister(PenListPtr) class BrushList(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxBrushList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -3031,7 +3149,6 @@ class BrushListPtr(BrushList): _gdi.BrushList_swigregister(BrushListPtr) class ColourDatabase(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxColourDatabase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3072,7 +3189,6 @@ class ColourDatabasePtr(ColourDatabase): _gdi.ColourDatabase_swigregister(ColourDatabasePtr) class FontList(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxFontList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -3081,9 +3197,11 @@ class FontList(core.Object): return _gdi.FontList_AddFont(*args, **kwargs) def FindOrCreateFont(*args, **kwargs): - """FindOrCreateFont(int point_size, int family, int style, int weight, - bool underline=False, wxString facename=wxPyEmptyString, - wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font""" + """ + FindOrCreateFont(int point_size, int family, int style, int weight, + bool underline=False, wxString facename=wxPyEmptyString, + wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font + """ return _gdi.FontList_FindOrCreateFont(*args, **kwargs) def RemoveFont(*args, **kwargs): @@ -3107,7 +3225,6 @@ _gdi.FontList_swigregister(FontListPtr) #--------------------------------------------------------------------------- class Effects(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxEffects instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3157,8 +3274,10 @@ class Effects(core.Object): return _gdi.Effects_SetDarkShadow(*args, **kwargs) def Set(*args, **kwargs): - """Set(Colour highlightColour, Colour lightShadow, Colour faceColour, - Colour mediumShadow, Colour darkShadow)""" + """ + Set(Colour highlightColour, Colour lightShadow, Colour faceColour, + Colour mediumShadow, Colour darkShadow) + """ return _gdi.Effects_Set(*args, **kwargs) def DrawSunkenEdge(*args, **kwargs): diff --git a/wxPython/src/mac/gdi_wrap.cpp b/wxPython/src/mac/gdi_wrap.cpp index 76df93f138..5b53c69a90 100644 --- a/wxPython/src/mac/gdi_wrap.cpp +++ b/wxPython/src/mac/gdi_wrap.cpp @@ -16449,6 +16449,9 @@ static void *_p_wxPrinterDCTo_p_wxObject(void *x) { static void *_p_wxScreenDCTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxDC *) ((wxScreenDC *) x)); } +static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxAcceleratorTable *) x)); +} static void *_p_wxImageTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxImage *) x)); } @@ -16653,7 +16656,7 @@ static swig_type_info _swigt__p_wxEffects[] = {{"_p_wxEffects", 0, "wxEffects *" static swig_type_info _swigt__p_wxNativeEncodingInfo[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0},{"_p_wxNativeEncodingInfo"},{0}}; static swig_type_info _swigt__p_wxPalette[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}}; static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject},{"_p_wxPen", _p_wxPenTo_p_wxObject},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxPenList", _p_wxPenListTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxMask", _p_wxMaskTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxFont", _p_wxFontTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject},{"_p_wxRegion", _p_wxRegionTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxDC", _p_wxDCTo_p_wxObject},{"_p_wxIcon", _p_wxIconTo_p_wxObject},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject},{"_p_wxEffects", _p_wxEffectsTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxObject},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject},{"_p_wxImageList", _p_wxImageListTo_p_wxObject},{"_p_wxCursor", _p_wxCursorTo_p_wxObject},{"_p_wxObject"},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject},{"_p_wxPyPen", _p_wxPyPenTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxBrush", _p_wxBrushTo_p_wxObject},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxColour", _p_wxColourTo_p_wxObject},{"_p_wxFontList", _p_wxFontListTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject},{"_p_wxPen", _p_wxPenTo_p_wxObject},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxPenList", _p_wxPenListTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxMask", _p_wxMaskTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxFont", _p_wxFontTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject},{"_p_wxRegion", _p_wxRegionTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxDC", _p_wxDCTo_p_wxObject},{"_p_wxIcon", _p_wxIconTo_p_wxObject},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject},{"_p_wxEffects", _p_wxEffectsTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxObject},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject},{"_p_wxImageList", _p_wxImageListTo_p_wxObject},{"_p_wxCursor", _p_wxCursorTo_p_wxObject},{"_p_wxObject"},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject},{"_p_wxPyPen", _p_wxPyPenTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxBrush", _p_wxBrushTo_p_wxObject},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxColour", _p_wxColourTo_p_wxObject},{"_p_wxFontList", _p_wxFontListTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; static swig_type_info _swigt__p_wxRegionIterator[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0},{"_p_wxRegionIterator"},{0}}; static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}}; static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; diff --git a/wxPython/src/mac/grid.py b/wxPython/src/mac/grid.py index 0cc50a9b02..5874da0dbc 100644 --- a/wxPython/src/mac/grid.py +++ b/wxPython/src/mac/grid.py @@ -16,7 +16,6 @@ GRID_VALUE_LONG = _grid.GRID_VALUE_LONG GRID_VALUE_CHOICEINT = _grid.GRID_VALUE_CHOICEINT GRID_VALUE_DATETIME = _grid.GRID_VALUE_DATETIME class GridCellRenderer(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -37,8 +36,10 @@ class GridCellRenderer(object): return _grid.GridCellRenderer_DecRef(*args, **kwargs) def Draw(*args, **kwargs): - """Draw(Grid grid, GridCellAttr attr, wxDC dc, Rect rect, int row, - int col, bool isSelected)""" + """ + Draw(Grid grid, GridCellAttr attr, wxDC dc, Rect rect, int row, + int col, bool isSelected) + """ return _grid.GridCellRenderer_Draw(*args, **kwargs) def GetBestSize(*args, **kwargs): @@ -61,7 +62,6 @@ GridNoCellCoords = cvar.GridNoCellCoords GridNoCellRect = cvar.GridNoCellRect class PyGridCellRenderer(GridCellRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -89,7 +89,6 @@ class PyGridCellRendererPtr(PyGridCellRenderer): _grid.PyGridCellRenderer_swigregister(PyGridCellRendererPtr) class GridCellStringRenderer(GridCellRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -109,7 +108,6 @@ class GridCellStringRendererPtr(GridCellStringRenderer): _grid.GridCellStringRenderer_swigregister(GridCellStringRendererPtr) class GridCellNumberRenderer(GridCellStringRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellNumberRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -129,7 +127,6 @@ class GridCellNumberRendererPtr(GridCellNumberRenderer): _grid.GridCellNumberRenderer_swigregister(GridCellNumberRendererPtr) class GridCellFloatRenderer(GridCellStringRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellFloatRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -165,7 +162,6 @@ class GridCellFloatRendererPtr(GridCellFloatRenderer): _grid.GridCellFloatRenderer_swigregister(GridCellFloatRendererPtr) class GridCellBoolRenderer(GridCellRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellBoolRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -185,7 +181,6 @@ class GridCellBoolRendererPtr(GridCellBoolRenderer): _grid.GridCellBoolRenderer_swigregister(GridCellBoolRendererPtr) class GridCellDateTimeRenderer(GridCellStringRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellDateTimeRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -205,7 +200,6 @@ class GridCellDateTimeRendererPtr(GridCellDateTimeRenderer): _grid.GridCellDateTimeRenderer_swigregister(GridCellDateTimeRendererPtr) class GridCellEnumRenderer(GridCellStringRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellEnumRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -225,7 +219,6 @@ class GridCellEnumRendererPtr(GridCellEnumRenderer): _grid.GridCellEnumRenderer_swigregister(GridCellEnumRendererPtr) class GridCellAutoWrapStringRenderer(GridCellStringRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -245,7 +238,6 @@ class GridCellAutoWrapStringRendererPtr(GridCellAutoWrapStringRenderer): _grid.GridCellAutoWrapStringRenderer_swigregister(GridCellAutoWrapStringRendererPtr) class GridCellEditor(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -346,7 +338,6 @@ class GridCellEditorPtr(GridCellEditor): _grid.GridCellEditor_swigregister(GridCellEditorPtr) class PyGridCellEditor(GridCellEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -406,7 +397,6 @@ class PyGridCellEditorPtr(PyGridCellEditor): _grid.PyGridCellEditor_swigregister(PyGridCellEditorPtr) class GridCellTextEditor(GridCellEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellTextEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -430,7 +420,6 @@ class GridCellTextEditorPtr(GridCellTextEditor): _grid.GridCellTextEditor_swigregister(GridCellTextEditorPtr) class GridCellNumberEditor(GridCellTextEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellNumberEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -454,7 +443,6 @@ class GridCellNumberEditorPtr(GridCellNumberEditor): _grid.GridCellNumberEditor_swigregister(GridCellNumberEditorPtr) class GridCellFloatEditor(GridCellTextEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellFloatEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -478,7 +466,6 @@ class GridCellFloatEditorPtr(GridCellFloatEditor): _grid.GridCellFloatEditor_swigregister(GridCellFloatEditorPtr) class GridCellBoolEditor(GridCellEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellBoolEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -502,7 +489,6 @@ class GridCellBoolEditorPtr(GridCellBoolEditor): _grid.GridCellBoolEditor_swigregister(GridCellBoolEditorPtr) class GridCellChoiceEditor(GridCellEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellChoiceEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -526,7 +512,6 @@ class GridCellChoiceEditorPtr(GridCellChoiceEditor): _grid.GridCellChoiceEditor_swigregister(GridCellChoiceEditorPtr) class GridCellEnumEditor(GridCellChoiceEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellEnumEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -550,7 +535,6 @@ class GridCellEnumEditorPtr(GridCellEnumEditor): _grid.GridCellEnumEditor_swigregister(GridCellEnumEditorPtr) class GridCellAutoWrapStringEditor(GridCellTextEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -574,7 +558,6 @@ class GridCellAutoWrapStringEditorPtr(GridCellAutoWrapStringEditor): _grid.GridCellAutoWrapStringEditor_swigregister(GridCellAutoWrapStringEditorPtr) class GridCellAttr(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) Any = _grid.GridCellAttr_Any @@ -732,7 +715,6 @@ class GridCellAttrPtr(GridCellAttr): _grid.GridCellAttr_swigregister(GridCellAttrPtr) class GridCellAttrProvider(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -780,7 +762,6 @@ class GridCellAttrProviderPtr(GridCellAttrProvider): _grid.GridCellAttrProvider_swigregister(GridCellAttrProviderPtr) class PyGridCellAttrProvider(GridCellAttrProvider): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -820,7 +801,6 @@ class PyGridCellAttrProviderPtr(PyGridCellAttrProvider): _grid.PyGridCellAttrProvider_swigregister(PyGridCellAttrProviderPtr) class GridTableBase(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -973,7 +953,6 @@ class GridTableBasePtr(GridTableBase): _grid.GridTableBase_swigregister(GridTableBasePtr) class PyGridTableBase(GridTableBase): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -989,9 +968,11 @@ class PyGridTableBase(GridTableBase): return _grid.PyGridTableBase__setCallbackInfo(*args, **kwargs) def Destroy(*args, **kwargs): - """Destroy() + """ + Destroy() -Deletes the C++ object this Python object is a proxy for.""" + Deletes the C++ object this Python object is a proxy for. + """ return _grid.PyGridTableBase_Destroy(*args, **kwargs) def base_GetTypeName(*args, **kwargs): @@ -1079,7 +1060,6 @@ class PyGridTableBasePtr(PyGridTableBase): _grid.PyGridTableBase_swigregister(PyGridTableBasePtr) class GridStringTable(GridTableBase): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridStringTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1107,7 +1087,6 @@ GRIDTABLE_NOTIFY_COLS_INSERTED = _grid.GRIDTABLE_NOTIFY_COLS_INSERTED GRIDTABLE_NOTIFY_COLS_APPENDED = _grid.GRIDTABLE_NOTIFY_COLS_APPENDED GRIDTABLE_NOTIFY_COLS_DELETED = _grid.GRIDTABLE_NOTIFY_COLS_DELETED class GridTableMessage(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridTableMessage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1163,7 +1142,6 @@ class GridTableMessagePtr(GridTableMessage): _grid.GridTableMessage_swigregister(GridTableMessagePtr) class GridCellCoords(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellCoords instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1228,13 +1206,14 @@ class GridCellCoordsPtr(GridCellCoords): _grid.GridCellCoords_swigregister(GridCellCoordsPtr) class Grid(windows.ScrolledWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGrid 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=WANTS_CHARS, - wxString name=PanelNameStr) -> Grid""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=WANTS_CHARS, + wxString name=PanelNameStr) -> Grid + """ newobj = _grid.new_Grid(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1309,8 +1288,10 @@ class Grid(windows.ScrolledWindow): return _grid.Grid_DrawCellHighlight(*args, **kwargs) def DrawTextRectangle(*args, **kwargs): - """DrawTextRectangle(wxDC dc, wxString ??, Rect ??, int horizontalAlignment=LEFT, - int verticalAlignment=TOP, int textOrientation=HORIZONTAL)""" + """ + DrawTextRectangle(wxDC dc, wxString ??, Rect ??, int horizontalAlignment=LEFT, + int verticalAlignment=TOP, int textOrientation=HORIZONTAL) + """ return _grid.Grid_DrawTextRectangle(*args, **kwargs) def GetTextBoxSize(*args, **kwargs): @@ -1886,8 +1867,10 @@ class Grid(windows.ScrolledWindow): return _grid.Grid_SelectCol(*args, **kwargs) def SelectBlock(*args, **kwargs): - """SelectBlock(int topRow, int leftCol, int bottomRow, int rightCol, - bool addToSelected=False)""" + """ + SelectBlock(int topRow, int leftCol, int bottomRow, int rightCol, + bool addToSelected=False) + """ return _grid.Grid_SelectBlock(*args, **kwargs) def SelectAll(*args, **kwargs): @@ -2007,14 +1990,15 @@ class GridPtr(Grid): _grid.Grid_swigregister(GridPtr) class GridEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(int id, wxEventType type, Grid obj, int row=-1, int col=-1, - int x=-1, int y=-1, bool sel=True, bool control=False, - bool shift=False, bool alt=False, - bool meta=False) -> GridEvent""" + """ + __init__(int id, wxEventType type, Grid obj, int row=-1, int col=-1, + int x=-1, int y=-1, bool sel=True, bool control=False, + bool shift=False, bool alt=False, + bool meta=False) -> GridEvent + """ newobj = _grid.new_GridEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2060,13 +2044,14 @@ class GridEventPtr(GridEvent): _grid.GridEvent_swigregister(GridEventPtr) class GridSizeEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(int id, wxEventType type, Grid obj, int rowOrCol=-1, - int x=-1, int y=-1, bool control=False, bool shift=False, - bool alt=False, bool meta=False) -> GridSizeEvent""" + """ + __init__(int id, wxEventType type, Grid obj, int rowOrCol=-1, + int x=-1, int y=-1, bool control=False, bool shift=False, + bool alt=False, bool meta=False) -> GridSizeEvent + """ newobj = _grid.new_GridSizeEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2104,14 +2089,15 @@ class GridSizeEventPtr(GridSizeEvent): _grid.GridSizeEvent_swigregister(GridSizeEventPtr) class GridRangeSelectEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridRangeSelectEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(int id, wxEventType type, Grid obj, GridCellCoords topLeft, - GridCellCoords bottomRight, bool sel=True, - bool control=False, bool shift=False, - bool alt=False, bool meta=False) -> GridRangeSelectEvent""" + """ + __init__(int id, wxEventType type, Grid obj, GridCellCoords topLeft, + GridCellCoords bottomRight, bool sel=True, + bool control=False, bool shift=False, + bool alt=False, bool meta=False) -> GridRangeSelectEvent + """ newobj = _grid.new_GridRangeSelectEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2169,12 +2155,13 @@ class GridRangeSelectEventPtr(GridRangeSelectEvent): _grid.GridRangeSelectEvent_swigregister(GridRangeSelectEventPtr) class GridEditorCreatedEvent(core.CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridEditorCreatedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(int id, wxEventType type, Object obj, int row, int col, - Control ctrl) -> GridEditorCreatedEvent""" + """ + __init__(int id, wxEventType type, Object obj, int row, int col, + Control ctrl) -> GridEditorCreatedEvent + """ newobj = _grid.new_GridEditorCreatedEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 diff --git a/wxPython/src/mac/grid_wrap.cpp b/wxPython/src/mac/grid_wrap.cpp index 12fc52dd9e..95efeef36c 100644 --- a/wxPython/src/mac/grid_wrap.cpp +++ b/wxPython/src/mac/grid_wrap.cpp @@ -14784,9 +14784,6 @@ static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { static void *_p_wxKeyEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); } -static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); -} static void *_p_wxWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); } @@ -14796,6 +14793,9 @@ static void *_p_wxMenuTo_p_wxObject(void *x) { static void *_p_wxMenuBarTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); } +static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); +} static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); } diff --git a/wxPython/src/mac/html.py b/wxPython/src/mac/html.py index 3f585bcc02..8bc9e84430 100644 --- a/wxPython/src/mac/html.py +++ b/wxPython/src/mac/html.py @@ -45,7 +45,6 @@ HTML_URL_PAGE = _html.HTML_URL_PAGE HTML_URL_IMAGE = _html.HTML_URL_IMAGE HTML_URL_OTHER = _html.HTML_URL_OTHER class HtmlLinkInfo(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -87,7 +86,6 @@ class HtmlLinkInfoPtr(HtmlLinkInfo): _html.HtmlLinkInfo_swigregister(HtmlLinkInfoPtr) class HtmlTag(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlTag instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -132,7 +130,6 @@ class HtmlTagPtr(HtmlTag): _html.HtmlTag_swigregister(HtmlTagPtr) class HtmlParser(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -189,7 +186,6 @@ class HtmlParserPtr(HtmlParser): _html.HtmlParser_swigregister(HtmlParserPtr) class HtmlWinParser(HtmlParser): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlWinParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -323,7 +319,6 @@ class HtmlWinParserPtr(HtmlWinParser): _html.HtmlWinParser_swigregister(HtmlWinParserPtr) class HtmlTagHandler(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyHtmlTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -359,7 +354,6 @@ class HtmlTagHandlerPtr(HtmlTagHandler): _html.HtmlTagHandler_swigregister(HtmlTagHandlerPtr) class HtmlWinTagHandler(HtmlTagHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyHtmlWinTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -401,7 +395,6 @@ def HtmlWinParser_AddTagHandler(*args, **kwargs): #--------------------------------------------------------------------------- class HtmlSelection(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlSelection instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -476,7 +469,6 @@ HTML_SEL_OUT = _html.HTML_SEL_OUT HTML_SEL_IN = _html.HTML_SEL_IN HTML_SEL_CHANGING = _html.HTML_SEL_CHANGING class HtmlRenderingState(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlRenderingState instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -524,7 +516,6 @@ class HtmlRenderingStatePtr(HtmlRenderingState): _html.HtmlRenderingState_swigregister(HtmlRenderingStatePtr) class HtmlRenderingStyle(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -545,7 +536,6 @@ class HtmlRenderingStylePtr(HtmlRenderingStyle): _html.HtmlRenderingStyle_swigregister(HtmlRenderingStylePtr) class DefaultHtmlRenderingStyle(HtmlRenderingStyle): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -566,7 +556,6 @@ class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle): _html.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStylePtr) class HtmlRenderingInfo(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -615,7 +604,6 @@ HTML_FIND_EXACT = _html.HTML_FIND_EXACT HTML_FIND_NEAREST_BEFORE = _html.HTML_FIND_NEAREST_BEFORE HTML_FIND_NEAREST_AFTER = _html.HTML_FIND_NEAREST_AFTER class HtmlCell(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -753,7 +741,6 @@ class HtmlCellPtr(HtmlCell): _html.HtmlCell_swigregister(HtmlCellPtr) class HtmlWordCell(HtmlCell): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -771,7 +758,6 @@ class HtmlWordCellPtr(HtmlWordCell): _html.HtmlWordCell_swigregister(HtmlWordCellPtr) class HtmlContainerCell(HtmlCell): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -853,7 +839,6 @@ class HtmlContainerCellPtr(HtmlContainerCell): _html.HtmlContainerCell_swigregister(HtmlContainerCellPtr) class HtmlColourCell(HtmlCell): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -871,7 +856,6 @@ class HtmlColourCellPtr(HtmlColourCell): _html.HtmlColourCell_swigregister(HtmlColourCellPtr) class HtmlFontCell(HtmlCell): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -889,7 +873,6 @@ class HtmlFontCellPtr(HtmlFontCell): _html.HtmlFontCell_swigregister(HtmlFontCellPtr) class HtmlWidgetCell(HtmlCell): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -909,7 +892,6 @@ _html.HtmlWidgetCell_swigregister(HtmlWidgetCellPtr) #--------------------------------------------------------------------------- class HtmlFilter(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -935,13 +917,14 @@ _html.HtmlFilter_swigregister(HtmlFilterPtr) #--------------------------------------------------------------------------- class HtmlWindow(windows.ScrolledWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyHtmlWindow 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, int style=HW_DEFAULT_STYLE, - wxString name=wxPyHtmlWindowNameStr) -> HtmlWindow""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, int style=HW_DEFAULT_STYLE, + wxString name=wxPyHtmlWindowNameStr) -> HtmlWindow + """ newobj = _html.new_HtmlWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -949,9 +932,11 @@ class HtmlWindow(windows.ScrolledWindow): self._setCallbackInfo(self, HtmlWindow); self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO, - wxString name=wxPyHtmlWindowNameStr) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO, + wxString name=wxPyHtmlWindowNameStr) -> bool + """ return _html.HtmlWindow_Create(*args, **kwargs) def _setCallbackInfo(*args, **kwargs): @@ -1096,7 +1081,6 @@ def HtmlWindow_AddFilter(*args, **kwargs): #--------------------------------------------------------------------------- class HtmlDCRenderer(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1128,8 +1112,10 @@ class HtmlDCRenderer(core.Object): return _html.HtmlDCRenderer_SetFonts(*args, **kwargs) def Render(*args, **kwargs): - """Render(int x, int y, int from=0, int dont_render=False, int to=INT_MAX, - int choices=None, int LCOUNT=0) -> int""" + """ + Render(int x, int y, int from=0, int dont_render=False, int to=INT_MAX, + int choices=None, int LCOUNT=0) -> int + """ return _html.HtmlDCRenderer_Render(*args, **kwargs) def GetTotalHeight(*args, **kwargs): @@ -1148,7 +1134,6 @@ PAGE_ODD = _html.PAGE_ODD PAGE_EVEN = _html.PAGE_EVEN PAGE_ALL = _html.PAGE_ALL class HtmlPrintout(windows.Printout): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1178,8 +1163,10 @@ class HtmlPrintout(windows.Printout): return _html.HtmlPrintout_SetFonts(*args, **kwargs) def SetMargins(*args, **kwargs): - """SetMargins(float top=25.2, float bottom=25.2, float left=25.2, - float right=25.2, float spaces=5)""" + """ + SetMargins(float top=25.2, float bottom=25.2, float left=25.2, + float right=25.2, float spaces=5) + """ return _html.HtmlPrintout_SetMargins(*args, **kwargs) def AddFilter(*args, **kwargs): @@ -1209,7 +1196,6 @@ def HtmlPrintout_CleanUpStatics(*args, **kwargs): return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs) class HtmlEasyPrinting(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1279,12 +1265,13 @@ _html.HtmlEasyPrinting_swigregister(HtmlEasyPrintingPtr) #--------------------------------------------------------------------------- class HtmlBookRecord(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString bookfile, wxString basepath, wxString title, - wxString start) -> HtmlBookRecord""" + """ + __init__(wxString bookfile, wxString basepath, wxString title, + wxString start) -> HtmlBookRecord + """ newobj = _html.new_HtmlBookRecord(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1342,7 +1329,6 @@ class HtmlBookRecordPtr(HtmlBookRecord): _html.HtmlBookRecord_swigregister(HtmlBookRecordPtr) class HtmlContentsItem(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlContentsItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1375,7 +1361,6 @@ class HtmlContentsItemPtr(HtmlContentsItem): _html.HtmlContentsItem_swigregister(HtmlContentsItemPtr) class HtmlSearchStatus(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlSearchStatus instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1412,7 +1397,6 @@ class HtmlSearchStatusPtr(HtmlSearchStatus): _html.HtmlSearchStatus_swigregister(HtmlSearchStatusPtr) class HtmlHelpData(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1472,12 +1456,13 @@ class HtmlHelpDataPtr(HtmlHelpData): _html.HtmlHelpData_swigregister(HtmlHelpDataPtr) class HtmlHelpFrame(windows.Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int ??, wxString title=wxPyEmptyString, - int style=HF_DEFAULTSTYLE, HtmlHelpData data=None) -> HtmlHelpFrame""" + """ + __init__(Window parent, int ??, wxString title=wxPyEmptyString, + int style=HF_DEFAULTSTYLE, HtmlHelpData data=None) -> HtmlHelpFrame + """ newobj = _html.new_HtmlHelpFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1542,7 +1527,6 @@ HF_OPENFILES = _html.HF_OPENFILES HF_PRINT = _html.HF_PRINT HF_DEFAULTSTYLE = _html.HF_DEFAULTSTYLE class HtmlHelpController(core.EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): diff --git a/wxPython/src/mac/html_wrap.cpp b/wxPython/src/mac/html_wrap.cpp index 81d5998d7e..89031fa1bf 100644 --- a/wxPython/src/mac/html_wrap.cpp +++ b/wxPython/src/mac/html_wrap.cpp @@ -10189,9 +10189,6 @@ static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { static void *_p_wxKeyEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); } -static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); -} static void *_p_wxWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); } @@ -10201,6 +10198,9 @@ static void *_p_wxMenuTo_p_wxObject(void *x) { static void *_p_wxMenuBarTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); } +static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); +} static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); } diff --git a/wxPython/src/mac/misc.py b/wxPython/src/mac/misc.py index 37cbc8d0a9..0f5ee3d59d 100644 --- a/wxPython/src/mac/misc.py +++ b/wxPython/src/mac/misc.py @@ -99,7 +99,6 @@ SYS_SCREEN_PDA = _misc.SYS_SCREEN_PDA SYS_SCREEN_SMALL = _misc.SYS_SCREEN_SMALL SYS_SCREEN_DESKTOP = _misc.SYS_SCREEN_DESKTOP class SystemSettings(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxSystemSettings instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -166,7 +165,6 @@ def SystemSettings_SetScreenType(*args, **kwargs): return _misc.SystemSettings_SetScreenType(*args, **kwargs) class SystemOptions(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSystemOptions instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -346,65 +344,85 @@ def Trap(*args, **kwargs): return _misc.Trap(*args, **kwargs) def FileSelector(*args, **kwargs): - """FileSelector(wxString message=wxPyFileSelectorPromptStr, wxString default_path=wxPyEmptyString, - wxString default_filename=wxPyEmptyString, - wxString default_extension=wxPyEmptyString, - wxString wildcard=wxPyFileSelectorDefaultWildcardStr, - int flags=0, - Window parent=None, int x=-1, int y=-1) -> wxString""" + """ + FileSelector(wxString message=wxPyFileSelectorPromptStr, wxString default_path=wxPyEmptyString, + wxString default_filename=wxPyEmptyString, + wxString default_extension=wxPyEmptyString, + wxString wildcard=wxPyFileSelectorDefaultWildcardStr, + int flags=0, + Window parent=None, int x=-1, int y=-1) -> wxString + """ return _misc.FileSelector(*args, **kwargs) def LoadFileSelector(*args, **kwargs): - """LoadFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString, - Window parent=None) -> wxString""" + """ + LoadFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString, + Window parent=None) -> wxString + """ return _misc.LoadFileSelector(*args, **kwargs) def SaveFileSelector(*args, **kwargs): - """SaveFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString, - Window parent=None) -> wxString""" + """ + SaveFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString, + Window parent=None) -> wxString + """ return _misc.SaveFileSelector(*args, **kwargs) def DirSelector(*args, **kwargs): - """DirSelector(wxString message=wxPyDirSelectorPromptStr, wxString defaultPath=wxPyEmptyString, - long style=DD_DEFAULT_STYLE, - Point pos=DefaultPosition, Window parent=None) -> wxString""" + """ + DirSelector(wxString message=wxPyDirSelectorPromptStr, wxString defaultPath=wxPyEmptyString, + long style=DD_DEFAULT_STYLE, + Point pos=DefaultPosition, Window parent=None) -> wxString + """ return _misc.DirSelector(*args, **kwargs) def GetTextFromUser(*args, **kwargs): - """GetTextFromUser(wxString message, wxString caption=wxPyEmptyString, - wxString default_value=wxPyEmptyString, Window parent=None, - int x=-1, int y=-1, bool centre=True) -> wxString""" + """ + GetTextFromUser(wxString message, wxString caption=wxPyEmptyString, + wxString default_value=wxPyEmptyString, Window parent=None, + int x=-1, int y=-1, bool centre=True) -> wxString + """ return _misc.GetTextFromUser(*args, **kwargs) def GetPasswordFromUser(*args, **kwargs): - """GetPasswordFromUser(wxString message, wxString caption=wxPyEmptyString, - wxString default_value=wxPyEmptyString, Window parent=None) -> wxString""" + """ + GetPasswordFromUser(wxString message, wxString caption=wxPyEmptyString, + wxString default_value=wxPyEmptyString, Window parent=None) -> wxString + """ return _misc.GetPasswordFromUser(*args, **kwargs) def GetSingleChoice(*args, **kwargs): - """GetSingleChoice(wxString message, wxString caption, int choices, wxString choices_array, - Window parent=None, int x=-1, - int y=-1, bool centre=True, int width=150, - int height=200) -> wxString""" + """ + GetSingleChoice(wxString message, wxString caption, int choices, wxString choices_array, + Window parent=None, int x=-1, + int y=-1, bool centre=True, int width=150, + int height=200) -> wxString + """ return _misc.GetSingleChoice(*args, **kwargs) def GetSingleChoiceIndex(*args, **kwargs): - """GetSingleChoiceIndex(wxString message, wxString caption, int choices, wxString choices_array, - Window parent=None, int x=-1, - int y=-1, bool centre=True, int width=150, - int height=200) -> int""" + """ + GetSingleChoiceIndex(wxString message, wxString caption, int choices, wxString choices_array, + Window parent=None, int x=-1, + int y=-1, bool centre=True, int width=150, + int height=200) -> int + """ return _misc.GetSingleChoiceIndex(*args, **kwargs) def MessageBox(*args, **kwargs): - """MessageBox(wxString message, wxString caption=wxPyEmptyString, - int style=wxOK|wxCENTRE, Window parent=None, - int x=-1, int y=-1) -> int""" + """ + MessageBox(wxString message, wxString caption=wxPyEmptyString, + int style=wxOK|wxCENTRE, Window parent=None, + int x=-1, int y=-1) -> int + """ return _misc.MessageBox(*args, **kwargs) def GetNumberFromUser(*args, **kwargs): - """GetNumberFromUser(wxString message, wxString prompt, wxString caption, - long value, long min=0, long max=100, Window parent=None, - Point pos=DefaultPosition) -> long""" + """ + GetNumberFromUser(wxString message, wxString prompt, wxString caption, + long value, long min=0, long max=100, Window parent=None, + Point pos=DefaultPosition) -> long + """ return _misc.GetNumberFromUser(*args, **kwargs) def ColourDisplay(*args, **kwargs): @@ -479,7 +497,6 @@ def MutexGuiLeave(*args, **kwargs): """MutexGuiLeave()""" return _misc.MutexGuiLeave(*args, **kwargs) class MutexGuiLocker(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMutexGuiLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -509,7 +526,6 @@ def Thread_IsMain(*args, **kwargs): #--------------------------------------------------------------------------- class ToolTip(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxToolTip instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -557,7 +573,6 @@ def ToolTip_SetDelay(*args, **kwargs): return _misc.ToolTip_SetDelay(*args, **kwargs) class Caret(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCaret instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -642,7 +657,6 @@ def Caret_SetBlinkTime(*args, **kwargs): """Caret_SetBlinkTime(int milliseconds)""" return _misc.Caret_SetBlinkTime(*args, **kwargs) class BusyCursor(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBusyCursor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -666,7 +680,6 @@ class BusyCursorPtr(BusyCursor): _misc.BusyCursor_swigregister(BusyCursorPtr) class WindowDisabler(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWindowDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -690,7 +703,6 @@ class WindowDisablerPtr(WindowDisabler): _misc.WindowDisabler_swigregister(WindowDisablerPtr) class BusyInfo(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBusyInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -714,7 +726,6 @@ class BusyInfoPtr(BusyInfo): _misc.BusyInfo_swigregister(BusyInfoPtr) class StopWatch(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStopWatch instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -748,7 +759,6 @@ class StopWatchPtr(StopWatch): _misc.StopWatch_swigregister(StopWatchPtr) class FileHistory(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileHistory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -816,7 +826,6 @@ class FileHistoryPtr(FileHistory): _misc.FileHistory_swigregister(FileHistoryPtr) class SingleInstanceChecker(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSingleInstanceChecker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -860,7 +869,6 @@ def DrawWindowOnDC(*args, **kwargs): #--------------------------------------------------------------------------- class TipProvider(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -891,7 +899,6 @@ class TipProviderPtr(TipProvider): _misc.TipProvider_swigregister(TipProviderPtr) class PyTipProvider(TipProvider): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -926,7 +933,6 @@ TIMER_CONTINUOUS = _misc.TIMER_CONTINUOUS TIMER_ONE_SHOT = _misc.TIMER_ONE_SHOT wxEVT_TIMER = _misc.wxEVT_TIMER class Timer(core.EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTimer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -994,7 +1000,6 @@ EVT_TIMER = wx.PyEventBinder( wxEVT_TIMER, 1 ) class TimerEvent(core.Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTimerEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1016,12 +1021,13 @@ class TimerEventPtr(TimerEvent): _misc.TimerEvent_swigregister(TimerEventPtr) class TimerRunner(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTimerRunner instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args): - """__init__(wxTimer timer) -> TimerRunner -__init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner""" + """ + __init__(wxTimer timer) -> TimerRunner + __init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner + """ newobj = _misc.new_TimerRunner(*args) self.this = newobj.this self.thisown = 1 @@ -1068,7 +1074,6 @@ TraceResAlloc = _misc.TraceResAlloc TraceRefCount = _misc.TraceRefCount TraceOleCalls = _misc.TraceOleCalls class Log(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1301,7 +1306,6 @@ def Log_TimeStamp(*args, **kwargs): return _misc.Log_TimeStamp(*args, **kwargs) class LogStderr(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogStderr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1319,7 +1323,6 @@ class LogStderrPtr(LogStderr): _misc.LogStderr_swigregister(LogStderrPtr) class LogTextCtrl(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1337,7 +1340,6 @@ class LogTextCtrlPtr(LogTextCtrl): _misc.LogTextCtrl_swigregister(LogTextCtrlPtr) class LogGui(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogGui instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1355,12 +1357,13 @@ class LogGuiPtr(LogGui): _misc.LogGui_swigregister(LogGuiPtr) class LogWindow(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxFrame pParent, wxString szTitle, bool bShow=True, - bool bPassToOld=True) -> LogWindow""" + """ + __init__(wxFrame pParent, wxString szTitle, bool bShow=True, + bool bPassToOld=True) -> LogWindow + """ newobj = _misc.new_LogWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1394,7 +1397,6 @@ class LogWindowPtr(LogWindow): _misc.LogWindow_swigregister(LogWindowPtr) class LogChain(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogChain instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1492,7 +1494,6 @@ def SafeShowMessage(*args, **kwargs): """SafeShowMessage(wxString title, wxString text)""" return _misc.SafeShowMessage(*args, **kwargs) class LogNull(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogNull instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1516,7 +1517,6 @@ class LogNullPtr(LogNull): _misc.LogNull_swigregister(LogNullPtr) class PyLog(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1566,7 +1566,6 @@ SIGPIPE = _misc.SIGPIPE SIGALRM = _misc.SIGALRM SIGTERM = _misc.SIGTERM class Process(core.EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyProcess instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def Kill(*args, **kwargs): @@ -1661,7 +1660,6 @@ def Process_Open(*args, **kwargs): return _misc.Process_Open(*args, **kwargs) class ProcessEvent(core.Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxProcessEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1709,7 +1707,6 @@ JOY_BUTTON2 = _misc.JOY_BUTTON2 JOY_BUTTON3 = _misc.JOY_BUTTON3 JOY_BUTTON4 = _misc.JOY_BUTTON4 class Joystick(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxJoystick instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1906,7 +1903,6 @@ wxEVT_JOY_BUTTON_UP = _misc.wxEVT_JOY_BUTTON_UP wxEVT_JOY_MOVE = _misc.wxEVT_JOY_MOVE wxEVT_JOY_ZMOVE = _misc.wxEVT_JOY_ZMOVE class JoystickEvent(core.Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxJoystickEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) m_pos = property(_misc.JoystickEvent_m_pos_get, _misc.JoystickEvent_m_pos_set) @@ -1915,8 +1911,10 @@ class JoystickEvent(core.Event): m_buttonState = property(_misc.JoystickEvent_m_buttonState_get, _misc.JoystickEvent_m_buttonState_set) m_joyStick = property(_misc.JoystickEvent_m_joyStick_get, _misc.JoystickEvent_m_joyStick_set) def __init__(self, *args, **kwargs): - """__init__(wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1, - int change=0) -> JoystickEvent""" + """ + __init__(wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1, + int change=0) -> JoystickEvent + """ newobj = _misc.new_JoystickEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2008,7 +2006,6 @@ EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN, #--------------------------------------------------------------------------- class Wave(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWave instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2054,12 +2051,13 @@ MAILCAP_KDE = _misc.MAILCAP_KDE MAILCAP_GNOME = _misc.MAILCAP_GNOME MAILCAP_ALL = _misc.MAILCAP_ALL class FileTypeInfo(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileTypeInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString mimeType, wxString openCmd, wxString printCmd, - wxString desc) -> FileTypeInfo""" + """ + __init__(wxString mimeType, wxString openCmd, wxString printCmd, + wxString desc) -> FileTypeInfo + """ newobj = _misc.new_FileTypeInfo(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2133,7 +2131,6 @@ def NullFileTypeInfo(*args, **kwargs): return val class FileType(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileType instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2214,7 +2211,6 @@ def FileType_ExpandCommand(*args, **kwargs): return _misc.FileType_ExpandCommand(*args, **kwargs) class MimeTypesManager(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMimeTypesManager instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def IsOfType(*args, **kwargs): @@ -2291,7 +2287,6 @@ def MimeTypesManager_IsOfType(*args, **kwargs): #--------------------------------------------------------------------------- class ArtProvider(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyArtProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2307,30 +2302,57 @@ class ArtProvider(object): return _misc.ArtProvider__setCallbackInfo(*args, **kwargs) def PushProvider(*args, **kwargs): - """ArtProvider.PushProvider(ArtProvider provider)""" + """ + ArtProvider.PushProvider(ArtProvider provider) + + Add new provider to the top of providers stack. + """ return _misc.ArtProvider_PushProvider(*args, **kwargs) PushProvider = staticmethod(PushProvider) def PopProvider(*args, **kwargs): - """ArtProvider.PopProvider() -> bool""" + """ + ArtProvider.PopProvider() -> bool + + Remove latest added provider and delete it. + """ return _misc.ArtProvider_PopProvider(*args, **kwargs) PopProvider = staticmethod(PopProvider) def RemoveProvider(*args, **kwargs): - """ArtProvider.RemoveProvider(ArtProvider provider) -> bool""" + """ + ArtProvider.RemoveProvider(ArtProvider provider) -> bool + + Remove provider. The provider must have been added previously! + The provider is _not_ deleted. + """ return _misc.ArtProvider_RemoveProvider(*args, **kwargs) RemoveProvider = staticmethod(RemoveProvider) def GetBitmap(*args, **kwargs): - """ArtProvider.GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap""" + """ + ArtProvider.GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap + + Query the providers for bitmap with given ID and return it. Return + wx.NullBitmap if no provider provides it. + """ return _misc.ArtProvider_GetBitmap(*args, **kwargs) GetBitmap = staticmethod(GetBitmap) def GetIcon(*args, **kwargs): - """ArtProvider.GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon""" + """ + ArtProvider.GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon + + Query the providers for icon with given ID and return it. Return + wx.NullIcon if no provider provides it. + """ return _misc.ArtProvider_GetIcon(*args, **kwargs) GetIcon = staticmethod(GetIcon) + def Destroy(*args, **kwargs): + """Destroy()""" + return _misc.ArtProvider_Destroy(*args, **kwargs) + class ArtProviderPtr(ArtProvider): def __init__(self, this): @@ -2378,23 +2400,46 @@ ART_INFORMATION = cvar.ART_INFORMATION ART_MISSING_IMAGE = cvar.ART_MISSING_IMAGE def ArtProvider_PushProvider(*args, **kwargs): - """ArtProvider_PushProvider(ArtProvider provider)""" + """ + ArtProvider_PushProvider(ArtProvider provider) + + Add new provider to the top of providers stack. + """ return _misc.ArtProvider_PushProvider(*args, **kwargs) def ArtProvider_PopProvider(*args, **kwargs): - """ArtProvider_PopProvider() -> bool""" + """ + ArtProvider_PopProvider() -> bool + + Remove latest added provider and delete it. + """ return _misc.ArtProvider_PopProvider(*args, **kwargs) def ArtProvider_RemoveProvider(*args, **kwargs): - """ArtProvider_RemoveProvider(ArtProvider provider) -> bool""" + """ + ArtProvider_RemoveProvider(ArtProvider provider) -> bool + + Remove provider. The provider must have been added previously! + The provider is _not_ deleted. + """ return _misc.ArtProvider_RemoveProvider(*args, **kwargs) def ArtProvider_GetBitmap(*args, **kwargs): - """ArtProvider_GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap""" + """ + ArtProvider_GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap + + Query the providers for bitmap with given ID and return it. Return + wx.NullBitmap if no provider provides it. + """ return _misc.ArtProvider_GetBitmap(*args, **kwargs) def ArtProvider_GetIcon(*args, **kwargs): - """ArtProvider_GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon""" + """ + ArtProvider_GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon + + Query the providers for icon with given ID and return it. Return + wx.NullIcon if no provider provides it. + """ return _misc.ArtProvider_GetIcon(*args, **kwargs) #--------------------------------------------------------------------------- @@ -2404,7 +2449,6 @@ CONFIG_USE_GLOBAL_FILE = _misc.CONFIG_USE_GLOBAL_FILE CONFIG_USE_RELATIVE_PATH = _misc.CONFIG_USE_RELATIVE_PATH CONFIG_USE_NO_ESCAPE_CHARACTERS = _misc.CONFIG_USE_NO_ESCAPE_CHARACTERS class ConfigBase(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxConfigBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -2612,7 +2656,6 @@ def ConfigBase_DontCreateOnDemand(*args, **kwargs): return _misc.ConfigBase_DontCreateOnDemand(*args, **kwargs) class ConfigPathChanger(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxConfigPathChanger instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2640,14 +2683,15 @@ class ConfigPathChangerPtr(ConfigPathChanger): _misc.ConfigPathChanger_swigregister(ConfigPathChangerPtr) class Config(ConfigBase): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString, - wxString localFilename=wxPyEmptyString, - wxString globalFilename=wxPyEmptyString, - long style=0) -> Config""" + """ + __init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString, + wxString localFilename=wxPyEmptyString, + wxString globalFilename=wxPyEmptyString, + long style=0) -> Config + """ newobj = _misc.new_Config(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2667,14 +2711,15 @@ class ConfigPtr(Config): _misc.Config_swigregister(ConfigPtr) class FileConfig(ConfigBase): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString, - wxString localFilename=wxPyEmptyString, - wxString globalFilename=wxPyEmptyString, - long style=0) -> FileConfig""" + """ + __init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString, + wxString localFilename=wxPyEmptyString, + wxString globalFilename=wxPyEmptyString, + long style=0) -> FileConfig + """ newobj = _misc.new_FileConfig(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2700,7 +2745,6 @@ def ExpandEnvVars(*args, **kwargs): #--------------------------------------------------------------------------- class DateTime(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDateTime instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) Local = _misc.DateTime_Local @@ -2919,9 +2963,11 @@ class DateTime(object): GetWeekDayName = staticmethod(GetWeekDayName) def GetAmPmStrings(*args, **kwargs): - """GetAmPmStrings() -> (am, pm) + """ + GetAmPmStrings() -> (am, pm) -Get the AM and PM strings in the current locale (may be empty)""" + Get the AM and PM strings in the current locale (may be empty) + """ return _misc.DateTime_GetAmPmStrings(*args, **kwargs) GetAmPmStrings = staticmethod(GetAmPmStrings) @@ -2984,9 +3030,11 @@ Get the AM and PM strings in the current locale (may be empty)""" return _misc.DateTime_SetHMS(*args, **kwargs) def Set(*args, **kwargs): - """Set(int day, wxDateTime::Month month=Inv_Month, int year=Inv_Year, - int hour=0, int minute=0, int second=0, - int millisec=0) -> DateTime""" + """ + Set(int day, wxDateTime::Month month=Inv_Month, int year=Inv_Year, + int hour=0, int minute=0, int second=0, + int millisec=0) -> DateTime + """ return _misc.DateTime_Set(*args, **kwargs) def ResetTime(*args, **kwargs): @@ -3046,18 +3094,24 @@ Get the AM and PM strings in the current locale (may be empty)""" return _misc.DateTime_GetPrevWeekDay(*args, **kwargs) def SetToWeekDay(*args, **kwargs): - """SetToWeekDay(wxDateTime::WeekDay weekday, int n=1, wxDateTime::Month month=Inv_Month, - int year=Inv_Year) -> bool""" + """ + SetToWeekDay(wxDateTime::WeekDay weekday, int n=1, wxDateTime::Month month=Inv_Month, + int year=Inv_Year) -> bool + """ return _misc.DateTime_SetToWeekDay(*args, **kwargs) def SetToLastWeekDay(*args, **kwargs): - """SetToLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month, - int year=Inv_Year) -> bool""" + """ + SetToLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month, + int year=Inv_Year) -> bool + """ return _misc.DateTime_SetToLastWeekDay(*args, **kwargs) def GetLastWeekDay(*args, **kwargs): - """GetLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month, - int year=Inv_Year) -> DateTime""" + """ + GetLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month, + int year=Inv_Year) -> DateTime + """ return _misc.DateTime_GetLastWeekDay(*args, **kwargs) def SetToTheWeek(*args, **kwargs): @@ -3233,24 +3287,32 @@ Get the AM and PM strings in the current locale (may be empty)""" return _misc.DateTime_Subtract(*args, **kwargs) def __iadd__(*args): - """__iadd__(TimeSpan diff) -> DateTime -__iadd__(DateSpan diff) -> DateTime""" + """ + __iadd__(TimeSpan diff) -> DateTime + __iadd__(DateSpan diff) -> DateTime + """ return _misc.DateTime___iadd__(*args) def __isub__(*args): - """__isub__(TimeSpan diff) -> DateTime -__isub__(DateSpan diff) -> DateTime""" + """ + __isub__(TimeSpan diff) -> DateTime + __isub__(DateSpan diff) -> DateTime + """ return _misc.DateTime___isub__(*args) def __add__(*args): - """__add__(TimeSpan other) -> DateTime -__add__(DateSpan other) -> DateTime""" + """ + __add__(TimeSpan other) -> DateTime + __add__(DateSpan other) -> DateTime + """ return _misc.DateTime___add__(*args) def __sub__(*args): - """__sub__(DateTime other) -> TimeSpan -__sub__(TimeSpan other) -> DateTime -__sub__(DateSpan other) -> DateTime""" + """ + __sub__(DateTime other) -> TimeSpan + __sub__(TimeSpan other) -> DateTime + __sub__(DateSpan other) -> DateTime + """ return _misc.DateTime___sub__(*args) def __lt__(*args): @@ -3379,9 +3441,11 @@ def DateTime_GetWeekDayName(*args, **kwargs): return _misc.DateTime_GetWeekDayName(*args, **kwargs) def DateTime_GetAmPmStrings(*args, **kwargs): - """GetAmPmStrings() -> (am, pm) + """ + GetAmPmStrings() -> (am, pm) -Get the AM and PM strings in the current locale (may be empty)""" + Get the AM and PM strings in the current locale (may be empty) + """ return _misc.DateTime_GetAmPmStrings(*args, **kwargs) def DateTime_IsDSTApplicable(*args, **kwargs): @@ -3427,15 +3491,16 @@ def DateTimeFromHMS(*args, **kwargs): return val def DateTimeFromDMY(*args, **kwargs): - """DateTimeFromDMY(int day, wxDateTime::Month month=Inv_Month, int year=Inv_Year, - int hour=0, int minute=0, int second=0, - int millisec=0) -> DateTime""" + """ + DateTimeFromDMY(int day, wxDateTime::Month month=Inv_Month, int year=Inv_Year, + int hour=0, int minute=0, int second=0, + int millisec=0) -> DateTime + """ val = _misc.new_DateTimeFromDMY(*args, **kwargs) val.thisown = 1 return val class TimeSpan(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTimeSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def Seconds(*args, **kwargs): @@ -3682,7 +3747,6 @@ def TimeSpan_Week(*args, **kwargs): return _misc.TimeSpan_Week(*args, **kwargs) class DateSpan(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDateSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3908,7 +3972,6 @@ DF_PRIVATE = _misc.DF_PRIVATE DF_HTML = _misc.DF_HTML DF_MAX = _misc.DF_MAX class DataFormat(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDataFormat instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3924,13 +3987,17 @@ class DataFormat(object): except: pass def __eq__(*args): - """__eq__(wxDataFormatId format) -> bool -__eq__(DataFormat format) -> bool""" + """ + __eq__(wxDataFormatId format) -> bool + __eq__(DataFormat format) -> bool + """ return _misc.DataFormat___eq__(*args) def __ne__(*args): - """__ne__(wxDataFormatId format) -> bool -__ne__(DataFormat format) -> bool""" + """ + __ne__(wxDataFormatId format) -> bool + __ne__(DataFormat format) -> bool + """ return _misc.DataFormat___ne__(*args) def SetType(*args, **kwargs): @@ -3964,7 +4031,6 @@ def CustomDataFormat(*args, **kwargs): return val class DataObject(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -4015,7 +4081,6 @@ _misc.DataObject_swigregister(DataObjectPtr) FormatInvalid = cvar.FormatInvalid class DataObjectSimple(DataObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4041,7 +4106,6 @@ class DataObjectSimplePtr(DataObjectSimple): _misc.DataObjectSimple_swigregister(DataObjectSimplePtr) class PyDataObjectSimple(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4065,7 +4129,6 @@ class PyDataObjectSimplePtr(PyDataObjectSimple): _misc.PyDataObjectSimple_swigregister(PyDataObjectSimplePtr) class DataObjectComposite(DataObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDataObjectComposite instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4089,7 +4152,6 @@ class DataObjectCompositePtr(DataObjectComposite): _misc.DataObjectComposite_swigregister(DataObjectCompositePtr) class TextDataObject(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4119,7 +4181,6 @@ class TextDataObjectPtr(TextDataObject): _misc.TextDataObject_swigregister(TextDataObjectPtr) class PyTextDataObject(TextDataObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4143,7 +4204,6 @@ class PyTextDataObjectPtr(PyTextDataObject): _misc.PyTextDataObject_swigregister(PyTextDataObjectPtr) class BitmapDataObject(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4169,7 +4229,6 @@ class BitmapDataObjectPtr(BitmapDataObject): _misc.BitmapDataObject_swigregister(BitmapDataObjectPtr) class PyBitmapDataObject(BitmapDataObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4193,7 +4252,6 @@ class PyBitmapDataObjectPtr(PyBitmapDataObject): _misc.PyBitmapDataObject_swigregister(PyBitmapDataObjectPtr) class FileDataObject(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4215,7 +4273,6 @@ class FileDataObjectPtr(FileDataObject): _misc.FileDataObject_swigregister(FileDataObjectPtr) class CustomDataObject(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCustomDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4249,7 +4306,6 @@ class CustomDataObjectPtr(CustomDataObject): _misc.CustomDataObject_swigregister(CustomDataObjectPtr) class URLDataObject(DataObjectComposite): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxURLDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4275,7 +4331,6 @@ class URLDataObjectPtr(URLDataObject): _misc.URLDataObject_swigregister(URLDataObjectPtr) class MetafileDataObject(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMetafileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4316,12 +4371,13 @@ def IsDragResultOk(*args, **kwargs): """IsDragResultOk(wxDragResult res) -> bool""" return _misc.IsDragResultOk(*args, **kwargs) class DropSource(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyDropSource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window win=None, wxCursor copy=wxNullCursor, wxCursor move=wxNullCursor, - wxCursor none=wxNullCursor) -> DropSource""" + """ + __init__(Window win=None, wxCursor copy=wxNullCursor, wxCursor move=wxNullCursor, + wxCursor none=wxNullCursor) -> DropSource + """ newobj = _misc.new_DropSource(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -4365,7 +4421,6 @@ class DropSourcePtr(DropSource): _misc.DropSource_swigregister(DropSourcePtr) class DropTarget(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4427,7 +4482,6 @@ _misc.DropTarget_swigregister(DropTargetPtr) PyDropTarget = DropTarget class TextDropTarget(DropTarget): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTextDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4471,7 +4525,6 @@ class TextDropTargetPtr(TextDropTarget): _misc.TextDropTarget_swigregister(TextDropTargetPtr) class FileDropTarget(DropTarget): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyFileDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4517,7 +4570,6 @@ _misc.FileDropTarget_swigregister(FileDropTargetPtr) #--------------------------------------------------------------------------- class Clipboard(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxClipboard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4581,7 +4633,6 @@ class ClipboardPtr(Clipboard): _misc.Clipboard_swigregister(ClipboardPtr) class ClipboardLocker(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxClipboardLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): diff --git a/wxPython/src/mac/misc_wrap.cpp b/wxPython/src/mac/misc_wrap.cpp index f1ec918c83..25de0654bb 100644 --- a/wxPython/src/mac/misc_wrap.cpp +++ b/wxPython/src/mac/misc_wrap.cpp @@ -783,6 +783,7 @@ public: PYPRIVATE; }; +void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; } @@ -13073,6 +13074,30 @@ static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObj } +static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + wxPyArtProvider_Destroy(arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; @@ -24720,6 +24745,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS }, { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS }, { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS }, { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS }, { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS }, { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS }, @@ -25468,6 +25494,9 @@ static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxEvtHandler *) x)); } +static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxAcceleratorTable *) x)); +} static void *_p_wxImageTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxImage *) x)); } @@ -25650,7 +25679,7 @@ static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, " static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}}; static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}}; static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}}; static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}}; static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}}; static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}}; diff --git a/wxPython/src/mac/windows.py b/wxPython/src/mac/windows.py index 51f3180f6f..244aaa75ee 100644 --- a/wxPython/src/mac/windows.py +++ b/wxPython/src/mac/windows.py @@ -8,13 +8,14 @@ wx = core #--------------------------------------------------------------------------- class Panel(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPanel 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=wxTAB_TRAVERSAL|wxNO_BORDER, - wxString name=PanelNameStr) -> Panel""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, + wxString name=PanelNameStr) -> Panel + """ newobj = _windows.new_Panel(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -22,9 +23,11 @@ class Panel(core.Window): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=wxTAB_TRAVERSAL|wxNO_BORDER, - wxString name=PanelNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxTAB_TRAVERSAL|wxNO_BORDER, + wxString name=PanelNameStr) -> bool + """ return _windows.Panel_Create(*args, **kwargs) def InitDialog(*args, **kwargs): @@ -48,13 +51,14 @@ def PrePanel(*args, **kwargs): #--------------------------------------------------------------------------- class ScrolledWindow(Panel): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxScrolledWindow 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=wxHSCROLL|wxVSCROLL, - wxString name=PanelNameStr) -> ScrolledWindow""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, + wxString name=PanelNameStr) -> ScrolledWindow + """ newobj = _windows.new_ScrolledWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -62,14 +66,18 @@ class ScrolledWindow(Panel): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, - wxString name=PanelNameStr) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, + wxString name=PanelNameStr) -> bool + """ return _windows.ScrolledWindow_Create(*args, **kwargs) def SetScrollbars(*args, **kwargs): - """SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX, - int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)""" + """ + SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX, + int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False) + """ return _windows.ScrolledWindow_SetScrollbars(*args, **kwargs) def Scroll(*args, **kwargs): @@ -89,9 +97,11 @@ class ScrolledWindow(Panel): return _windows.ScrolledWindow_SetScrollRate(*args, **kwargs) def GetScrollPixelsPerUnit(*args, **kwargs): - """GetScrollPixelsPerUnit() -> (xUnit, yUnit) + """ + GetScrollPixelsPerUnit() -> (xUnit, yUnit) -Get the size of one logical unit in physical units.""" + Get the size of one logical unit in physical units. + """ return _windows.ScrolledWindow_GetScrollPixelsPerUnit(*args, **kwargs) def EnableScrolling(*args, **kwargs): @@ -99,9 +109,11 @@ Get the size of one logical unit in physical units.""" return _windows.ScrolledWindow_EnableScrolling(*args, **kwargs) def GetViewStart(*args, **kwargs): - """GetViewStart() -> (x,y) + """ + GetViewStart() -> (x,y) -Get the view start""" + Get the view start + """ return _windows.ScrolledWindow_GetViewStart(*args, **kwargs) def SetScale(*args, **kwargs): @@ -117,17 +129,21 @@ Get the view start""" return _windows.ScrolledWindow_GetScaleY(*args, **kwargs) def CalcScrolledPosition(*args): - """CalcScrolledPosition(Point pt) -> Point -CalcScrolledPosition(int x, int y) -> (sx, sy) + """ + CalcScrolledPosition(Point pt) -> Point + CalcScrolledPosition(int x, int y) -> (sx, sy) -Translate between scrolled and unscrolled coordinates.""" + Translate between scrolled and unscrolled coordinates. + """ return _windows.ScrolledWindow_CalcScrolledPosition(*args) def CalcUnscrolledPosition(*args): - """CalcUnscrolledPosition(Point pt) -> Point -CalcUnscrolledPosition(int x, int y) -> (ux, uy) + """ + CalcUnscrolledPosition(Point pt) -> Point + CalcUnscrolledPosition(int x, int y) -> (ux, uy) -Translate between scrolled and unscrolled coordinates.""" + Translate between scrolled and unscrolled coordinates. + """ return _windows.ScrolledWindow_CalcUnscrolledPosition(*args) def AdjustScrollbars(*args, **kwargs): @@ -170,88 +186,6 @@ def PreScrolledWindow(*args, **kwargs): #--------------------------------------------------------------------------- -class AcceleratorEntry(object): - """""" - def __repr__(self): - return "<%s.%s; proxy of C++ wxAcceleratorEntry instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) - def __init__(self, *args, **kwargs): - """__init__(int flags=0, int keyCode=0, int cmd=0, MenuItem item=None) -> AcceleratorEntry""" - newobj = _windows.new_AcceleratorEntry(*args, **kwargs) - self.this = newobj.this - self.thisown = 1 - del newobj.thisown - def __del__(self, destroy=_windows.delete_AcceleratorEntry): - """__del__()""" - try: - if self.thisown: destroy(self) - except: pass - - def Set(*args, **kwargs): - """Set(int flags, int keyCode, int cmd, MenuItem item=None)""" - return _windows.AcceleratorEntry_Set(*args, **kwargs) - - def SetMenuItem(*args, **kwargs): - """SetMenuItem(MenuItem item)""" - return _windows.AcceleratorEntry_SetMenuItem(*args, **kwargs) - - def GetMenuItem(*args, **kwargs): - """GetMenuItem() -> MenuItem""" - return _windows.AcceleratorEntry_GetMenuItem(*args, **kwargs) - - def GetFlags(*args, **kwargs): - """GetFlags() -> int""" - return _windows.AcceleratorEntry_GetFlags(*args, **kwargs) - - def GetKeyCode(*args, **kwargs): - """GetKeyCode() -> int""" - return _windows.AcceleratorEntry_GetKeyCode(*args, **kwargs) - - def GetCommand(*args, **kwargs): - """GetCommand() -> int""" - return _windows.AcceleratorEntry_GetCommand(*args, **kwargs) - - -class AcceleratorEntryPtr(AcceleratorEntry): - def __init__(self, this): - self.this = this - if not hasattr(self,"thisown"): self.thisown = 0 - self.__class__ = AcceleratorEntry -_windows.AcceleratorEntry_swigregister(AcceleratorEntryPtr) - -class AcceleratorTable(core.Object): - """""" - def __repr__(self): - return "<%s.%s; proxy of C++ wxAcceleratorTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) - def __init__(self, *args, **kwargs): - """__init__(int n, AcceleratorEntry entries) -> AcceleratorTable""" - newobj = _windows.new_AcceleratorTable(*args, **kwargs) - self.this = newobj.this - self.thisown = 1 - del newobj.thisown - def __del__(self, destroy=_windows.delete_AcceleratorTable): - """__del__()""" - try: - if self.thisown: destroy(self) - except: pass - - def Ok(*args, **kwargs): - """Ok() -> bool""" - return _windows.AcceleratorTable_Ok(*args, **kwargs) - - -class AcceleratorTablePtr(AcceleratorTable): - def __init__(self, this): - self.this = this - if not hasattr(self,"thisown"): self.thisown = 0 - self.__class__ = AcceleratorTable -_windows.AcceleratorTable_swigregister(AcceleratorTablePtr) - - -def GetAccelFromString(*args, **kwargs): - """GetAccelFromString(wxString label) -> AcceleratorEntry""" - return _windows.GetAccelFromString(*args, **kwargs) -#--------------------------------------------------------------------------- - FULLSCREEN_NOMENUBAR = _windows.FULLSCREEN_NOMENUBAR FULLSCREEN_NOTOOLBAR = _windows.FULLSCREEN_NOTOOLBAR FULLSCREEN_NOSTATUSBAR = _windows.FULLSCREEN_NOSTATUSBAR @@ -260,7 +194,6 @@ FULLSCREEN_NOCAPTION = _windows.FULLSCREEN_NOCAPTION FULLSCREEN_ALL = _windows.FULLSCREEN_ALL TOPLEVEL_EX_DIALOG = _windows.TOPLEVEL_EX_DIALOG class TopLevelWindow(core.Window): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -323,19 +256,18 @@ class TopLevelWindowPtr(TopLevelWindow): if not hasattr(self,"thisown"): self.thisown = 0 self.__class__ = TopLevelWindow _windows.TopLevelWindow_swigregister(TopLevelWindowPtr) -cvar = _windows.cvar -NullAcceleratorTable = cvar.NullAcceleratorTable #--------------------------------------------------------------------------- class Frame(TopLevelWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, - wxString name=wxPyFrameNameStr) -> Frame""" + """ + __init__(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, + wxString name=wxPyFrameNameStr) -> Frame + """ newobj = _windows.new_Frame(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -343,9 +275,11 @@ class Frame(TopLevelWindow): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, - wxString name=wxPyFrameNameStr) -> bool""" + """ + Create(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, + wxString name=wxPyFrameNameStr) -> bool + """ return _windows.Frame_Create(*args, **kwargs) def GetClientAreaOrigin(*args, **kwargs): @@ -370,8 +304,10 @@ class Frame(TopLevelWindow): Command = ProcessCommand def CreateStatusBar(*args, **kwargs): - """CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0, - wxString name=wxPyStatusLineNameStr) -> StatusBar""" + """ + CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0, + wxString name=wxPyStatusLineNameStr) -> StatusBar + """ return _windows.Frame_CreateStatusBar(*args, **kwargs) def GetStatusBar(*args, **kwargs): @@ -443,13 +379,14 @@ def PreFrame(*args, **kwargs): #--------------------------------------------------------------------------- class Dialog(TopLevelWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, - wxString name=wxPyDialogNameStr) -> Dialog""" + """ + __init__(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, + wxString name=wxPyDialogNameStr) -> Dialog + """ newobj = _windows.new_Dialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -457,9 +394,11 @@ class Dialog(TopLevelWindow): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, - wxString name=wxPyDialogNameStr) -> bool""" + """ + Create(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, + wxString name=wxPyDialogNameStr) -> bool + """ return _windows.Dialog_Create(*args, **kwargs) def SetReturnCode(*args, **kwargs): @@ -515,13 +454,14 @@ def PreDialog(*args, **kwargs): #--------------------------------------------------------------------------- class MiniFrame(Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, - wxString name=wxPyFrameNameStr) -> MiniFrame""" + """ + __init__(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, + wxString name=wxPyFrameNameStr) -> MiniFrame + """ newobj = _windows.new_MiniFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -529,9 +469,11 @@ class MiniFrame(Frame): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, - wxString name=wxPyFrameNameStr) -> bool""" + """ + Create(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, + wxString name=wxPyFrameNameStr) -> bool + """ return _windows.MiniFrame_Create(*args, **kwargs) @@ -556,12 +498,13 @@ SPLASH_NO_CENTRE = _windows.SPLASH_NO_CENTRE SPLASH_TIMEOUT = _windows.SPLASH_TIMEOUT SPLASH_NO_TIMEOUT = _windows.SPLASH_NO_TIMEOUT class SplashScreenWindow(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxBitmap bitmap, Window parent, int id, Point pos=DefaultPosition, - Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow""" + """ + __init__(wxBitmap bitmap, Window parent, int id, Point pos=DefaultPosition, + Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow + """ newobj = _windows.new_SplashScreenWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -585,13 +528,14 @@ class SplashScreenWindowPtr(SplashScreenWindow): _windows.SplashScreenWindow_swigregister(SplashScreenWindowPtr) class SplashScreen(Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxBitmap bitmap, long splashStyle, int milliseconds, - Window parent, int id, Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen""" + """ + __init__(wxBitmap bitmap, long splashStyle, int milliseconds, + Window parent, int id, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen + """ newobj = _windows.new_SplashScreen(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -621,7 +565,6 @@ _windows.SplashScreen_swigregister(SplashScreenPtr) #--------------------------------------------------------------------------- class StatusBar(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -710,12 +653,13 @@ SPLIT_DRAG_NONE = _windows.SPLIT_DRAG_NONE SPLIT_DRAG_DRAGGING = _windows.SPLIT_DRAG_DRAGGING SPLIT_DRAG_LEFT_DOWN = _windows.SPLIT_DRAG_LEFT_DOWN class SplitterWindow(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, Point point=DefaultPosition, - Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> SplitterWindow""" + """ + __init__(Window parent, int id, Point point=DefaultPosition, + Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> SplitterWindow + """ newobj = _windows.new_SplitterWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -723,8 +667,10 @@ class SplitterWindow(core.Window): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point point=DefaultPosition, - Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> bool""" + """ + Create(Window parent, int id, Point point=DefaultPosition, + Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> bool + """ return _windows.SplitterWindow_Create(*args, **kwargs) def GetWindow1(*args, **kwargs): @@ -830,7 +776,6 @@ def PreSplitterWindow(*args, **kwargs): return val class SplitterEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -892,13 +837,14 @@ SASH_BOTTOM = _windows.SASH_BOTTOM SASH_LEFT = _windows.SASH_LEFT SASH_NONE = _windows.SASH_NONE class SashWindow(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSashWindow 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|wxSW_3D, - wxString name=wxPySashNameStr) -> SashWindow""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxSW_3D, + wxString name=wxPySashNameStr) -> SashWindow + """ newobj = _windows.new_SashWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -906,9 +852,11 @@ class SashWindow(core.Window): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=wxCLIP_CHILDREN|wxSW_3D, - wxString name=wxPySashNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxSW_3D, + wxString name=wxPySashNameStr) -> bool + """ return _windows.SashWindow_Create(*args, **kwargs) def SetSashVisible(*args, **kwargs): @@ -1004,7 +952,6 @@ def PreSashWindow(*args, **kwargs): SASH_STATUS_OK = _windows.SASH_STATUS_OK SASH_STATUS_OUT_OF_RANGE = _windows.SASH_STATUS_OUT_OF_RANGE class SashEvent(core.CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1065,7 +1012,6 @@ LAYOUT_QUERY = _windows.LAYOUT_QUERY wxEVT_QUERY_LAYOUT_INFO = _windows.wxEVT_QUERY_LAYOUT_INFO wxEVT_CALCULATE_LAYOUT = _windows.wxEVT_CALCULATE_LAYOUT class QueryLayoutInfoEvent(core.Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1123,7 +1069,6 @@ class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent): _windows.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr) class CalculateLayoutEvent(core.Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1160,13 +1105,14 @@ EVT_QUERY_LAYOUT_INFO = wx.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO ) EVT_CALCULATE_LAYOUT = wx.PyEventBinder( wxEVT_CALCULATE_LAYOUT ) class SashLayoutWindow(SashWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSashLayoutWindow 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|wxSW_3D, - wxString name=wxPySashLayoutNameStr) -> SashLayoutWindow""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxSW_3D, + wxString name=wxPySashLayoutNameStr) -> SashLayoutWindow + """ newobj = _windows.new_SashLayoutWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1174,9 +1120,11 @@ class SashLayoutWindow(SashWindow): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=wxCLIP_CHILDREN|wxSW_3D, - wxString name=wxPySashLayoutNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxSW_3D, + wxString name=wxPySashLayoutNameStr) -> bool + """ return _windows.SashLayoutWindow_Create(*args, **kwargs) def GetAlignment(*args, **kwargs): @@ -1214,7 +1162,6 @@ def PreSashLayoutWindow(*args, **kwargs): return val class LayoutAlgorithm(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1250,7 +1197,6 @@ class LayoutAlgorithmPtr(LayoutAlgorithm): _windows.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr) class PopupWindow(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1274,7 +1220,6 @@ def PrePopupWindow(*args, **kwargs): return val class PopupTransientWindow(PopupWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1300,7 +1245,6 @@ def PrePopupTransientWindow(*args, **kwargs): #--------------------------------------------------------------------------- class TipWindow(Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1330,12 +1274,13 @@ _windows.TipWindow_swigregister(TipWindowPtr) #--------------------------------------------------------------------------- class VScrolledWindow(Panel): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> VScrolledWindow""" + """ + __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> VScrolledWindow + """ newobj = _windows.new_VScrolledWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1347,8 +1292,10 @@ class VScrolledWindow(Panel): return _windows.VScrolledWindow__setCallbackInfo(*args, **kwargs) def Create(*args, **kwargs): - """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> bool""" + """ + Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> bool + """ return _windows.VScrolledWindow_Create(*args, **kwargs) def SetLineCount(*args, **kwargs): @@ -1418,12 +1365,13 @@ def PreVScrolledWindow(*args, **kwargs): return val class VListBox(VScrolledWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> VListBox""" + """ + __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> VListBox + """ newobj = _windows.new_VListBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1435,8 +1383,10 @@ class VListBox(VScrolledWindow): return _windows.VListBox__setCallbackInfo(*args, **kwargs) def Create(*args, **kwargs): - """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool""" + """ + Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool + """ return _windows.VListBox_Create(*args, **kwargs) def GetItemCount(*args, **kwargs): @@ -1538,12 +1488,13 @@ def PreVListBox(*args, **kwargs): return val class HtmlListBox(VListBox): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> HtmlListBox""" + """ + __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> HtmlListBox + """ newobj = _windows.new_HtmlListBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1555,8 +1506,10 @@ class HtmlListBox(VListBox): return _windows.HtmlListBox__setCallbackInfo(*args, **kwargs) def Create(*args, **kwargs): - """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool""" + """ + Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool + """ return _windows.HtmlListBox_Create(*args, **kwargs) def RefreshAll(*args, **kwargs): @@ -1584,7 +1537,6 @@ def PreHtmlListBox(*args, **kwargs): #--------------------------------------------------------------------------- class TaskBarIcon(core.EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1608,7 +1560,6 @@ class TaskBarIconPtr(TaskBarIcon): _windows.TaskBarIcon_swigregister(TaskBarIconPtr) class TaskBarIconEvent(core.Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1643,7 +1594,6 @@ EVT_TASKBAR_RIGHT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK ) #--------------------------------------------------------------------------- class ColourData(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1691,7 +1641,6 @@ class ColourDataPtr(ColourData): _windows.ColourData_swigregister(ColourDataPtr) class ColourDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1719,14 +1668,15 @@ class ColourDialogPtr(ColourDialog): _windows.ColourDialog_swigregister(ColourDialogPtr) class DirDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, wxString message=wxPyDirSelectorPromptStr, - wxString defaultPath=wxPyEmptyString, - long style=0, Point pos=DefaultPosition, Size size=DefaultSize, - wxString name=wxPyDirDialogNameStr) -> DirDialog""" + """ + __init__(Window parent, wxString message=wxPyDirSelectorPromptStr, + wxString defaultPath=wxPyEmptyString, + long style=0, Point pos=DefaultPosition, Size size=DefaultSize, + wxString name=wxPyDirDialogNameStr) -> DirDialog + """ newobj = _windows.new_DirDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1766,15 +1716,16 @@ class DirDialogPtr(DirDialog): _windows.DirDialog_swigregister(DirDialogPtr) class FileDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, wxString message=wxPyFileSelectorPromptStr, - wxString defaultDir=wxPyEmptyString, - wxString defaultFile=wxPyEmptyString, wxString wildcard=wxPyFileSelectorDefaultWildcardStr, - long style=0, - Point pos=DefaultPosition) -> FileDialog""" + """ + __init__(Window parent, wxString message=wxPyFileSelectorPromptStr, + wxString defaultDir=wxPyEmptyString, + wxString defaultFile=wxPyEmptyString, wxString wildcard=wxPyFileSelectorDefaultWildcardStr, + long style=0, + Point pos=DefaultPosition) -> FileDialog + """ newobj = _windows.new_FileDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1855,13 +1806,14 @@ _windows.FileDialog_swigregister(FileDialogPtr) CHOICEDLG_STYLE = _windows.CHOICEDLG_STYLE class MultiChoiceDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, wxString message, wxString caption, - int LCOUNT, wxString choices, long style=CHOICEDLG_STYLE, - Point pos=DefaultPosition) -> MultiChoiceDialog""" + """ + __init__(Window parent, wxString message, wxString caption, + int LCOUNT, wxString choices, long style=CHOICEDLG_STYLE, + Point pos=DefaultPosition) -> MultiChoiceDialog + """ newobj = _windows.new_MultiChoiceDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1885,13 +1837,14 @@ class MultiChoiceDialogPtr(MultiChoiceDialog): _windows.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr) class SingleChoiceDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, wxString message, wxString caption, - int choices, wxString choices_array, long style=CHOICEDLG_STYLE, - Point pos=DefaultPosition) -> SingleChoiceDialog""" + """ + __init__(Window parent, wxString message, wxString caption, + int choices, wxString choices_array, long style=CHOICEDLG_STYLE, + Point pos=DefaultPosition) -> SingleChoiceDialog + """ newobj = _windows.new_SingleChoiceDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1923,14 +1876,15 @@ class SingleChoiceDialogPtr(SingleChoiceDialog): _windows.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr) class TextEntryDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, wxString message, wxString caption=wxPyGetTextFromUserPromptStr, - wxString defaultValue=wxPyEmptyString, - long style=wxOK|wxCANCEL|wxCENTRE, - Point pos=DefaultPosition) -> TextEntryDialog""" + """ + __init__(Window parent, wxString message, wxString caption=wxPyGetTextFromUserPromptStr, + wxString defaultValue=wxPyEmptyString, + long style=wxOK|wxCANCEL|wxCENTRE, + Point pos=DefaultPosition) -> TextEntryDialog + """ newobj = _windows.new_TextEntryDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1958,7 +1912,6 @@ class TextEntryDialogPtr(TextEntryDialog): _windows.TextEntryDialog_swigregister(TextEntryDialogPtr) class FontData(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2034,7 +1987,6 @@ class FontDataPtr(FontData): _windows.FontData_swigregister(FontDataPtr) class FontDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2062,13 +2014,14 @@ class FontDialogPtr(FontDialog): _windows.FontDialog_swigregister(FontDialogPtr) class MessageDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, wxString message, wxString caption=wxPyMessageBoxCaptionStr, - long style=wxOK|wxCANCEL|wxCENTRE, - Point pos=DefaultPosition) -> MessageDialog""" + """ + __init__(Window parent, wxString message, wxString caption=wxPyMessageBoxCaptionStr, + long style=wxOK|wxCANCEL|wxCENTRE, + Point pos=DefaultPosition) -> MessageDialog + """ newobj = _windows.new_MessageDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2088,12 +2041,13 @@ class MessageDialogPtr(MessageDialog): _windows.MessageDialog_swigregister(MessageDialogPtr) class ProgressDialog(Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString title, wxString message, int maximum=100, - Window parent=None, int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog""" + """ + __init__(wxString title, wxString message, int maximum=100, + Window parent=None, int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog + """ newobj = _windows.new_ProgressDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2142,7 +2096,6 @@ EVT_COMMAND_FIND_REPLACE_ALL = EVT_FIND_REPLACE_ALL EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE class FindDialogEvent(core.CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2188,7 +2141,6 @@ class FindDialogEventPtr(FindDialogEvent): _windows.FindDialogEvent_swigregister(FindDialogEventPtr) class FindReplaceData(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2236,12 +2188,13 @@ class FindReplaceDataPtr(FindReplaceData): _windows.FindReplaceData_swigregister(FindReplaceDataPtr) class FindReplaceDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, FindReplaceData data, wxString title, - int style=0) -> FindReplaceDialog""" + """ + __init__(Window parent, FindReplaceData data, wxString title, + int style=0) -> FindReplaceDialog + """ newobj = _windows.new_FindReplaceDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2249,8 +2202,10 @@ class FindReplaceDialog(Dialog): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, FindReplaceData data, wxString title, - int style=0) -> bool""" + """ + Create(Window parent, FindReplaceData data, wxString title, + int style=0) -> bool + """ return _windows.FindReplaceDialog_Create(*args, **kwargs) def GetData(*args, **kwargs): @@ -2286,13 +2241,14 @@ IDM_WINDOWTILEVERT = _windows.IDM_WINDOWTILEVERT FIRST_MDI_CHILD = _windows.FIRST_MDI_CHILD LAST_MDI_CHILD = _windows.LAST_MDI_CHILD class MDIParentFrame(Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, - wxString name=wxPyFrameNameStr) -> MDIParentFrame""" + """ + __init__(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, + wxString name=wxPyFrameNameStr) -> MDIParentFrame + """ newobj = _windows.new_MDIParentFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2300,9 +2256,11 @@ class MDIParentFrame(Frame): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, - wxString name=wxPyFrameNameStr) -> bool""" + """ + Create(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, + wxString name=wxPyFrameNameStr) -> bool + """ return _windows.MDIParentFrame_Create(*args, **kwargs) def ActivateNext(*args, **kwargs): @@ -2352,13 +2310,14 @@ def PreMDIParentFrame(*args, **kwargs): return val class MDIChildFrame(Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, - long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> MDIChildFrame""" + """ + __init__(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> MDIChildFrame + """ newobj = _windows.new_MDIChildFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2366,9 +2325,11 @@ class MDIChildFrame(Frame): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, - long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> bool""" + """ + Create(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> bool + """ return _windows.MDIChildFrame_Create(*args, **kwargs) def Activate(*args, **kwargs): @@ -2398,7 +2359,6 @@ def PreMDIChildFrame(*args, **kwargs): return val class MDIClientWindow(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2430,12 +2390,13 @@ def PreMDIClientWindow(*args, **kwargs): #--------------------------------------------------------------------------- class PyWindow(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyWindow 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=0, wxString name=PanelNameStr) -> PyWindow""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> PyWindow + """ newobj = _windows.new_PyWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2527,12 +2488,13 @@ class PyWindowPtr(PyWindow): _windows.PyWindow_swigregister(PyWindowPtr) class PyPanel(Panel): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPanel 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=0, wxString name=PanelNameStr) -> PyPanel""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> PyPanel + """ newobj = _windows.new_PyPanel(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2630,7 +2592,6 @@ PRINT_MODE_PREVIEW = _windows.PRINT_MODE_PREVIEW PRINT_MODE_FILE = _windows.PRINT_MODE_FILE PRINT_MODE_PRINTER = _windows.PRINT_MODE_PRINTER class PrintData(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2819,7 +2780,6 @@ class PrintDataPtr(PrintData): _windows.PrintData_swigregister(PrintDataPtr) class PageSetupDialogData(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2960,7 +2920,6 @@ class PageSetupDialogDataPtr(PageSetupDialogData): _windows.PageSetupDialogData_swigregister(PageSetupDialogDataPtr) class PageSetupDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2988,7 +2947,6 @@ class PageSetupDialogPtr(PageSetupDialog): _windows.PageSetupDialog_swigregister(PageSetupDialogPtr) class PrintDialogData(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3137,7 +3095,6 @@ class PrintDialogDataPtr(PrintDialogData): _windows.PrintDialogData_swigregister(PrintDialogDataPtr) class PrintDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3172,7 +3129,6 @@ PRINTER_NO_ERROR = _windows.PRINTER_NO_ERROR PRINTER_CANCELLED = _windows.PRINTER_CANCELLED PRINTER_ERROR = _windows.PRINTER_ERROR class Printer(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3233,7 +3189,6 @@ def Printer_GetLastError(*args, **kwargs): return _windows.Printer_GetLastError(*args, **kwargs) class Printout(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3337,13 +3292,14 @@ class PrintoutPtr(Printout): _windows.Printout_swigregister(PrintoutPtr) class PreviewCanvas(ScrolledWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(PrintPreview preview, Window parent, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - wxString name=wxPyPreviewCanvasNameStr) -> PreviewCanvas""" + """ + __init__(PrintPreview preview, Window parent, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyPreviewCanvasNameStr) -> PreviewCanvas + """ newobj = _windows.new_PreviewCanvas(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3359,13 +3315,14 @@ class PreviewCanvasPtr(PreviewCanvas): _windows.PreviewCanvas_swigregister(PreviewCanvasPtr) class PreviewFrame(Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(PrintPreview preview, Frame parent, wxString title, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PreviewFrame""" + """ + __init__(PrintPreview preview, Frame parent, wxString title, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PreviewFrame + """ newobj = _windows.new_PreviewFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3413,13 +3370,14 @@ ID_PREVIEW_FIRST = _windows.ID_PREVIEW_FIRST ID_PREVIEW_LAST = _windows.ID_PREVIEW_LAST ID_PREVIEW_GOTO = _windows.ID_PREVIEW_GOTO class PreviewControlBar(Panel): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(PrintPreview preview, long buttons, Window parent, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=TAB_TRAVERSAL, wxString name=PanelNameStr) -> PreviewControlBar""" + """ + __init__(PrintPreview preview, long buttons, Window parent, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=TAB_TRAVERSAL, wxString name=PanelNameStr) -> PreviewControlBar + """ newobj = _windows.new_PreviewControlBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3467,7 +3425,6 @@ class PreviewControlBarPtr(PreviewControlBar): _windows.PreviewControlBar_swigregister(PreviewControlBarPtr) class PrintPreview(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3574,7 +3531,6 @@ class PrintPreviewPtr(PrintPreview): _windows.PrintPreview_swigregister(PrintPreviewPtr) class PyPrintPreview(PrintPreview): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3626,13 +3582,14 @@ class PyPrintPreviewPtr(PyPrintPreview): _windows.PyPrintPreview_swigregister(PyPrintPreviewPtr) class PyPreviewFrame(PreviewFrame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(PrintPreview preview, Frame parent, wxString title, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PyPreviewFrame""" + """ + __init__(PrintPreview preview, Frame parent, wxString title, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PyPreviewFrame + """ newobj = _windows.new_PyPreviewFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3672,13 +3629,14 @@ class PyPreviewFramePtr(PyPreviewFrame): _windows.PyPreviewFrame_swigregister(PyPreviewFramePtr) class PyPreviewControlBar(PreviewControlBar): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(PrintPreview preview, long buttons, Window parent, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, wxString name=PanelNameStr) -> PyPreviewControlBar""" + """ + __init__(PrintPreview preview, long buttons, Window parent, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> PyPreviewControlBar + """ newobj = _windows.new_PyPreviewControlBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 diff --git a/wxPython/src/mac/windows_wrap.cpp b/wxPython/src/mac/windows_wrap.cpp index ea4e9b8e8a..bf7c89abf3 100644 --- a/wxPython/src/mac/windows_wrap.cpp +++ b/wxPython/src/mac/windows_wrap.cpp @@ -218,90 +218,87 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0] #define SWIGTYPE_p_wxPreviewFrame swig_types[1] #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2] -#define SWIGTYPE_p_wxAcceleratorEntry swig_types[3] -#define SWIGTYPE_p_wxPyPanel swig_types[4] -#define SWIGTYPE_p_wxMenu swig_types[5] -#define SWIGTYPE_p_wxPrintData swig_types[6] -#define SWIGTYPE_p_wxFontData swig_types[7] -#define SWIGTYPE_p_wxEvent swig_types[8] -#define SWIGTYPE_p_wxTaskBarIcon swig_types[9] -#define SWIGTYPE_p_wxIconBundle swig_types[10] -#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11] -#define SWIGTYPE_p_wxFindDialogEvent swig_types[12] -#define SWIGTYPE_p_wxPreviewCanvas swig_types[13] -#define SWIGTYPE_p_wxFont swig_types[14] -#define SWIGTYPE_p_wxSplitterEvent swig_types[15] -#define SWIGTYPE_p_wxRegion swig_types[16] -#define SWIGTYPE_p_wxFindReplaceData swig_types[17] -#define SWIGTYPE_p_int swig_types[18] -#define SWIGTYPE_p_wxSize swig_types[19] -#define SWIGTYPE_p_wxDC swig_types[20] -#define SWIGTYPE_p_wxIcon swig_types[21] -#define SWIGTYPE_p_wxMDIChildFrame swig_types[22] -#define SWIGTYPE_p_wxColourData swig_types[23] -#define SWIGTYPE_p_wxNotifyEvent swig_types[24] -#define SWIGTYPE_p_wxPyWindow swig_types[25] -#define SWIGTYPE_p_wxSplashScreen swig_types[26] -#define SWIGTYPE_p_wxFindReplaceDialog swig_types[27] -#define SWIGTYPE_p_wxProgressDialog swig_types[28] -#define SWIGTYPE_p_wxMessageDialog swig_types[29] -#define SWIGTYPE_p_wxTextEntryDialog swig_types[30] -#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31] -#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32] -#define SWIGTYPE_p_wxFileDialog swig_types[33] -#define SWIGTYPE_p_wxPrinter swig_types[34] -#define SWIGTYPE_p_wxMenuItem swig_types[35] -#define SWIGTYPE_p_wxArrayInt swig_types[36] -#define SWIGTYPE_p_wxEvtHandler swig_types[37] -#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[38] -#define SWIGTYPE_p_wxPyHtmlListBox swig_types[39] -#define SWIGTYPE_p_wxPyVListBox swig_types[40] -#define SWIGTYPE_p_wxRect swig_types[41] -#define SWIGTYPE_p_wxAcceleratorTable swig_types[42] -#define SWIGTYPE_p_wxMiniFrame swig_types[43] -#define SWIGTYPE_p_wxFrame swig_types[44] -#define SWIGTYPE_p_wxPyPrintout swig_types[45] -#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[46] -#define SWIGTYPE_p_wxScrollWinEvent swig_types[47] -#define SWIGTYPE_p_wxStatusBar swig_types[48] -#define SWIGTYPE_p_wxMDIParentFrame swig_types[49] -#define SWIGTYPE_p_wxPoint swig_types[50] -#define SWIGTYPE_p_wxObject swig_types[51] -#define SWIGTYPE_p_unsigned_long swig_types[52] -#define SWIGTYPE_p_wxMDIClientWindow swig_types[53] -#define SWIGTYPE_p_wxTipWindow swig_types[54] -#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55] -#define SWIGTYPE_p_wxSashLayoutWindow swig_types[56] -#define SWIGTYPE_p_wxSplitterWindow swig_types[57] -#define SWIGTYPE_p_wxSplashScreenWindow swig_types[58] -#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[59] -#define SWIGTYPE_p_wxPopupWindow swig_types[60] -#define SWIGTYPE_p_wxSashWindow swig_types[61] -#define SWIGTYPE_p_wxTopLevelWindow swig_types[62] -#define SWIGTYPE_p_wxWindow swig_types[63] -#define SWIGTYPE_p_wxScrolledWindow swig_types[64] -#define SWIGTYPE_p_wxMenuBar swig_types[65] -#define SWIGTYPE_p_wxPrintPreview swig_types[66] -#define SWIGTYPE_p_wxSashEvent swig_types[67] -#define SWIGTYPE_p_wxString swig_types[68] -#define SWIGTYPE_p_wxPyPrintPreview swig_types[69] -#define SWIGTYPE_p_wxFontDialog swig_types[70] -#define SWIGTYPE_p_wxDirDialog swig_types[71] -#define SWIGTYPE_p_wxColourDialog swig_types[72] -#define SWIGTYPE_p_wxDialog swig_types[73] -#define SWIGTYPE_p_wxPanel swig_types[74] -#define SWIGTYPE_p_wxPageSetupDialog swig_types[75] -#define SWIGTYPE_p_wxPrintDialog swig_types[76] -#define SWIGTYPE_p_wxBitmap swig_types[77] -#define SWIGTYPE_p_wxCommandEvent swig_types[78] -#define SWIGTYPE_p_wxPrintQuality swig_types[79] -#define SWIGTYPE_p_wxPreviewControlBar swig_types[80] -#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81] -#define SWIGTYPE_p_wxColour swig_types[82] -#define SWIGTYPE_p_wxToolBar swig_types[83] -#define SWIGTYPE_p_wxPageSetupDialogData swig_types[84] -#define SWIGTYPE_p_wxPrintDialogData swig_types[85] -static swig_type_info *swig_types[87]; +#define SWIGTYPE_p_wxPyPanel swig_types[3] +#define SWIGTYPE_p_wxMenu swig_types[4] +#define SWIGTYPE_p_wxPrintData swig_types[5] +#define SWIGTYPE_p_wxFontData swig_types[6] +#define SWIGTYPE_p_wxEvent swig_types[7] +#define SWIGTYPE_p_wxTaskBarIcon swig_types[8] +#define SWIGTYPE_p_wxIconBundle swig_types[9] +#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10] +#define SWIGTYPE_p_wxFindDialogEvent swig_types[11] +#define SWIGTYPE_p_wxPreviewCanvas swig_types[12] +#define SWIGTYPE_p_wxFont swig_types[13] +#define SWIGTYPE_p_wxSplitterEvent swig_types[14] +#define SWIGTYPE_p_wxRegion swig_types[15] +#define SWIGTYPE_p_wxFindReplaceData swig_types[16] +#define SWIGTYPE_p_int swig_types[17] +#define SWIGTYPE_p_wxSize swig_types[18] +#define SWIGTYPE_p_wxDC swig_types[19] +#define SWIGTYPE_p_wxIcon swig_types[20] +#define SWIGTYPE_p_wxMDIChildFrame swig_types[21] +#define SWIGTYPE_p_wxColourData swig_types[22] +#define SWIGTYPE_p_wxNotifyEvent swig_types[23] +#define SWIGTYPE_p_wxPyWindow swig_types[24] +#define SWIGTYPE_p_wxSplashScreen swig_types[25] +#define SWIGTYPE_p_wxFindReplaceDialog swig_types[26] +#define SWIGTYPE_p_wxProgressDialog swig_types[27] +#define SWIGTYPE_p_wxMessageDialog swig_types[28] +#define SWIGTYPE_p_wxTextEntryDialog swig_types[29] +#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30] +#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31] +#define SWIGTYPE_p_wxFileDialog swig_types[32] +#define SWIGTYPE_p_wxPrinter swig_types[33] +#define SWIGTYPE_p_wxArrayInt swig_types[34] +#define SWIGTYPE_p_wxEvtHandler swig_types[35] +#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36] +#define SWIGTYPE_p_wxPyHtmlListBox swig_types[37] +#define SWIGTYPE_p_wxPyVListBox swig_types[38] +#define SWIGTYPE_p_wxRect swig_types[39] +#define SWIGTYPE_p_wxMiniFrame swig_types[40] +#define SWIGTYPE_p_wxFrame swig_types[41] +#define SWIGTYPE_p_wxPyPrintout swig_types[42] +#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[43] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[44] +#define SWIGTYPE_p_wxStatusBar swig_types[45] +#define SWIGTYPE_p_wxMDIParentFrame swig_types[46] +#define SWIGTYPE_p_wxPoint swig_types[47] +#define SWIGTYPE_p_wxObject swig_types[48] +#define SWIGTYPE_p_unsigned_long swig_types[49] +#define SWIGTYPE_p_wxMDIClientWindow swig_types[50] +#define SWIGTYPE_p_wxTipWindow swig_types[51] +#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[52] +#define SWIGTYPE_p_wxSashLayoutWindow swig_types[53] +#define SWIGTYPE_p_wxSplitterWindow swig_types[54] +#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[55] +#define SWIGTYPE_p_wxPopupWindow swig_types[56] +#define SWIGTYPE_p_wxSashWindow swig_types[57] +#define SWIGTYPE_p_wxTopLevelWindow swig_types[58] +#define SWIGTYPE_p_wxWindow swig_types[59] +#define SWIGTYPE_p_wxScrolledWindow swig_types[60] +#define SWIGTYPE_p_wxSplashScreenWindow swig_types[61] +#define SWIGTYPE_p_wxMenuBar swig_types[62] +#define SWIGTYPE_p_wxPrintPreview swig_types[63] +#define SWIGTYPE_p_wxSashEvent swig_types[64] +#define SWIGTYPE_p_wxString swig_types[65] +#define SWIGTYPE_p_wxPyPrintPreview swig_types[66] +#define SWIGTYPE_p_wxPageSetupDialog swig_types[67] +#define SWIGTYPE_p_wxFontDialog swig_types[68] +#define SWIGTYPE_p_wxDirDialog swig_types[69] +#define SWIGTYPE_p_wxColourDialog swig_types[70] +#define SWIGTYPE_p_wxDialog swig_types[71] +#define SWIGTYPE_p_wxPanel swig_types[72] +#define SWIGTYPE_p_wxPrintDialog swig_types[73] +#define SWIGTYPE_p_wxBitmap swig_types[74] +#define SWIGTYPE_p_wxCommandEvent swig_types[75] +#define SWIGTYPE_p_wxPrintQuality swig_types[76] +#define SWIGTYPE_p_wxPreviewControlBar swig_types[77] +#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[78] +#define SWIGTYPE_p_wxColour swig_types[79] +#define SWIGTYPE_p_wxToolBar swig_types[80] +#define SWIGTYPE_p_wxPageSetupDialogData swig_types[81] +#define SWIGTYPE_p_wxPrintDialogData swig_types[82] +static swig_type_info *swig_types[84]; /* -------- TYPES TABLE (END) -------- */ @@ -2100,372 +2097,6 @@ static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) { Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - int arg1 = (int) 0 ; - int arg2 = (int) 0 ; - int arg3 = (int) 0 ; - wxMenuItem *arg4 = (wxMenuItem *) NULL ; - wxAcceleratorEntry *result; - PyObject * obj3 = 0 ; - char *kwnames[] = { - (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiiO:new_AcceleratorEntry",kwnames,&arg1,&arg2,&arg3,&obj3)) goto fail; - if (obj3) { - if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 1); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - delete arg1; - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; - int arg2 ; - int arg3 ; - int arg4 ; - wxMenuItem *arg5 = (wxMenuItem *) NULL ; - PyObject * obj0 = 0 ; - PyObject * obj4 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (obj4) { - if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->Set(arg2,arg3,arg4,arg5); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; - wxMenuItem *arg2 = (wxMenuItem *) 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "item", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetMenuItem(arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; - wxMenuItem *result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - resultobj = wxPyMake_wxObject(result); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; - int result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)(arg1)->GetFlags(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; - int result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)(arg1)->GetKeyCode(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; - int result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)(arg1)->GetCommand(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) { - PyObject *obj; - if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj); - Py_INCREF(obj); - return Py_BuildValue((char *)""); -} -static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - int arg1 ; - wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ; - wxAcceleratorTable *result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "n", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail; - { - arg2 = wxAcceleratorEntry_LIST_helper(obj0); - if (arg2) arg1 = PyList_Size(obj0); - else arg1 = 0; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 1); - { - delete [] arg2; - } - return resultobj; - fail: - { - delete [] arg2; - } - return NULL; -} - - -static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - delete arg1; - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ; - bool result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxAcceleratorTable const *)arg1)->Ok(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) { - PyObject *obj; - if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj); - Py_INCREF(obj); - return Py_BuildValue((char *)""); -} -static int _wrap_NullAcceleratorTable_set(PyObject *_val) { - PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only."); - return 1; -} - - -static PyObject *_wrap_NullAcceleratorTable_get() { - PyObject *pyobj; - - pyobj = SWIG_NewPointerObj((void *) &wxNullAcceleratorTable, SWIGTYPE_p_wxAcceleratorTable, 0); - return pyobj; -} - - -static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxString *arg1 = 0 ; - wxAcceleratorEntry *result; - bool temp1 = False ; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "label", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail; - { - arg1 = wxString_in_helper(obj0); - if (arg1 == NULL) SWIG_fail; - temp1 = True; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0); - { - if (temp1) - delete arg1; - } - return resultobj; - fail: - { - if (temp1) - delete arg1; - } - return NULL; -} - - static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; @@ -20720,20 +20351,6 @@ static PyMethodDef SwigMethods[] = { { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS }, { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS }, { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS }, - { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS }, - { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS }, - { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS }, - { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS }, - { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS }, - { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS }, - { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS }, - { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS }, - { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS }, - { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS }, - { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS }, - { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS }, - { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS }, - { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS }, { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS }, { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS }, { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS }, @@ -21937,9 +21554,6 @@ static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { static void *_p_wxKeyEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); } -static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); -} static void *_p_wxWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); } @@ -21949,6 +21563,9 @@ static void *_p_wxMenuTo_p_wxObject(void *x) { static void *_p_wxMenuBarTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); } +static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); +} static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); } @@ -22372,7 +21989,6 @@ static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}}; static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}}; static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}}; -static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}}; static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}}; static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}}; static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}}; @@ -22404,14 +22020,12 @@ static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDia static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}}; static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}}; static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}}; -static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}}; static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}}; static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{0}}; static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}}; static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}}; static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}}; static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}}; -static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}}; static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}}; static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame},{"_p_wxFrame"},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame},{0}}; static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}}; @@ -22427,24 +22041,24 @@ static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWin static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{0}}; static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}}; static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}}; -static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}}; static swig_type_info _swigt__p_wxPyVScrolledWindow[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0},{"_p_wxPyVScrolledWindow"},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow},{0}}; static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{0}}; static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}}; static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow},{0}}; static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{0}}; static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}}; +static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}}; static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}}; static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}}; static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}}; static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}}; +static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}}; static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}}; static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}}; static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}}; static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0},{"_p_wxDialog"},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog},{0}}; static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel},{0}}; -static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}}; static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}}; static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}}; static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent},{0}}; @@ -22460,7 +22074,6 @@ static swig_type_info *swig_types_initial[] = { _swigt__p_wxQueryLayoutInfoEvent, _swigt__p_wxPreviewFrame, _swigt__p_wxPyPreviewFrame, -_swigt__p_wxAcceleratorEntry, _swigt__p_wxPyPanel, _swigt__p_wxMenu, _swigt__p_wxPrintData, @@ -22492,14 +22105,12 @@ _swigt__p_wxSingleChoiceDialog, _swigt__p_wxMultiChoiceDialog, _swigt__p_wxFileDialog, _swigt__p_wxPrinter, -_swigt__p_wxMenuItem, _swigt__p_wxArrayInt, _swigt__p_wxEvtHandler, _swigt__p_wxCalculateLayoutEvent, _swigt__p_wxPyHtmlListBox, _swigt__p_wxPyVListBox, _swigt__p_wxRect, -_swigt__p_wxAcceleratorTable, _swigt__p_wxMiniFrame, _swigt__p_wxFrame, _swigt__p_wxPyPrintout, @@ -22515,24 +22126,24 @@ _swigt__p_wxTipWindow, _swigt__p_wxPyPopupTransientWindow, _swigt__p_wxSashLayoutWindow, _swigt__p_wxSplitterWindow, -_swigt__p_wxSplashScreenWindow, _swigt__p_wxPyVScrolledWindow, _swigt__p_wxPopupWindow, _swigt__p_wxSashWindow, _swigt__p_wxTopLevelWindow, _swigt__p_wxWindow, _swigt__p_wxScrolledWindow, +_swigt__p_wxSplashScreenWindow, _swigt__p_wxMenuBar, _swigt__p_wxPrintPreview, _swigt__p_wxSashEvent, _swigt__p_wxString, _swigt__p_wxPyPrintPreview, +_swigt__p_wxPageSetupDialog, _swigt__p_wxFontDialog, _swigt__p_wxDirDialog, _swigt__p_wxColourDialog, _swigt__p_wxDialog, _swigt__p_wxPanel, -_swigt__p_wxPageSetupDialog, _swigt__p_wxPrintDialog, _swigt__p_wxBitmap, _swigt__p_wxCommandEvent, @@ -22685,8 +22296,6 @@ SWIGEXPORT(void) SWIG_init(void) { } SWIG_InstallConstants(d,swig_const_table); - PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); - SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set); PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); diff --git a/wxPython/src/mac/wizard.py b/wxPython/src/mac/wizard.py index 589de2b875..65c71be1b3 100644 --- a/wxPython/src/mac/wizard.py +++ b/wxPython/src/mac/wizard.py @@ -19,12 +19,13 @@ 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""" + """ + __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 @@ -46,7 +47,6 @@ class WizardEventPtr(WizardEvent): _wizard.WizardEvent_swigregister(WizardEventPtr) class WizardPage(windows.Panel): - """""" 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,) @@ -75,7 +75,6 @@ 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): @@ -181,12 +180,13 @@ def PrePyWizardPage(*args, **kwargs): 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""" + """ + __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 @@ -194,8 +194,10 @@ class WizardPageSimple(WizardPage): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Wizard parent=None, WizardPage prev=None, WizardPage next=None, - wxBitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool""" + """ + 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): @@ -230,13 +232,14 @@ def WizardPageSimple_Chain(*args, **kwargs): 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""" + """ + __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 @@ -244,8 +247,10 @@ class Wizard(windows.Dialog): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, wxString title=wxEmptyString, - wxBitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool""" + """ + 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): diff --git a/wxPython/src/mac/wizard_wrap.cpp b/wxPython/src/mac/wizard_wrap.cpp index 69e99cd67e..d318eddce9 100644 --- a/wxPython/src/mac/wizard_wrap.cpp +++ b/wxPython/src/mac/wizard_wrap.cpp @@ -2323,9 +2323,6 @@ static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { static void *_p_wxKeyEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); } -static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); -} static void *_p_wxWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); } @@ -2335,6 +2332,9 @@ static void *_p_wxMenuTo_p_wxObject(void *x) { static void *_p_wxMenuBarTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); } +static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); +} static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); } diff --git a/wxPython/src/msw/calendar.py b/wxPython/src/msw/calendar.py index e027f1cd59..8c64bf55b4 100644 --- a/wxPython/src/msw/calendar.py +++ b/wxPython/src/msw/calendar.py @@ -23,13 +23,14 @@ 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""" + """ + __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 @@ -117,7 +118,6 @@ def CalendarDateAttrBorder(*args, **kwargs): 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): @@ -156,14 +156,15 @@ 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""" + """ + __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 @@ -171,10 +172,12 @@ class CalendarCtrl(core.Control): self._setOORInfo(self) 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""" + """ + 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): diff --git a/wxPython/src/msw/calendar_wrap.cpp b/wxPython/src/msw/calendar_wrap.cpp index d5287c26e2..d382274422 100644 --- a/wxPython/src/msw/calendar_wrap.cpp +++ b/wxPython/src/msw/calendar_wrap.cpp @@ -2135,6 +2135,9 @@ static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxEvtHandler *) x)); } +static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxAcceleratorTable *) x)); +} static void *_p_wxImageTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxImage *) x)); } @@ -2419,7 +2422,7 @@ static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { } static swig_type_info _swigt__p_wxDateTime__WeekDay[] = {{"_p_wxDateTime__WeekDay", 0, "wxDateTime::WeekDay *", 0},{"_p_wxDateTime__WeekDay"},{0}}; static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}}; static swig_type_info _swigt__p_wxCalendarEvent[] = {{"_p_wxCalendarEvent", 0, "wxCalendarEvent *", 0},{"_p_wxCalendarEvent"},{0}}; static swig_type_info _swigt__p_wxCalendarDateAttr[] = {{"_p_wxCalendarDateAttr", 0, "wxCalendarDateAttr *", 0},{"_p_wxCalendarDateAttr"},{0}}; static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxWindow},{0}}; diff --git a/wxPython/src/msw/controls.py b/wxPython/src/msw/controls.py index 348a2e95ce..0b0942adc5 100644 --- a/wxPython/src/msw/controls.py +++ b/wxPython/src/msw/controls.py @@ -14,14 +14,22 @@ BU_BOTTOM = _controls.BU_BOTTOM BU_EXACTFIT = _controls.BU_EXACTFIT BU_AUTODRAW = _controls.BU_AUTODRAW class Button(core.Control): - """""" + """ + A button is a control that contains a text string, and is one of the most + common elements of a GUI. It may be placed on a dialog box or panel, or + indeed almost any other window. + """ def __repr__(self): return "<%s.%s; proxy of C++ wxButton 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=0, - Validator validator=DefaultValidator, - wxString name=wxPyButtonNameStr) -> Button""" + """ + __init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyButtonNameStr) -> Button + + Create and show a button. + """ newobj = _controls.new_Button(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -29,14 +37,22 @@ class Button(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - Validator validator=DefaultValidator, - wxString name=wxPyButtonNameStr) -> bool""" + """ + Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyButtonNameStr) -> bool + + Acutally create the GUI Button for 2-phase creation. + """ return _controls.Button_Create(*args, **kwargs) def SetDefault(*args, **kwargs): - """SetDefault()""" + """ + SetDefault() + + This sets the button to be the default item for the panel or dialog box. + """ return _controls.Button_SetDefault(*args, **kwargs) def SetImageLabel(*args, **kwargs): @@ -61,7 +77,11 @@ class ButtonPtr(Button): _controls.Button_swigregister(ButtonPtr) def PreButton(*args, **kwargs): - """PreButton() -> Button""" + """ + PreButton() -> Button + + Precreate a Button for 2-phase creation. + """ val = _controls.new_PreButton(*args, **kwargs) val.thisown = 1 return val @@ -71,14 +91,18 @@ def Button_GetDefaultSize(*args, **kwargs): return _controls.Button_GetDefaultSize(*args, **kwargs) class BitmapButton(Button): - """""" + """A Buttont that contains a bitmap.""" def __repr__(self): return "<%s.%s; proxy of C++ wxBitmapButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, - Size size=DefaultSize, long style=BU_AUTODRAW, - Validator validator=DefaultValidator, - wxString name=wxPyButtonNameStr) -> BitmapButton""" + """ + __init__(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, + Size size=DefaultSize, long style=BU_AUTODRAW, + Validator validator=DefaultValidator, + wxString name=wxPyButtonNameStr) -> BitmapButton + + Create and show a button. + """ newobj = _controls.new_BitmapButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -86,42 +110,79 @@ class BitmapButton(Button): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, - Size size=DefaultSize, long style=BU_AUTODRAW, - Validator validator=DefaultValidator, - wxString name=wxPyButtonNameStr) -> bool""" + """ + Create(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, + Size size=DefaultSize, long style=BU_AUTODRAW, + Validator validator=DefaultValidator, + wxString name=wxPyButtonNameStr) -> bool + + Acutally create the GUI BitmapButton for 2-phase creation. + """ return _controls.BitmapButton_Create(*args, **kwargs) def GetBitmapLabel(*args, **kwargs): - """GetBitmapLabel() -> wxBitmap""" + """ + GetBitmapLabel() -> wxBitmap + + Returns the label bitmap (the one passed to the constructor). + """ return _controls.BitmapButton_GetBitmapLabel(*args, **kwargs) def GetBitmapDisabled(*args, **kwargs): - """GetBitmapDisabled() -> wxBitmap""" + """ + GetBitmapDisabled() -> wxBitmap + + Returns the bitmap for the disabled state. + """ return _controls.BitmapButton_GetBitmapDisabled(*args, **kwargs) def GetBitmapFocus(*args, **kwargs): - """GetBitmapFocus() -> wxBitmap""" + """ + GetBitmapFocus() -> wxBitmap + + Returns the bitmap for the focused state. + """ return _controls.BitmapButton_GetBitmapFocus(*args, **kwargs) def GetBitmapSelected(*args, **kwargs): - """GetBitmapSelected() -> wxBitmap""" + """ + GetBitmapSelected() -> wxBitmap + + Returns the bitmap for the selected state. + """ return _controls.BitmapButton_GetBitmapSelected(*args, **kwargs) def SetBitmapDisabled(*args, **kwargs): - """SetBitmapDisabled(wxBitmap bitmap)""" + """ + SetBitmapDisabled(wxBitmap bitmap) + + Sets the bitmap for the disabled button appearance. + """ return _controls.BitmapButton_SetBitmapDisabled(*args, **kwargs) def SetBitmapFocus(*args, **kwargs): - """SetBitmapFocus(wxBitmap bitmap)""" + """ + SetBitmapFocus(wxBitmap bitmap) + + Sets the bitmap for the button appearance when it has the keyboard focus. + """ return _controls.BitmapButton_SetBitmapFocus(*args, **kwargs) def SetBitmapSelected(*args, **kwargs): - """SetBitmapSelected(wxBitmap bitmap)""" + """ + SetBitmapSelected(wxBitmap bitmap) + + Sets the bitmap for the selected (depressed) button appearance. + """ return _controls.BitmapButton_SetBitmapSelected(*args, **kwargs) def SetBitmapLabel(*args, **kwargs): - """SetBitmapLabel(wxBitmap bitmap)""" + """ + SetBitmapLabel(wxBitmap bitmap) + + Sets the bitmap label for the button. This is the bitmap used for the + unselected state, and for all other states if no other bitmaps are provided. + """ return _controls.BitmapButton_SetBitmapLabel(*args, **kwargs) def SetMargins(*args, **kwargs): @@ -145,7 +206,11 @@ class BitmapButtonPtr(BitmapButton): _controls.BitmapButton_swigregister(BitmapButtonPtr) def PreBitmapButton(*args, **kwargs): - """PreBitmapButton() -> BitmapButton""" + """ + PreBitmapButton() -> BitmapButton + + Precreate a BitmapButton for 2-phase creation. + """ val = _controls.new_PreBitmapButton(*args, **kwargs) val.thisown = 1 return val @@ -159,14 +224,15 @@ CHK_UNCHECKED = _controls.CHK_UNCHECKED CHK_CHECKED = _controls.CHK_CHECKED CHK_UNDETERMINED = _controls.CHK_UNDETERMINED class CheckBox(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCheckBox 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=0, - Validator validator=DefaultValidator, - wxString name=wxPyCheckBoxNameStr) -> CheckBox""" + """ + __init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyCheckBoxNameStr) -> CheckBox + """ newobj = _controls.new_CheckBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -174,10 +240,12 @@ class CheckBox(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - Validator validator=DefaultValidator, - wxString name=wxPyCheckBoxNameStr) -> bool""" + """ + Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyCheckBoxNameStr) -> bool + """ return _controls.CheckBox_Create(*args, **kwargs) def GetValue(*args, **kwargs): @@ -225,14 +293,15 @@ def PreCheckBox(*args, **kwargs): #--------------------------------------------------------------------------- class Choice(core.ControlWithItems): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxChoice 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, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyChoiceNameStr) -> Choice""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyChoiceNameStr) -> Choice + """ newobj = _controls.new_Choice(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -240,10 +309,12 @@ class Choice(core.ControlWithItems): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyChoiceNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyChoiceNameStr) -> bool + """ return _controls.Choice_Create(*args, **kwargs) def GetColumns(*args, **kwargs): @@ -283,15 +354,16 @@ def PreChoice(*args, **kwargs): #--------------------------------------------------------------------------- class ComboBox(Choice): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxComboBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString value=wxPyEmptyString, - Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyComboBoxNameStr) -> ComboBox""" + """ + __init__(Window parent, int id, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyComboBoxNameStr) -> ComboBox + """ newobj = _controls.new_ComboBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -299,11 +371,13 @@ class ComboBox(Choice): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString value=wxPyEmptyString, - Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyComboBoxNameStr) -> bool""" + """ + Create(Window parent, int id, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyComboBoxNameStr) -> bool + """ return _controls.ComboBox_Create(*args, **kwargs) def GetValue(*args, **kwargs): @@ -383,14 +457,15 @@ GA_VERTICAL = _controls.GA_VERTICAL GA_SMOOTH = _controls.GA_SMOOTH GA_PROGRESSBAR = _controls.GA_PROGRESSBAR class Gauge(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGauge instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, int range, Point pos=DefaultPosition, - Size size=DefaultSize, long style=GA_HORIZONTAL, - Validator validator=DefaultValidator, - wxString name=wxPyGaugeNameStr) -> Gauge""" + """ + __init__(Window parent, int id, int range, Point pos=DefaultPosition, + Size size=DefaultSize, long style=GA_HORIZONTAL, + Validator validator=DefaultValidator, + wxString name=wxPyGaugeNameStr) -> Gauge + """ newobj = _controls.new_Gauge(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -398,10 +473,12 @@ class Gauge(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, int range, Point pos=DefaultPosition, - Size size=DefaultSize, long style=GA_HORIZONTAL, - Validator validator=DefaultValidator, - wxString name=wxPyGaugeNameStr) -> bool""" + """ + Create(Window parent, int id, int range, Point pos=DefaultPosition, + Size size=DefaultSize, long style=GA_HORIZONTAL, + Validator validator=DefaultValidator, + wxString name=wxPyGaugeNameStr) -> bool + """ return _controls.Gauge_Create(*args, **kwargs) def SetRange(*args, **kwargs): @@ -457,13 +534,14 @@ def PreGauge(*args, **kwargs): #--------------------------------------------------------------------------- class StaticBox(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStaticBox 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=0, - wxString name=wxPyStaticBoxNameStr) -> StaticBox""" + """ + __init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticBoxNameStr) -> StaticBox + """ newobj = _controls.new_StaticBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -471,9 +549,11 @@ class StaticBox(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - wxString name=wxPyStaticBoxNameStr) -> bool""" + """ + Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticBoxNameStr) -> bool + """ return _controls.StaticBox_Create(*args, **kwargs) @@ -493,13 +573,14 @@ def PreStaticBox(*args, **kwargs): #--------------------------------------------------------------------------- class StaticLine(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStaticLine 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=LI_HORIZONTAL, - wxString name=wxPyStaticTextNameStr) -> StaticLine""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=LI_HORIZONTAL, + wxString name=wxPyStaticTextNameStr) -> StaticLine + """ newobj = _controls.new_StaticLine(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -507,9 +588,11 @@ class StaticLine(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=LI_HORIZONTAL, - wxString name=wxPyStaticTextNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=LI_HORIZONTAL, + wxString name=wxPyStaticTextNameStr) -> bool + """ return _controls.StaticLine_Create(*args, **kwargs) def IsVertical(*args, **kwargs): @@ -542,13 +625,14 @@ def StaticLine_GetDefaultSize(*args, **kwargs): #--------------------------------------------------------------------------- class StaticText(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStaticText 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=0, - wxString name=wxPyStaticTextNameStr) -> StaticText""" + """ + __init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticTextNameStr) -> StaticText + """ newobj = _controls.new_StaticText(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -556,9 +640,11 @@ class StaticText(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - wxString name=wxPyStaticTextNameStr) -> bool""" + """ + Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticTextNameStr) -> bool + """ return _controls.StaticText_Create(*args, **kwargs) @@ -578,21 +664,24 @@ def PreStaticText(*args, **kwargs): #--------------------------------------------------------------------------- class StaticBitmap(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStaticBitmap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - wxString name=wxPyStaticBitmapNameStr) -> StaticBitmap""" + """ + __init__(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticBitmapNameStr) -> StaticBitmap + """ newobj = _controls.new_StaticBitmap(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def Create(*args, **kwargs): - """Create(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - wxString name=wxPyStaticBitmapNameStr) -> bool""" + """ + Create(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticBitmapNameStr) -> bool + """ return _controls.StaticBitmap_Create(*args, **kwargs) def GetBitmap(*args, **kwargs): @@ -624,14 +713,15 @@ def PreStaticBitmap(*args, **kwargs): #--------------------------------------------------------------------------- class ListBox(core.ControlWithItems): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxListBox 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, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyListBoxNameStr) -> ListBox""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyListBoxNameStr) -> ListBox + """ newobj = _controls.new_ListBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -639,10 +729,12 @@ class ListBox(core.ControlWithItems): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyListBoxNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyListBoxNameStr) -> bool + """ return _controls.ListBox_Create(*args, **kwargs) def Insert(*args, **kwargs): @@ -722,23 +814,26 @@ def PreListBox(*args, **kwargs): #--------------------------------------------------------------------------- class CheckListBox(ListBox): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCheckListBox 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, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyListBoxNameStr) -> CheckListBox""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyListBoxNameStr) -> CheckListBox + """ newobj = _controls.new_CheckListBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyListBoxNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyListBoxNameStr) -> bool + """ return _controls.CheckListBox_Create(*args, **kwargs) def IsChecked(*args, **kwargs): @@ -814,13 +909,14 @@ TEXT_ATTR_LEFT_INDENT = _controls.TEXT_ATTR_LEFT_INDENT TEXT_ATTR_RIGHT_INDENT = _controls.TEXT_ATTR_RIGHT_INDENT TEXT_ATTR_TABS = _controls.TEXT_ATTR_TABS class TextAttr(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTextAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args): - """__init__() -> TextAttr -__init__(wxColour colText, wxColour colBack=wxNullColour, wxFont font=wxNullFont, - wxTextAttrAlignment alignment=TEXT_ALIGNMENT_DEFAULT) -> TextAttr""" + """ + __init__() -> TextAttr + __init__(wxColour colText, wxColour colBack=wxNullColour, wxFont font=wxNullFont, + wxTextAttrAlignment alignment=TEXT_ALIGNMENT_DEFAULT) -> TextAttr + """ newobj = _controls.new_TextAttr(*args) self.this = newobj.this self.thisown = 1 @@ -947,14 +1043,15 @@ def TextAttr_Combine(*args, **kwargs): return _controls.TextAttr_Combine(*args, **kwargs) class TextCtrl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString value=wxPyEmptyString, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyTextCtrlNameStr) -> TextCtrl""" + """ + __init__(Window parent, int id, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyTextCtrlNameStr) -> TextCtrl + """ newobj = _controls.new_TextCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -962,10 +1059,12 @@ class TextCtrl(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString value=wxPyEmptyString, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyTextCtrlNameStr) -> bool""" + """ + Create(Window parent, int id, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyTextCtrlNameStr) -> bool + """ return _controls.TextCtrl_Create(*args, **kwargs) def GetValue(*args, **kwargs): @@ -1009,9 +1108,11 @@ class TextCtrl(core.Control): return _controls.TextCtrl_IsMultiLine(*args, **kwargs) def GetSelection(*args, **kwargs): - """GetSelection() -> (from, to) + """ + GetSelection() -> (from, to) -If the return values from and to are the same, there is no selection.""" + If the return values from and to are the same, there is no selection. + """ return _controls.TextCtrl_GetSelection(*args, **kwargs) def GetStringSelection(*args, **kwargs): @@ -1193,7 +1294,6 @@ wxEVT_COMMAND_TEXT_ENTER = _controls.wxEVT_COMMAND_TEXT_ENTER wxEVT_COMMAND_TEXT_URL = _controls.wxEVT_COMMAND_TEXT_URL wxEVT_COMMAND_TEXT_MAXLEN = _controls.wxEVT_COMMAND_TEXT_MAXLEN class TextUrlEvent(core.CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTextUrlEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1230,13 +1330,14 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1) #--------------------------------------------------------------------------- class ScrollBar(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxScrollBar 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=SB_HORIZONTAL, - Validator validator=DefaultValidator, wxString name=wxPyScrollBarNameStr) -> ScrollBar""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SB_HORIZONTAL, + Validator validator=DefaultValidator, wxString name=wxPyScrollBarNameStr) -> ScrollBar + """ newobj = _controls.new_ScrollBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1244,9 +1345,11 @@ class ScrollBar(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=SB_HORIZONTAL, - Validator validator=DefaultValidator, wxString name=wxPyScrollBarNameStr) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SB_HORIZONTAL, + Validator validator=DefaultValidator, wxString name=wxPyScrollBarNameStr) -> bool + """ return _controls.ScrollBar_Create(*args, **kwargs) def GetThumbPosition(*args, **kwargs): @@ -1275,8 +1378,10 @@ class ScrollBar(core.Control): return _controls.ScrollBar_SetThumbPosition(*args, **kwargs) def SetScrollbar(*args, **kwargs): - """SetScrollbar(int position, int thumbSize, int range, int pageSize, - bool refresh=True)""" + """ + SetScrollbar(int position, int thumbSize, int range, int pageSize, + bool refresh=True) + """ return _controls.ScrollBar_SetScrollbar(*args, **kwargs) @@ -1300,13 +1405,14 @@ SP_VERTICAL = _controls.SP_VERTICAL SP_ARROW_KEYS = _controls.SP_ARROW_KEYS SP_WRAP = _controls.SP_WRAP class SpinButton(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSpinButton 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=SP_HORIZONTAL, - wxString name=wxPySPIN_BUTTON_NAME) -> SpinButton""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SP_HORIZONTAL, + wxString name=wxPySPIN_BUTTON_NAME) -> SpinButton + """ newobj = _controls.new_SpinButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1314,9 +1420,11 @@ class SpinButton(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=SP_HORIZONTAL, - wxString name=wxPySPIN_BUTTON_NAME) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SP_HORIZONTAL, + wxString name=wxPySPIN_BUTTON_NAME) -> bool + """ return _controls.SpinButton_Create(*args, **kwargs) def GetValue(*args, **kwargs): @@ -1366,14 +1474,15 @@ def PreSpinButton(*args, **kwargs): return val class SpinCtrl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSpinCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=-1, wxString value=wxPyEmptyString, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=SP_ARROW_KEYS, int min=0, - int max=100, int initial=0, wxString name=wxPySpinCtrlNameStr) -> SpinCtrl""" + """ + __init__(Window parent, int id=-1, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=SP_ARROW_KEYS, int min=0, + int max=100, int initial=0, wxString name=wxPySpinCtrlNameStr) -> SpinCtrl + """ newobj = _controls.new_SpinCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1381,10 +1490,12 @@ class SpinCtrl(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, wxString value=wxPyEmptyString, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=SP_ARROW_KEYS, int min=0, - int max=100, int initial=0, wxString name=wxPySpinCtrlNameStr) -> bool""" + """ + Create(Window parent, int id=-1, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=SP_ARROW_KEYS, int min=0, + int max=100, int initial=0, wxString name=wxPySpinCtrlNameStr) -> bool + """ return _controls.SpinCtrl_Create(*args, **kwargs) def GetValue(*args, **kwargs): @@ -1435,15 +1546,16 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) #--------------------------------------------------------------------------- class RadioBox(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxRadioBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString label, Point point=DefaultPosition, - Size size=DefaultSize, int choices=0, - wxString choices_array=None, int majorDimension=0, - long style=RA_HORIZONTAL, Validator validator=DefaultValidator, - wxString name=wxPyRadioBoxNameStr) -> RadioBox""" + """ + __init__(Window parent, int id, wxString label, Point point=DefaultPosition, + Size size=DefaultSize, int choices=0, + wxString choices_array=None, int majorDimension=0, + long style=RA_HORIZONTAL, Validator validator=DefaultValidator, + wxString name=wxPyRadioBoxNameStr) -> RadioBox + """ newobj = _controls.new_RadioBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1451,11 +1563,13 @@ class RadioBox(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString label, Point point=DefaultPosition, - Size size=DefaultSize, int choices=0, - wxString choices_array=None, int majorDimension=0, - long style=RA_HORIZONTAL, Validator validator=DefaultValidator, - wxString name=wxPyRadioBoxNameStr) -> bool""" + """ + Create(Window parent, int id, wxString label, Point point=DefaultPosition, + Size size=DefaultSize, int choices=0, + wxString choices_array=None, int majorDimension=0, + long style=RA_HORIZONTAL, Validator validator=DefaultValidator, + wxString name=wxPyRadioBoxNameStr) -> bool + """ return _controls.RadioBox_Create(*args, **kwargs) def SetSelection(*args, **kwargs): @@ -1529,14 +1643,15 @@ def PreRadioBox(*args, **kwargs): #--------------------------------------------------------------------------- class RadioButton(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxRadioButton 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=0, - Validator validator=DefaultValidator, - wxString name=wxPyRadioButtonNameStr) -> RadioButton""" + """ + __init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyRadioButtonNameStr) -> RadioButton + """ newobj = _controls.new_RadioButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1544,10 +1659,12 @@ class RadioButton(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - Validator validator=DefaultValidator, - wxString name=wxPyRadioButtonNameStr) -> bool""" + """ + Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyRadioButtonNameStr) -> bool + """ return _controls.RadioButton_Create(*args, **kwargs) def GetValue(*args, **kwargs): @@ -1575,14 +1692,15 @@ def PreRadioButton(*args, **kwargs): #--------------------------------------------------------------------------- class Slider(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSlider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, int value, int minValue, int maxValue, - Point point=DefaultPosition, Size size=DefaultSize, - long style=SL_HORIZONTAL, Validator validator=DefaultValidator, - wxString name=wxPySliderNameStr) -> Slider""" + """ + __init__(Window parent, int id, int value, int minValue, int maxValue, + Point point=DefaultPosition, Size size=DefaultSize, + long style=SL_HORIZONTAL, Validator validator=DefaultValidator, + wxString name=wxPySliderNameStr) -> Slider + """ newobj = _controls.new_Slider(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1590,10 +1708,12 @@ class Slider(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, int value, int minValue, int maxValue, - Point point=DefaultPosition, Size size=DefaultSize, - long style=SL_HORIZONTAL, Validator validator=DefaultValidator, - wxString name=wxPySliderNameStr) -> bool""" + """ + Create(Window parent, int id, int value, int minValue, int maxValue, + Point point=DefaultPosition, Size size=DefaultSize, + long style=SL_HORIZONTAL, Validator validator=DefaultValidator, + wxString name=wxPySliderNameStr) -> bool + """ return _controls.Slider_Create(*args, **kwargs) def GetValue(*args, **kwargs): @@ -1700,14 +1820,15 @@ wxEVT_COMMAND_TOGGLEBUTTON_CLICKED = _controls.wxEVT_COMMAND_TOGGLEBUTTON_CLICKE EVT_TOGGLEBUTTON = wx.PyEventBinder( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 1) class ToggleButton(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxToggleButton 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=0, - Validator validator=DefaultValidator, - wxString name=wxPyToggleButtonNameStr) -> ToggleButton""" + """ + __init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyToggleButtonNameStr) -> ToggleButton + """ newobj = _controls.new_ToggleButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1715,10 +1836,12 @@ class ToggleButton(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - Validator validator=DefaultValidator, - wxString name=wxPyToggleButtonNameStr) -> bool""" + """ + Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyToggleButtonNameStr) -> bool + """ return _controls.ToggleButton_Create(*args, **kwargs) def SetValue(*args, **kwargs): @@ -1750,7 +1873,6 @@ def PreToggleButton(*args, **kwargs): #--------------------------------------------------------------------------- class BookCtrl(core.Control): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxBookCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1821,8 +1943,10 @@ class BookCtrl(core.Control): return _controls.BookCtrl_AddPage(*args, **kwargs) def InsertPage(*args, **kwargs): - """InsertPage(size_t n, Window page, wxString text, bool select=False, - int imageId=-1) -> bool""" + """ + InsertPage(size_t n, Window page, wxString text, bool select=False, + int imageId=-1) -> bool + """ return _controls.BookCtrl_InsertPage(*args, **kwargs) def SetSelection(*args, **kwargs): @@ -1842,12 +1966,13 @@ class BookCtrlPtr(BookCtrl): _controls.BookCtrl_swigregister(BookCtrlPtr) class BookCtrlEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBookCtrlEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, - int nOldSel=-1) -> BookCtrlEvent""" + """ + __init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, + int nOldSel=-1) -> BookCtrlEvent + """ newobj = _controls.new_BookCtrlEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1889,12 +2014,13 @@ NB_HITTEST_ONICON = _controls.NB_HITTEST_ONICON NB_HITTEST_ONLABEL = _controls.NB_HITTEST_ONLABEL NB_HITTEST_ONITEM = _controls.NB_HITTEST_ONITEM class Notebook(BookCtrl): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNotebook 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=0, wxString name=wxPyNOTEBOOK_NAME) -> Notebook""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxPyNOTEBOOK_NAME) -> Notebook + """ newobj = _controls.new_Notebook(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1902,8 +2028,10 @@ class Notebook(BookCtrl): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, wxString name=wxPyNOTEBOOK_NAME) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxPyNOTEBOOK_NAME) -> bool + """ return _controls.Notebook_Create(*args, **kwargs) def GetRowCount(*args, **kwargs): @@ -1919,9 +2047,11 @@ class Notebook(BookCtrl): return _controls.Notebook_SetTabSize(*args, **kwargs) def HitTest(*args, **kwargs): - """HitTest(Point pt) -> (tab, where) + """ + HitTest(Point pt) -> (tab, where) -Returns the tab which is hit, and flags indicating where using wxNB_HITTEST_ flags.""" + Returns the tab which is hit, and flags indicating where using wxNB_HITTEST_ flags. + """ return _controls.Notebook_HitTest(*args, **kwargs) def CalcSizeFromPage(*args, **kwargs): @@ -1947,12 +2077,13 @@ def PreNotebook(*args, **kwargs): return val class NotebookEvent(BookCtrlEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNotebookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, - int nOldSel=-1) -> NotebookEvent""" + """ + __init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, + int nOldSel=-1) -> NotebookEvent + """ newobj = _controls.new_NotebookEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2010,12 +2141,13 @@ LB_LEFT = _controls.LB_LEFT LB_RIGHT = _controls.LB_RIGHT LB_ALIGN_MASK = _controls.LB_ALIGN_MASK class Listbook(BookCtrl): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxListbook 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=0, wxString name=wxPyEmptyString) -> Listbook""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxPyEmptyString) -> Listbook + """ newobj = _controls.new_Listbook(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2023,8 +2155,10 @@ class Listbook(BookCtrl): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, wxString name=wxPyEmptyString) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxPyEmptyString) -> bool + """ return _controls.Listbook_Create(*args, **kwargs) def IsVertical(*args, **kwargs): @@ -2046,12 +2180,13 @@ def PreListbook(*args, **kwargs): return val class ListbookEvent(BookCtrlEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxListbookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, - int nOldSel=-1) -> ListbookEvent""" + """ + __init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, + int nOldSel=-1) -> ListbookEvent + """ newobj = _controls.new_ListbookEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2072,7 +2207,6 @@ EVT_LISTBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANG #--------------------------------------------------------------------------- class BookCtrlSizer(core.Sizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBookCtrlSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2104,7 +2238,6 @@ class BookCtrlSizerPtr(BookCtrlSizer): _controls.BookCtrlSizer_swigregister(BookCtrlSizerPtr) class NotebookSizer(core.Sizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNotebookSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2152,7 +2285,6 @@ TB_NOALIGN = _controls.TB_NOALIGN TB_HORZ_LAYOUT = _controls.TB_HORZ_LAYOUT TB_HORZ_TEXT = _controls.TB_HORZ_TEXT class ToolBarToolBase(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxToolBarToolBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -2286,23 +2418,26 @@ class ToolBarToolBasePtr(ToolBarToolBase): _controls.ToolBarToolBase_swigregister(ToolBarToolBasePtr) class ToolBarBase(core.Control): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxToolBarBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def DoAddTool(*args, **kwargs): - """DoAddTool(int id, wxString label, wxBitmap bitmap, wxBitmap bmpDisabled=wxNullBitmap, - wxItemKind kind=ITEM_NORMAL, - wxString shortHelp=wxPyEmptyString, - wxString longHelp=wxPyEmptyString, PyObject clientData=None) -> ToolBarToolBase""" + """ + DoAddTool(int id, wxString label, wxBitmap bitmap, wxBitmap bmpDisabled=wxNullBitmap, + wxItemKind kind=ITEM_NORMAL, + wxString shortHelp=wxPyEmptyString, + wxString longHelp=wxPyEmptyString, PyObject clientData=None) -> ToolBarToolBase + """ return _controls.ToolBarBase_DoAddTool(*args, **kwargs) def DoInsertTool(*args, **kwargs): - """DoInsertTool(size_t pos, int id, wxString label, wxBitmap bitmap, - wxBitmap bmpDisabled=wxNullBitmap, wxItemKind kind=ITEM_NORMAL, - wxString shortHelp=wxPyEmptyString, - wxString longHelp=wxPyEmptyString, - PyObject clientData=None) -> ToolBarToolBase""" + """ + DoInsertTool(size_t pos, int id, wxString label, wxBitmap bitmap, + wxBitmap bmpDisabled=wxNullBitmap, wxItemKind kind=ITEM_NORMAL, + wxString shortHelp=wxPyEmptyString, + wxString longHelp=wxPyEmptyString, + PyObject clientData=None) -> ToolBarToolBase + """ return _controls.ToolBarBase_DoInsertTool(*args, **kwargs) # These match the original Add methods for this class, kept for @@ -2593,13 +2728,14 @@ class ToolBarBasePtr(ToolBarBase): _controls.ToolBarBase_swigregister(ToolBarBasePtr) class ToolBar(ToolBarBase): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxToolBar 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=wxNO_BORDER|wxTB_HORIZONTAL, - wxString name=wxPyToolBarNameStr) -> ToolBar""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxNO_BORDER|wxTB_HORIZONTAL, + wxString name=wxPyToolBarNameStr) -> ToolBar + """ newobj = _controls.new_ToolBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2607,9 +2743,11 @@ class ToolBar(ToolBarBase): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=wxNO_BORDER|wxTB_HORIZONTAL, - wxString name=wxPyToolBarNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxNO_BORDER|wxTB_HORIZONTAL, + wxString name=wxPyToolBarNameStr) -> bool + """ return _controls.ToolBar_Create(*args, **kwargs) def FindToolForPosition(*args, **kwargs): @@ -2703,12 +2841,13 @@ LIST_FIND_RIGHT = _controls.LIST_FIND_RIGHT #--------------------------------------------------------------------------- class ListItemAttr(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxListItemAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxColour colText=wxNullColour, wxColour colBack=wxNullColour, - wxFont font=wxNullFont) -> ListItemAttr""" + """ + __init__(wxColour colText=wxNullColour, wxColour colBack=wxNullColour, + wxFont font=wxNullFont) -> ListItemAttr + """ newobj = _controls.new_ListItemAttr(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2764,7 +2903,6 @@ _controls.ListItemAttr_swigregister(ListItemAttrPtr) #--------------------------------------------------------------------------- class ListItem(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxListItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2916,7 +3054,6 @@ _controls.ListItem_swigregister(ListItemPtr) #--------------------------------------------------------------------------- class ListEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxListEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3045,13 +3182,14 @@ EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED #--------------------------------------------------------------------------- class ListCtrl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyListCtrl 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=LC_ICON, - Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> ListCtrl""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=LC_ICON, + Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> ListCtrl + """ newobj = _controls.new_ListCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3059,9 +3197,11 @@ class ListCtrl(core.Control): self._setOORInfo(self);self._setCallbackInfo(self, ListCtrl) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=LC_ICON, - Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=LC_ICON, + Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> bool + """ return _controls.ListCtrl_Create(*args, **kwargs) def _setCallbackInfo(*args, **kwargs): @@ -3275,10 +3415,12 @@ class ListCtrl(core.Control): return _controls.ListCtrl_FindItemAtPos(*args, **kwargs) def HitTest(*args, **kwargs): - """HitTest(Point point) -> (item, where) + """ + HitTest(Point point) -> (item, where) -Determines which item (if any) is at the specified point, -giving details in the second return value (see wxLIST_HITTEST_... flags.)""" + Determines which item (if any) is at the specified point, + giving details in the second return value (see wxLIST_HITTEST_... flags.) + """ return _controls.ListCtrl_HitTest(*args, **kwargs) def InsertItem(*args, **kwargs): @@ -3302,8 +3444,10 @@ giving details in the second return value (see wxLIST_HITTEST_... flags.)""" return _controls.ListCtrl_InsertColumnInfo(*args, **kwargs) def InsertColumn(*args, **kwargs): - """InsertColumn(long col, wxString heading, int format=LIST_FORMAT_LEFT, - int width=-1) -> long""" + """ + InsertColumn(long col, wxString heading, int format=LIST_FORMAT_LEFT, + int width=-1) -> long + """ return _controls.ListCtrl_InsertColumn(*args, **kwargs) def SetItemCount(*args, **kwargs): @@ -3414,13 +3558,14 @@ def PreListCtrl(*args, **kwargs): #--------------------------------------------------------------------------- class ListView(ListCtrl): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxListView 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=LC_REPORT, - Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> ListView""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=LC_REPORT, + Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> ListView + """ newobj = _controls.new_ListView(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3428,9 +3573,11 @@ class ListView(ListCtrl): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=LC_REPORT, - Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=LC_REPORT, + Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> bool + """ return _controls.ListView_Create(*args, **kwargs) def Select(*args, **kwargs): @@ -3519,7 +3666,6 @@ TREE_HITTEST_ONITEM = _controls.TREE_HITTEST_ONITEM #--------------------------------------------------------------------------- class TreeItemId(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTreeItemId instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3558,7 +3704,6 @@ class TreeItemIdPtr(TreeItemId): _controls.TreeItemId_swigregister(TreeItemIdPtr) class TreeItemData(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTreeItemData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3638,7 +3783,6 @@ EVT_TREE_STATE_IMAGE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_STATE_IMAGE_CLI class TreeEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTreeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3710,14 +3854,15 @@ _controls.TreeEvent_swigregister(TreeEventPtr) #--------------------------------------------------------------------------- class TreeCtrl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTreeCtrl 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=wxPy_TreeCtrlNameStr) -> TreeCtrl""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=TR_DEFAULT_STYLE, + Validator validator=DefaultValidator, + wxString name=wxPy_TreeCtrlNameStr) -> TreeCtrl + """ newobj = _controls.new_TreeCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3725,10 +3870,12 @@ class TreeCtrl(core.Control): self._setOORInfo(self);self._setCallbackInfo(self, TreeCtrl) 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=wxPy_TreeCtrlNameStr) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=TR_DEFAULT_STYLE, + Validator validator=DefaultValidator, + wxString name=wxPy_TreeCtrlNameStr) -> bool + """ return _controls.TreeCtrl_Create(*args, **kwargs) def _setCallbackInfo(*args, **kwargs): @@ -3926,28 +4073,38 @@ class TreeCtrl(core.Control): return _controls.TreeCtrl_GetPrevVisible(*args, **kwargs) def AddRoot(*args, **kwargs): - """AddRoot(wxString text, int image=-1, int selectedImage=-1, - TreeItemData data=None) -> TreeItemId""" + """ + AddRoot(wxString text, int image=-1, int selectedImage=-1, + TreeItemData data=None) -> TreeItemId + """ return _controls.TreeCtrl_AddRoot(*args, **kwargs) def PrependItem(*args, **kwargs): - """PrependItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1, - TreeItemData data=None) -> TreeItemId""" + """ + PrependItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1, + TreeItemData data=None) -> TreeItemId + """ return _controls.TreeCtrl_PrependItem(*args, **kwargs) def InsertItem(*args, **kwargs): - """InsertItem(TreeItemId parent, TreeItemId idPrevious, wxString text, - int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId""" + """ + InsertItem(TreeItemId parent, TreeItemId idPrevious, wxString text, + int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId + """ return _controls.TreeCtrl_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""" + """ + InsertItemBefore(TreeItemId parent, size_t index, wxString text, int image=-1, + int selectedImage=-1, TreeItemData data=None) -> TreeItemId + """ return _controls.TreeCtrl_InsertItemBefore(*args, **kwargs) def AppendItem(*args, **kwargs): - """AppendItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1, - TreeItemData data=None) -> TreeItemId""" + """ + AppendItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1, + TreeItemData data=None) -> TreeItemId + """ return _controls.TreeCtrl_AppendItem(*args, **kwargs) def Delete(*args, **kwargs): @@ -4015,13 +4172,15 @@ class TreeCtrl(core.Control): return _controls.TreeCtrl_SortChildren(*args, **kwargs) def HitTest(*args, **kwargs): - """HitTest(Point point) -> (item, where) + """ + HitTest(Point point) -> (item, where) -Determine which item (if any) belongs the given point. The -coordinates specified are relative to the client area of tree ctrl -and the where return value is set to a bitmask of wxTREE_HITTEST_xxx -constants. -""" + Determine which item (if any) belongs the given point. The + coordinates specified are relative to the client area of tree ctrl + and the where return value is set to a bitmask of wxTREE_HITTEST_xxx + constants. + + """ return _controls.TreeCtrl_HitTest(*args, **kwargs) def GetBoundingRect(*args, **kwargs): @@ -4050,15 +4209,16 @@ DIRCTRL_SHOW_FILTERS = _controls.DIRCTRL_SHOW_FILTERS DIRCTRL_3D_INTERNAL = _controls.DIRCTRL_3D_INTERNAL DIRCTRL_EDIT_LABELS = _controls.DIRCTRL_EDIT_LABELS class GenericDirCtrl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGenericDirCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=-1, wxString dir=wxPyDirDialogDefaultFolderStr, - Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, - wxString filter=wxPyEmptyString, - int defaultFilter=0, wxString name=wxPy_TreeCtrlNameStr) -> GenericDirCtrl""" + """ + __init__(Window parent, int id=-1, wxString dir=wxPyDirDialogDefaultFolderStr, + Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, + wxString filter=wxPyEmptyString, + int defaultFilter=0, wxString name=wxPy_TreeCtrlNameStr) -> GenericDirCtrl + """ newobj = _controls.new_GenericDirCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -4066,11 +4226,13 @@ class GenericDirCtrl(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, wxString dir=wxPyDirDialogDefaultFolderStr, - Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, - wxString filter=wxPyEmptyString, - int defaultFilter=0, wxString name=wxPy_TreeCtrlNameStr) -> bool""" + """ + Create(Window parent, int id=-1, wxString dir=wxPyDirDialogDefaultFolderStr, + Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, + wxString filter=wxPyEmptyString, + int defaultFilter=0, wxString name=wxPy_TreeCtrlNameStr) -> bool + """ return _controls.GenericDirCtrl_Create(*args, **kwargs) def ExpandPath(*args, **kwargs): @@ -4134,12 +4296,14 @@ class GenericDirCtrl(core.Control): return _controls.GenericDirCtrl_GetFilterListCtrl(*args, **kwargs) def FindChild(*args, **kwargs): - """FindChild(wxTreeItemId parentId, wxString path) -> (item, done) + """ + FindChild(wxTreeItemId parentId, wxString path) -> (item, done) + + Find the child that matches the first part of 'path'. E.g. if a child path is + "/usr" and 'path' is "/usr/include" then the child for /usr is returned. + If the path string has been used (we're at the leaf), done is set to True -Find the child that matches the first part of 'path'. E.g. if a child path is -"/usr" and 'path' is "/usr/include" then the child for /usr is returned. -If the path string has been used (we're at the leaf), done is set to True -""" + """ return _controls.GenericDirCtrl_FindChild(*args, **kwargs) def DoResize(*args, **kwargs): @@ -4165,12 +4329,13 @@ def PreGenericDirCtrl(*args, **kwargs): return val class DirFilterListCtrl(Choice): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDirFilterListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0) -> DirFilterListCtrl""" + """ + __init__(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0) -> DirFilterListCtrl + """ newobj = _controls.new_DirFilterListCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -4178,8 +4343,10 @@ class DirFilterListCtrl(Choice): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0) -> bool""" + """ + Create(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0) -> bool + """ return _controls.DirFilterListCtrl_Create(*args, **kwargs) def FillFilterList(*args, **kwargs): @@ -4203,13 +4370,14 @@ def PreDirFilterListCtrl(*args, **kwargs): #--------------------------------------------------------------------------- class PyControl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyControl 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=0, Validator validator=DefaultValidator, - wxString name=wxPyControlNameStr) -> PyControl""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyControlNameStr) -> PyControl + """ newobj = _controls.new_PyControl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -4312,7 +4480,6 @@ EVT_DETAILED_HELP = wx.PyEventBinder( wxEVT_DETAILED_HELP, 1) EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) class HelpEvent(core.CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHelpEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4354,7 +4521,6 @@ class HelpEventPtr(HelpEvent): _controls.HelpEvent_swigregister(HelpEventPtr) class ContextHelp(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxContextHelp instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4386,12 +4552,13 @@ class ContextHelpPtr(ContextHelp): _controls.ContextHelp_swigregister(ContextHelpPtr) class ContextHelpButton(BitmapButton): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxContextHelpButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=ID_CONTEXT_HELP, Point pos=DefaultPosition, - Size size=DefaultSize, long style=BU_AUTODRAW) -> ContextHelpButton""" + """ + __init__(Window parent, int id=ID_CONTEXT_HELP, Point pos=DefaultPosition, + Size size=DefaultSize, long style=BU_AUTODRAW) -> ContextHelpButton + """ newobj = _controls.new_ContextHelpButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -4407,7 +4574,6 @@ class ContextHelpButtonPtr(ContextHelpButton): _controls.ContextHelpButton_swigregister(ContextHelpButtonPtr) class HelpProvider(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHelpProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -4458,7 +4624,6 @@ def HelpProvider_Get(*args, **kwargs): return _controls.HelpProvider_Get(*args, **kwargs) class SimpleHelpProvider(HelpProvider): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSimpleHelpProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4478,7 +4643,6 @@ _controls.SimpleHelpProvider_swigregister(SimpleHelpProviderPtr) #--------------------------------------------------------------------------- class DragImage(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGenericDragImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4498,8 +4662,10 @@ class DragImage(core.Object): return _controls.DragImage_SetBackingBitmap(*args, **kwargs) def BeginDrag(*args, **kwargs): - """BeginDrag(Point hotspot, Window window, bool fullScreen=False, - Rect rect=None) -> bool""" + """ + BeginDrag(Point hotspot, Window window, bool fullScreen=False, + Rect rect=None) -> bool + """ return _controls.DragImage_BeginDrag(*args, **kwargs) def BeginDragBounded(*args, **kwargs): @@ -4531,8 +4697,10 @@ class DragImage(core.Object): return _controls.DragImage_DoDrawImage(*args, **kwargs) def UpdateBackingFromWindow(*args, **kwargs): - """UpdateBackingFromWindow(wxDC windowDC, wxMemoryDC destDC, Rect sourceRect, - Rect destRect) -> bool""" + """ + UpdateBackingFromWindow(wxDC windowDC, wxMemoryDC destDC, Rect sourceRect, + Rect destRect) -> bool + """ return _controls.DragImage_UpdateBackingFromWindow(*args, **kwargs) def RedrawImage(*args, **kwargs): diff --git a/wxPython/src/msw/controls_wrap.cpp b/wxPython/src/msw/controls_wrap.cpp index e860d08c2e..7f7ecc97cc 100644 --- a/wxPython/src/msw/controls_wrap.cpp +++ b/wxPython/src/msw/controls_wrap.cpp @@ -27476,18 +27476,21 @@ static void *_p_wxCheckListBoxTo_p_wxObject(void *x) { static void *_p_wxBookCtrlTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x)); } -static void *_p_wxBitmapButtonTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x)); -} static void *_p_wxButtonTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x)); } +static void *_p_wxBitmapButtonTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x)); +} static void *_p_wxSpinButtonTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x)); } static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); } +static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxAcceleratorTable *) x)); +} static void *_p_wxScrollBarTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x)); } @@ -27837,7 +27840,7 @@ static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvi static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}}; static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}}; static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxListView", _p_wxListViewTo_p_wxObject},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxListbook", _p_wxListbookTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject},{"_p_wxSlider", _p_wxSliderTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject},{"_p_wxButton", _p_wxButtonTo_p_wxObject},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxListView", _p_wxListViewTo_p_wxObject},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxListbook", _p_wxListbookTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject},{"_p_wxSlider", _p_wxSliderTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject},{"_p_wxButton", _p_wxButtonTo_p_wxObject},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}}; static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}}; static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}}; static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow},{"_p_wxListView", _p_wxListViewTo_p_wxWindow},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow},{"_p_wxButton", _p_wxButtonTo_p_wxWindow},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow},{0}}; diff --git a/wxPython/src/msw/core.py b/wxPython/src/msw/core.py index f39daa1387..7cbe6616b8 100644 --- a/wxPython/src/msw/core.py +++ b/wxPython/src/msw/core.py @@ -552,21 +552,27 @@ UPDATE_UI_FROMIDLE = _core.UPDATE_UI_FROMIDLE #--------------------------------------------------------------------------- class Object(object): - """The base class for most wx objects, although in wxPython not -much functionality is needed nor exposed.""" + """ + The base class for most wx objects, although in wxPython not + much functionality is needed nor exposed. + """ def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def GetClassName(*args, **kwargs): - """GetClassName() -> wxString + """ + GetClassName() -> wxString -Returns the class name of the C++ object using wxRTTI.""" + Returns the class name of the C++ object using wxRTTI. + """ return _core.Object_GetClassName(*args, **kwargs) def Destroy(*args, **kwargs): - """Destroy() + """ + Destroy() -Deletes the C++ object this Python object is a proxy for.""" + Deletes the C++ object this Python object is a proxy for. + """ return _core.Object_Destroy(*args, **kwargs) @@ -648,18 +654,22 @@ CURSOR_MAX = _core.CURSOR_MAX #--------------------------------------------------------------------------- class Size(object): - """wx.Size is a useful data structure used to represent the size of something. -It simply contians integer width and height proprtites. In most places in -wxPython where a wx.Size is expected a (width,height) tuple can be used -instead.""" + """ + wx.Size is a useful data structure used to represent the size of something. + It simply contians integer width and height proprtites. In most places in + wxPython where a wx.Size is expected a (width,height) tuple can be used + instead. + """ def __repr__(self): return "<%s.%s; proxy of C++ wxSize instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) width = property(_core.Size_width_get, _core.Size_width_set) height = property(_core.Size_height_get, _core.Size_height_set) def __init__(self, *args, **kwargs): - """__init__(int w=0, int h=0) -> Size + """ + __init__(int w=0, int h=0) -> Size -Creates a size object.""" + Creates a size object. + """ newobj = _core.new_Size(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -671,47 +681,61 @@ Creates a size object.""" except: pass def __eq__(*args, **kwargs): - """__eq__(Size sz) -> bool + """ + __eq__(Size sz) -> bool -Test for equality of wx.Size objects.""" + Test for equality of wx.Size objects. + """ return _core.Size___eq__(*args, **kwargs) def __ne__(*args, **kwargs): - """__ne__(Size sz) -> bool + """ + __ne__(Size sz) -> bool -Test for inequality.""" + Test for inequality. + """ return _core.Size___ne__(*args, **kwargs) def __add__(*args, **kwargs): - """__add__(Size sz) -> Size + """ + __add__(Size sz) -> Size -Add sz's proprties to this and return the result.""" + Add sz's proprties to this and return the result. + """ return _core.Size___add__(*args, **kwargs) def __sub__(*args, **kwargs): - """__sub__(Size sz) -> Size + """ + __sub__(Size sz) -> Size -Subtract sz's properties from this and return the result.""" + Subtract sz's properties from this and return the result. + """ return _core.Size___sub__(*args, **kwargs) def IncTo(*args, **kwargs): - """IncTo(Size sz) + """ + IncTo(Size sz) -Increments this object so that both of its dimensions are not less -than the corresponding dimensions of the size.""" + Increments this object so that both of its dimensions are not less + than the corresponding dimensions of the size. + """ return _core.Size_IncTo(*args, **kwargs) def DecTo(*args, **kwargs): - """DecTo(Size sz) + """ + DecTo(Size sz) -Decrements this object so that both of its dimensions are not greater -than the corresponding dimensions of the size.""" + Decrements this object so that both of its dimensions are not greater + than the corresponding dimensions of the size. + """ return _core.Size_DecTo(*args, **kwargs) def Set(*args, **kwargs): - """Set(int w, int h) + """ + Set(int w, int h) -Set both width and height.""" + Set both width and height. + """ return _core.Size_Set(*args, **kwargs) def SetWidth(*args, **kwargs): @@ -731,9 +755,11 @@ Set both width and height.""" return _core.Size_GetHeight(*args, **kwargs) def Get(*args, **kwargs): - """Get() -> (width,height) + """ + Get() -> (width,height) -Returns the width and height properties as a tuple.""" + Returns the width and height properties as a tuple. + """ return _core.Size_Get(*args, **kwargs) asTuple = Get @@ -761,17 +787,21 @@ _core.Size_swigregister(SizePtr) #--------------------------------------------------------------------------- class RealPoint(object): - """A data structure for representing a point or position with floating point x -and y properties. In wxPython most places that expect a wx.RealPoint can also -accept a (x,y) tuple.""" + """ + A data structure for representing a point or position with floating point x + and y properties. In wxPython most places that expect a wx.RealPoint can also + accept a (x,y) tuple. + """ def __repr__(self): return "<%s.%s; proxy of C++ wxRealPoint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) x = property(_core.RealPoint_x_get, _core.RealPoint_x_set) y = property(_core.RealPoint_y_get, _core.RealPoint_y_set) def __init__(self, *args, **kwargs): - """__init__(double x=0.0, double y=0.0) -> RealPoint + """ + __init__(double x=0.0, double y=0.0) -> RealPoint -Create a wx.RealPoint object""" + Create a wx.RealPoint object + """ newobj = _core.new_RealPoint(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -783,39 +813,51 @@ Create a wx.RealPoint object""" except: pass def __eq__(*args, **kwargs): - """__eq__(RealPoint pt) -> bool + """ + __eq__(RealPoint pt) -> bool -Test for equality of wx.RealPoint objects.""" + Test for equality of wx.RealPoint objects. + """ return _core.RealPoint___eq__(*args, **kwargs) def __ne__(*args, **kwargs): - """__ne__(RealPoint pt) -> bool + """ + __ne__(RealPoint pt) -> bool -Test for inequality of wx.RealPoint objects.""" + Test for inequality of wx.RealPoint objects. + """ return _core.RealPoint___ne__(*args, **kwargs) def __add__(*args, **kwargs): - """__add__(RealPoint pt) -> RealPoint + """ + __add__(RealPoint pt) -> RealPoint -Add pt's proprties to this and return the result.""" + Add pt's proprties to this and return the result. + """ return _core.RealPoint___add__(*args, **kwargs) def __sub__(*args, **kwargs): - """__sub__(RealPoint pt) -> RealPoint + """ + __sub__(RealPoint pt) -> RealPoint -Subtract pt's proprties from this and return the result""" + Subtract pt's proprties from this and return the result + """ return _core.RealPoint___sub__(*args, **kwargs) def Set(*args, **kwargs): - """Set(double x, double y) + """ + Set(double x, double y) -Set both the x and y properties""" + Set both the x and y properties + """ return _core.RealPoint_Set(*args, **kwargs) def Get(*args, **kwargs): - """Get() -> (x,y) + """ + Get() -> (x,y) -Return the x and y properties as a tuple. """ + Return the x and y properties as a tuple. + """ return _core.RealPoint_Get(*args, **kwargs) asTuple = Get @@ -843,17 +885,21 @@ _core.RealPoint_swigregister(RealPointPtr) #--------------------------------------------------------------------------- class Point(object): - """A data structure for representing a point or position with integer x and y -properties. Most places in wxPython that expect a wx.Point can also accept a -(x,y) tuple.""" + """ + A data structure for representing a point or position with integer x and y + properties. Most places in wxPython that expect a wx.Point can also accept a + (x,y) tuple. + """ def __repr__(self): return "<%s.%s; proxy of C++ wxPoint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) x = property(_core.Point_x_get, _core.Point_x_set) y = property(_core.Point_y_get, _core.Point_y_set) def __init__(self, *args, **kwargs): - """__init__(int x=0, int y=0) -> Point + """ + __init__(int x=0, int y=0) -> Point -Create a wx.Point object""" + Create a wx.Point object + """ newobj = _core.new_Point(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -865,51 +911,67 @@ Create a wx.Point object""" except: pass def __eq__(*args, **kwargs): - """__eq__(Point pt) -> bool + """ + __eq__(Point pt) -> bool -Test for equality of wx.Point objects.""" + Test for equality of wx.Point objects. + """ return _core.Point___eq__(*args, **kwargs) def __ne__(*args, **kwargs): - """__ne__(Point pt) -> bool + """ + __ne__(Point pt) -> bool -Test for inequality of wx.Point objects.""" + Test for inequality of wx.Point objects. + """ return _core.Point___ne__(*args, **kwargs) def __add__(*args, **kwargs): - """__add__(Point pt) -> Point + """ + __add__(Point pt) -> Point -Add pt's proprties to this and return the result.""" + Add pt's proprties to this and return the result. + """ return _core.Point___add__(*args, **kwargs) def __sub__(*args, **kwargs): - """__sub__(Point pt) -> Point + """ + __sub__(Point pt) -> Point -Subtract pt's proprties from this and return the result""" + Subtract pt's proprties from this and return the result + """ return _core.Point___sub__(*args, **kwargs) def __iadd__(*args, **kwargs): - """__iadd__(Point pt) -> Point + """ + __iadd__(Point pt) -> Point -Add pt to this object.""" + Add pt to this object. + """ return _core.Point___iadd__(*args, **kwargs) def __isub__(*args, **kwargs): - """__isub__(Point pt) -> Point + """ + __isub__(Point pt) -> Point -Subtract pt from this object.""" + Subtract pt from this object. + """ return _core.Point___isub__(*args, **kwargs) def Set(*args, **kwargs): - """Set(long x, long y) + """ + Set(long x, long y) -Set both the x and y properties""" + Set both the x and y properties + """ return _core.Point_Set(*args, **kwargs) def Get(*args, **kwargs): - """Get() -> (x,y) + """ + Get() -> (x,y) -Return the x and y properties as a tuple. """ + Return the x and y properties as a tuple. + """ return _core.Point_Get(*args, **kwargs) asTuple = Get @@ -937,15 +999,19 @@ _core.Point_swigregister(PointPtr) #--------------------------------------------------------------------------- class Rect(object): - """A class for representing and manipulating rectangles. It has x, y, width and -height properties. In wxPython most palces that expect a wx.Rect can also -accept a (x,y,width,height) tuple.""" + """ + A class for representing and manipulating rectangles. It has x, y, width and + height properties. In wxPython most palces that expect a wx.Rect can also + accept a (x,y,width,height) tuple. + """ def __repr__(self): return "<%s.%s; proxy of C++ wxRect instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(int x=0, int y=0, int width=0, int height=0) -> Rect + """ + __init__(int x=0, int y=0, int width=0, int height=0) -> Rect -Create a new Rect object.""" + Create a new Rect object. + """ newobj = _core.new_Rect(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1044,80 +1110,104 @@ Create a new Rect object.""" bottom = property(GetBottom, SetBottom) def Inflate(*args, **kwargs): - """Inflate(int dx, int dy) -> Rect + """ + Inflate(int dx, int dy) -> Rect -Increase the rectangle size by dx in x direction and dy in y direction. Both -(or one of) parameters may be negative to decrease the rectangle size.""" + Increase the rectangle size by dx in x direction and dy in y direction. Both + (or one of) parameters may be negative to decrease the rectangle size. + """ return _core.Rect_Inflate(*args, **kwargs) def Deflate(*args, **kwargs): - """Deflate(int dx, int dy) -> Rect + """ + Deflate(int dx, int dy) -> Rect -Decrease the rectangle size by dx in x direction and dy in y direction. Both -(or one of) parameters may be negative to increase the rectngle size. This -method is the opposite of Inflate.""" + Decrease the rectangle size by dx in x direction and dy in y direction. Both + (or one of) parameters may be negative to increase the rectngle size. This + method is the opposite of Inflate. + """ return _core.Rect_Deflate(*args, **kwargs) def OffsetXY(*args, **kwargs): - """OffsetXY(int dx, int dy) + """ + OffsetXY(int dx, int dy) -Moves the rectangle by the specified offset. If dx is positive, the rectangle -is moved to the right, if dy is positive, it is moved to the bottom, otherwise -it is moved to the left or top respectively.""" + Moves the rectangle by the specified offset. If dx is positive, the rectangle + is moved to the right, if dy is positive, it is moved to the bottom, otherwise + it is moved to the left or top respectively. + """ return _core.Rect_OffsetXY(*args, **kwargs) def Offset(*args, **kwargs): - """Offset(Point pt) + """ + Offset(Point pt) -Same as OffsetXY but uses dx,dy from Point""" + Same as OffsetXY but uses dx,dy from Point + """ return _core.Rect_Offset(*args, **kwargs) def Intersect(*args, **kwargs): - """Intersect(Rect rect) -> Rect + """ + Intersect(Rect rect) -> Rect -Return the intersectsion of this rectangle and rect.""" + Return the intersectsion of this rectangle and rect. + """ return _core.Rect_Intersect(*args, **kwargs) def __add__(*args, **kwargs): - """__add__(Rect rect) -> Rect + """ + __add__(Rect rect) -> Rect -Add the properties of rect to this rectangle and return the result.""" + Add the properties of rect to this rectangle and return the result. + """ return _core.Rect___add__(*args, **kwargs) def __iadd__(*args, **kwargs): - """__iadd__(Rect rect) -> Rect + """ + __iadd__(Rect rect) -> Rect -Add the properties of rect to this rectangle, updating this rectangle.""" + Add the properties of rect to this rectangle, updating this rectangle. + """ return _core.Rect___iadd__(*args, **kwargs) def __eq__(*args, **kwargs): - """__eq__(Rect rect) -> bool + """ + __eq__(Rect rect) -> bool -Test for equality.""" + Test for equality. + """ return _core.Rect___eq__(*args, **kwargs) def __ne__(*args, **kwargs): - """__ne__(Rect rect) -> bool + """ + __ne__(Rect rect) -> bool -Test for inequality.""" + Test for inequality. + """ return _core.Rect___ne__(*args, **kwargs) def InsideXY(*args, **kwargs): - """InsideXY(int x, int y) -> bool + """ + InsideXY(int x, int y) -> bool -Return True if the point is (not strcitly) inside the rect.""" + Return True if the point is (not strcitly) inside the rect. + """ return _core.Rect_InsideXY(*args, **kwargs) def Inside(*args, **kwargs): - """Inside(Point pt) -> bool + """ + Inside(Point pt) -> bool -Return True if the point is (not strcitly) inside the rect.""" + Return True if the point is (not strcitly) inside the rect. + """ return _core.Rect_Inside(*args, **kwargs) def Intersects(*args, **kwargs): - """Intersects(Rect rect) -> bool + """ + Intersects(Rect rect) -> bool -Returns True if the rectangles have a non empty intersection.""" + Returns True if the rectangles have a non empty intersection. + """ return _core.Rect_Intersects(*args, **kwargs) x = property(_core.Rect_x_get, _core.Rect_x_set) @@ -1125,15 +1215,19 @@ Returns True if the rectangles have a non empty intersection.""" width = property(_core.Rect_width_get, _core.Rect_width_set) height = property(_core.Rect_height_get, _core.Rect_height_set) def Set(*args, **kwargs): - """Set(int x=0, int y=0, int width=0, int height=0) + """ + Set(int x=0, int y=0, int width=0, int height=0) -Set all rectangle properties.""" + Set all rectangle properties. + """ return _core.Rect_Set(*args, **kwargs) def Get(*args, **kwargs): - """Get() -> (x,y,width,height) + """ + Get() -> (x,y,width,height) -Return the rectangle properties as a tuple.""" + Return the rectangle properties as a tuple. + """ return _core.Rect_Get(*args, **kwargs) asTuple = Get @@ -1161,26 +1255,32 @@ class RectPtr(Rect): _core.Rect_swigregister(RectPtr) def RectPP(*args, **kwargs): - """RectPP(Point topLeft, Point bottomRight) -> Rect + """ + RectPP(Point topLeft, Point bottomRight) -> Rect -Create a new Rect object from Points representing two corners.""" + Create a new Rect object from Points representing two corners. + """ val = _core.new_RectPP(*args, **kwargs) val.thisown = 1 return val def RectPS(*args, **kwargs): - """RectPS(Point pos, Size size) -> Rect + """ + RectPS(Point pos, Size size) -> Rect -Create a new Rect from a position and size.""" + Create a new Rect from a position and size. + """ val = _core.new_RectPS(*args, **kwargs) val.thisown = 1 return val def IntersectRect(*args, **kwargs): - """IntersectRect(Rect r1, Rect r2) -> Rect + """ + IntersectRect(Rect r1, Rect r2) -> Rect -Calculate and return the intersection of r1 and r2.""" + Calculate and return the intersection of r1 and r2. + """ return _core.IntersectRect(*args, **kwargs) #--------------------------------------------------------------------------- @@ -1189,23 +1289,29 @@ class Point2D(object): def __repr__(self): return "<%s.%s; proxy of C++ wxPoint2D instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(double x=0.0, double y=0.0) -> Point2D + """ + __init__(double x=0.0, double y=0.0) -> Point2D -Create a w.Point2D object.""" + Create a w.Point2D object. + """ newobj = _core.new_Point2D(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def GetFloor(*args, **kwargs): - """GetFloor() -> (x,y) + """ + GetFloor() -> (x,y) -Convert to integer""" + Convert to integer + """ return _core.Point2D_GetFloor(*args, **kwargs) def GetRounded(*args, **kwargs): - """GetRounded() -> (x,y) + """ + GetRounded() -> (x,y) -Convert to integer""" + Convert to integer + """ return _core.Point2D_GetRounded(*args, **kwargs) def GetVectorLength(*args, **kwargs): @@ -1247,9 +1353,11 @@ Convert to integer""" return _core.Point2D_GetCrossProduct(*args, **kwargs) def __neg__(*args, **kwargs): - """__neg__() -> Point2D + """ + __neg__() -> Point2D -the reflection of this point""" + the reflection of this point + """ return _core.Point2D___neg__(*args, **kwargs) def __iadd__(*args, **kwargs): @@ -1269,15 +1377,19 @@ the reflection of this point""" return _core.Point2D___idiv__(*args, **kwargs) def __eq__(*args, **kwargs): - """__eq__(Point2D pt) -> bool + """ + __eq__(Point2D pt) -> bool -Test for equality""" + Test for equality + """ return _core.Point2D___eq__(*args, **kwargs) def __ne__(*args, **kwargs): - """__ne__(Point2D pt) -> bool + """ + __ne__(Point2D pt) -> bool -Test for inequality""" + Test for inequality + """ return _core.Point2D___ne__(*args, **kwargs) x = property(_core.Point2D_x_get, _core.Point2D_x_set) @@ -1287,9 +1399,11 @@ Test for inequality""" return _core.Point2D_Set(*args, **kwargs) def Get(*args, **kwargs): - """Get() -> (x,y) + """ + Get() -> (x,y) -Return x and y properties as a tuple.""" + Return x and y properties as a tuple. + """ return _core.Point2D_Get(*args, **kwargs) asTuple = Get @@ -1316,17 +1430,21 @@ class Point2DPtr(Point2D): _core.Point2D_swigregister(Point2DPtr) def Point2DCopy(*args, **kwargs): - """Point2DCopy(Point2D pt) -> Point2D + """ + Point2DCopy(Point2D pt) -> Point2D -Create a w.Point2D object.""" + Create a w.Point2D object. + """ val = _core.new_Point2DCopy(*args, **kwargs) val.thisown = 1 return val def Point2DFromPoint(*args, **kwargs): - """Point2DFromPoint(Point pt) -> Point2D + """ + Point2DFromPoint(Point pt) -> Point2D -Create a w.Point2D object.""" + Create a w.Point2D object. + """ val = _core.new_Point2DFromPoint(*args, **kwargs) val.thisown = 1 return val @@ -1337,7 +1455,6 @@ FromStart = _core.FromStart FromCurrent = _core.FromCurrent FromEnd = _core.FromEnd class InputStream(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyInputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1422,7 +1539,6 @@ DefaultPosition = cvar.DefaultPosition DefaultSize = cvar.DefaultSize class OutputStream(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxOutputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1441,12 +1557,13 @@ _core.OutputStream_swigregister(OutputStreamPtr) #--------------------------------------------------------------------------- class FSFile(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFSFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxInputStream stream, wxString loc, wxString mimetype, - wxString anchor, wxDateTime modif) -> FSFile""" + """ + __init__(wxInputStream stream, wxString loc, wxString mimetype, + wxString anchor, wxDateTime modif) -> FSFile + """ newobj = _core.new_FSFile(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1486,7 +1603,6 @@ class FSFilePtr(FSFile): _core.FSFile_swigregister(FSFilePtr) class CPPFileSystemHandler(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxFileSystemHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1499,7 +1615,6 @@ class CPPFileSystemHandlerPtr(CPPFileSystemHandler): _core.CPPFileSystemHandler_swigregister(CPPFileSystemHandlerPtr) class FileSystemHandler(CPPFileSystemHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyFileSystemHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1559,7 +1674,6 @@ class FileSystemHandlerPtr(FileSystemHandler): _core.FileSystemHandler_swigregister(FileSystemHandlerPtr) class FileSystem(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileSystem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1634,7 +1748,6 @@ def FileSystem_URLToFileName(*args, **kwargs): """FileSystem_URLToFileName(wxString url) -> wxString""" return _core.FileSystem_URLToFileName(*args, **kwargs) class InternetFSHandler(CPPFileSystemHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxInternetFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1660,7 +1773,6 @@ class InternetFSHandlerPtr(InternetFSHandler): _core.InternetFSHandler_swigregister(InternetFSHandlerPtr) class ZipFSHandler(CPPFileSystemHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxZipFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1715,7 +1827,6 @@ def MemoryFSHandler_AddFile(filename, a, b=''): else: raise TypeError, 'wx.Image, wx.Bitmap or string expected' class MemoryFSHandler(CPPFileSystemHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMemoryFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1761,7 +1872,6 @@ def MemoryFSHandler_RemoveFile(*args, **kwargs): #--------------------------------------------------------------------------- class ImageHandler(Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxImageHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1810,7 +1920,6 @@ class ImageHandlerPtr(ImageHandler): _core.ImageHandler_swigregister(ImageHandlerPtr) class ImageHistogram(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxImageHistogram instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1820,18 +1929,22 @@ class ImageHistogram(object): self.thisown = 1 del newobj.thisown def MakeKey(*args, **kwargs): - """ImageHistogram.MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long + """ + ImageHistogram.MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long -Get the key in the histogram for the given RGB values""" + Get the key in the histogram for the given RGB values + """ return _core.ImageHistogram_MakeKey(*args, **kwargs) MakeKey = staticmethod(MakeKey) def FindFirstUnusedColour(*args, **kwargs): - """FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b) + """ + FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b) -Find first colour that is not used in the image and has higher RGB values than -startR, startG, startB. Returns a tuple consisting of a success flag and rgb -values.""" + Find first colour that is not used in the image and has higher RGB values than + startR, startG, startB. Returns a tuple consisting of a success flag and rgb + values. + """ return _core.ImageHistogram_FindFirstUnusedColour(*args, **kwargs) @@ -1843,13 +1956,14 @@ class ImageHistogramPtr(ImageHistogram): _core.ImageHistogram_swigregister(ImageHistogramPtr) def ImageHistogram_MakeKey(*args, **kwargs): - """ImageHistogram_MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long + """ + ImageHistogram_MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long -Get the key in the histogram for the given RGB values""" + Get the key in the histogram for the given RGB values + """ return _core.ImageHistogram_MakeKey(*args, **kwargs) class Image(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1869,9 +1983,11 @@ class Image(Object): return _core.Image_Create(*args, **kwargs) def Destroy(*args, **kwargs): - """Destroy() + """ + Destroy() -Deletes the C++ object this Python object is a proxy for.""" + Deletes the C++ object this Python object is a proxy for. + """ return _core.Image_Destroy(*args, **kwargs) def Scale(*args, **kwargs): @@ -1915,11 +2031,13 @@ Deletes the C++ object this Python object is a proxy for.""" return _core.Image_HasAlpha(*args, **kwargs) def FindFirstUnusedColour(*args, **kwargs): - """FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b) + """ + FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b) -Find first colour that is not used in the image and has higher RGB values than -startR, startG, startB. Returns a tuple consisting of a success flag and rgb -values.""" + Find first colour that is not used in the image and has higher RGB values than + startR, startG, startB. Returns a tuple consisting of a success flag and rgb + values. + """ return _core.Image_FindFirstUnusedColour(*args, **kwargs) def SetMaskFromImage(*args, **kwargs): @@ -2046,8 +2164,10 @@ values.""" return _core.Image_HasMask(*args, **kwargs) def Rotate(*args, **kwargs): - """Rotate(double angle, Point centre_of_rotation, bool interpolating=True, - Point offset_after_rotation=None) -> Image""" + """ + Rotate(double angle, Point centre_of_rotation, bool interpolating=True, + Point offset_after_rotation=None) -> Image + """ return _core.Image_Rotate(*args, **kwargs) def Rotate90(*args, **kwargs): @@ -2059,8 +2179,10 @@ values.""" return _core.Image_Mirror(*args, **kwargs) def Replace(*args, **kwargs): - """Replace(unsigned char r1, unsigned char g1, unsigned char b1, - unsigned char r2, unsigned char g2, unsigned char b2)""" + """ + Replace(unsigned char r1, unsigned char g1, unsigned char b1, + unsigned char r2, unsigned char g2, unsigned char b2) + """ return _core.Image_Replace(*args, **kwargs) def ConvertToMono(*args, **kwargs): @@ -2212,7 +2334,6 @@ BMP_4BPP = _core.BMP_4BPP BMP_1BPP = _core.BMP_1BPP BMP_1BPP_BW = _core.BMP_1BPP_BW class BMPHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBMPHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2236,7 +2357,6 @@ IMAGE_OPTION_RESOLUTION = cvar.IMAGE_OPTION_RESOLUTION IMAGE_OPTION_RESOLUTIONUNIT = cvar.IMAGE_OPTION_RESOLUTIONUNIT class ICOHandler(BMPHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxICOHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2254,7 +2374,6 @@ class ICOHandlerPtr(ICOHandler): _core.ICOHandler_swigregister(ICOHandlerPtr) class CURHandler(ICOHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCURHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2272,7 +2391,6 @@ class CURHandlerPtr(CURHandler): _core.CURHandler_swigregister(CURHandlerPtr) class ANIHandler(CURHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxANIHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2290,7 +2408,6 @@ class ANIHandlerPtr(ANIHandler): _core.ANIHandler_swigregister(ANIHandlerPtr) class PNGHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPNGHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2308,7 +2425,6 @@ class PNGHandlerPtr(PNGHandler): _core.PNGHandler_swigregister(PNGHandlerPtr) class GIFHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGIFHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2326,7 +2442,6 @@ class GIFHandlerPtr(GIFHandler): _core.GIFHandler_swigregister(GIFHandlerPtr) class PCXHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPCXHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2344,7 +2459,6 @@ class PCXHandlerPtr(PCXHandler): _core.PCXHandler_swigregister(PCXHandlerPtr) class JPEGHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxJPEGHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2362,7 +2476,6 @@ class JPEGHandlerPtr(JPEGHandler): _core.JPEGHandler_swigregister(JPEGHandlerPtr) class PNMHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPNMHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2380,7 +2493,6 @@ class PNMHandlerPtr(PNMHandler): _core.PNMHandler_swigregister(PNMHandlerPtr) class XPMHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxXPMHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2398,7 +2510,6 @@ class XPMHandlerPtr(XPMHandler): _core.XPMHandler_swigregister(XPMHandlerPtr) class TIFFHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTIFFHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2418,7 +2529,6 @@ _core.TIFFHandler_swigregister(TIFFHandlerPtr) #--------------------------------------------------------------------------- class EvtHandler(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxEvtHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2873,7 +2983,6 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- class Event(Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -2954,7 +3063,6 @@ _core.Event_swigregister(EventPtr) #--------------------------------------------------------------------------- class PropagationDisabler(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPropagationDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2978,7 +3086,6 @@ class PropagationDisablerPtr(PropagationDisabler): _core.PropagationDisabler_swigregister(PropagationDisablerPtr) class PropagateOnce(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPropagateOnce instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3004,7 +3111,6 @@ _core.PropagateOnce_swigregister(PropagateOncePtr) #--------------------------------------------------------------------------- class CommandEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCommandEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3064,7 +3170,6 @@ _core.CommandEvent_swigregister(CommandEventPtr) #--------------------------------------------------------------------------- class NotifyEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNotifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3096,12 +3201,13 @@ _core.NotifyEvent_swigregister(NotifyEventPtr) #--------------------------------------------------------------------------- class ScrollEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxScrollEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxEventType commandType=wxEVT_NULL, int winid=0, int pos=0, - int orient=0) -> ScrollEvent""" + """ + __init__(wxEventType commandType=wxEVT_NULL, int winid=0, int pos=0, + int orient=0) -> ScrollEvent + """ newobj = _core.new_ScrollEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3133,7 +3239,6 @@ _core.ScrollEvent_swigregister(ScrollEventPtr) #--------------------------------------------------------------------------- class ScrollWinEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxScrollWinEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3174,7 +3279,6 @@ MOUSE_BTN_LEFT = _core.MOUSE_BTN_LEFT MOUSE_BTN_MIDDLE = _core.MOUSE_BTN_MIDDLE MOUSE_BTN_RIGHT = _core.MOUSE_BTN_RIGHT class MouseEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMouseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3292,15 +3396,19 @@ class MouseEvent(Event): return _core.MouseEvent_Leaving(*args, **kwargs) def GetPosition(*args, **kwargs): - """GetPosition() -> Point + """ + GetPosition() -> Point -Returns the position of the mouse in window coordinates when the event happened.""" + Returns the position of the mouse in window coordinates when the event happened. + """ return _core.MouseEvent_GetPosition(*args, **kwargs) def GetPositionTuple(*args, **kwargs): - """GetPositionTuple() -> (x,y) + """ + GetPositionTuple() -> (x,y) -Returns the position of the mouse in window coordinates when the event happened.""" + Returns the position of the mouse in window coordinates when the event happened. + """ return _core.MouseEvent_GetPositionTuple(*args, **kwargs) def GetLogicalPosition(*args, **kwargs): @@ -3354,7 +3462,6 @@ _core.MouseEvent_swigregister(MouseEventPtr) #--------------------------------------------------------------------------- class SetCursorEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSetCursorEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3394,7 +3501,6 @@ _core.SetCursorEvent_swigregister(SetCursorEventPtr) #--------------------------------------------------------------------------- class KeyEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxKeyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3441,15 +3547,19 @@ class KeyEvent(Event): return _core.KeyEvent_GetRawKeyFlags(*args, **kwargs) def GetPosition(*args, **kwargs): - """GetPosition() -> Point + """ + GetPosition() -> Point -Find the position of the event.""" + Find the position of the event. + """ return _core.KeyEvent_GetPosition(*args, **kwargs) def GetPositionTuple(*args, **kwargs): - """GetPositionTuple() -> (x,y) + """ + GetPositionTuple() -> (x,y) -Find the position of the event.""" + Find the position of the event. + """ return _core.KeyEvent_GetPositionTuple(*args, **kwargs) def GetX(*args, **kwargs): @@ -3481,7 +3591,6 @@ _core.KeyEvent_swigregister(KeyEventPtr) #--------------------------------------------------------------------------- class SizeEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3519,7 +3628,6 @@ _core.SizeEvent_swigregister(SizeEventPtr) #--------------------------------------------------------------------------- class MoveEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMoveEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3557,7 +3665,6 @@ _core.MoveEvent_swigregister(MoveEventPtr) #--------------------------------------------------------------------------- class PaintEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPaintEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3575,7 +3682,6 @@ class PaintEventPtr(PaintEvent): _core.PaintEvent_swigregister(PaintEventPtr) class NcPaintEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNcPaintEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3595,7 +3701,6 @@ _core.NcPaintEvent_swigregister(NcPaintEventPtr) #--------------------------------------------------------------------------- class EraseEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxEraseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3619,7 +3724,6 @@ _core.EraseEvent_swigregister(EraseEventPtr) #--------------------------------------------------------------------------- class FocusEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFocusEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3647,7 +3751,6 @@ _core.FocusEvent_swigregister(FocusEventPtr) #--------------------------------------------------------------------------- class ChildFocusEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxChildFocusEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3671,7 +3774,6 @@ _core.ChildFocusEvent_swigregister(ChildFocusEventPtr) #--------------------------------------------------------------------------- class ActivateEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxActivateEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3695,7 +3797,6 @@ _core.ActivateEvent_swigregister(ActivateEventPtr) #--------------------------------------------------------------------------- class InitDialogEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxInitDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3715,7 +3816,6 @@ _core.InitDialogEvent_swigregister(InitDialogEventPtr) #--------------------------------------------------------------------------- class MenuEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMenuEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3747,7 +3847,6 @@ _core.MenuEvent_swigregister(MenuEventPtr) #--------------------------------------------------------------------------- class CloseEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCloseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3791,7 +3890,6 @@ _core.CloseEvent_swigregister(CloseEventPtr) #--------------------------------------------------------------------------- class ShowEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxShowEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3819,7 +3917,6 @@ _core.ShowEvent_swigregister(ShowEventPtr) #--------------------------------------------------------------------------- class IconizeEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxIconizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3843,7 +3940,6 @@ _core.IconizeEvent_swigregister(IconizeEventPtr) #--------------------------------------------------------------------------- class MaximizeEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMaximizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3863,7 +3959,6 @@ _core.MaximizeEvent_swigregister(MaximizeEventPtr) #--------------------------------------------------------------------------- class DropFilesEvent(Event): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxDropFilesEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -3892,7 +3987,6 @@ _core.DropFilesEvent_swigregister(DropFilesEventPtr) UPDATE_UI_PROCESS_ALL = _core.UPDATE_UI_PROCESS_ALL UPDATE_UI_PROCESS_SPECIFIED = _core.UPDATE_UI_PROCESS_SPECIFIED class UpdateUIEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxUpdateUIEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4002,7 +4096,6 @@ def UpdateUIEvent_GetMode(*args, **kwargs): #--------------------------------------------------------------------------- class SysColourChangedEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSysColourChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4022,7 +4115,6 @@ _core.SysColourChangedEvent_swigregister(SysColourChangedEventPtr) #--------------------------------------------------------------------------- class MouseCaptureChangedEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMouseCaptureChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4046,7 +4138,6 @@ _core.MouseCaptureChangedEvent_swigregister(MouseCaptureChangedEventPtr) #--------------------------------------------------------------------------- class DisplayChangedEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDisplayChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4066,7 +4157,6 @@ _core.DisplayChangedEvent_swigregister(DisplayChangedEventPtr) #--------------------------------------------------------------------------- class PaletteChangedEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPaletteChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4094,7 +4184,6 @@ _core.PaletteChangedEvent_swigregister(PaletteChangedEventPtr) #--------------------------------------------------------------------------- class QueryNewPaletteEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxQueryNewPaletteEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4122,7 +4211,6 @@ _core.QueryNewPaletteEvent_swigregister(QueryNewPaletteEventPtr) #--------------------------------------------------------------------------- class NavigationKeyEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNavigationKeyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4166,7 +4254,6 @@ _core.NavigationKeyEvent_swigregister(NavigationKeyEventPtr) #--------------------------------------------------------------------------- class WindowCreateEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWindowCreateEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4188,7 +4275,6 @@ class WindowCreateEventPtr(WindowCreateEvent): _core.WindowCreateEvent_swigregister(WindowCreateEventPtr) class WindowDestroyEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWindowDestroyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4212,7 +4298,6 @@ _core.WindowDestroyEvent_swigregister(WindowDestroyEventPtr) #--------------------------------------------------------------------------- class ContextMenuEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxContextMenuEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4242,7 +4327,6 @@ _core.ContextMenuEvent_swigregister(ContextMenuEventPtr) IDLE_PROCESS_ALL = _core.IDLE_PROCESS_ALL IDLE_PROCESS_SPECIFIED = _core.IDLE_PROCESS_SPECIFIED class IdleEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxIdleEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4297,7 +4381,6 @@ def IdleEvent_CanSend(*args, **kwargs): #--------------------------------------------------------------------------- class PyEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4331,7 +4414,6 @@ class PyEventPtr(PyEvent): _core.PyEvent_swigregister(PyEventPtr) class PyCommandEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyCommandEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4373,7 +4455,6 @@ PYAPP_ASSERT_LOG = _core.PYAPP_ASSERT_LOG PRINT_WINDOWS = _core.PRINT_WINDOWS PRINT_POSTSCRIPT = _core.PRINT_POSTSCRIPT class PyApp(EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyApp instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4396,177 +4477,225 @@ class PyApp(EvtHandler): return _core.PyApp__setCallbackInfo(*args, **kwargs) def GetAppName(*args, **kwargs): - """GetAppName() -> wxString + """ + GetAppName() -> wxString -Get the application name.""" + Get the application name. + """ return _core.PyApp_GetAppName(*args, **kwargs) def SetAppName(*args, **kwargs): - """SetAppName(wxString name) + """ + SetAppName(wxString name) -Set the application name. This value may be used automatically -by wxConfig and such.""" + Set the application name. This value may be used automatically + by wxConfig and such. + """ return _core.PyApp_SetAppName(*args, **kwargs) def GetClassName(*args, **kwargs): - """GetClassName() -> wxString + """ + GetClassName() -> wxString -Get the application's class name.""" + Get the application's class name. + """ return _core.PyApp_GetClassName(*args, **kwargs) def SetClassName(*args, **kwargs): - """SetClassName(wxString name) + """ + SetClassName(wxString name) -Set the application's class name. This value may be used for X-resources if -applicable for the platform""" + Set the application's class name. This value may be used for X-resources if + applicable for the platform + """ return _core.PyApp_SetClassName(*args, **kwargs) def GetVendorName(*args, **kwargs): - """GetVendorName() -> wxString + """ + GetVendorName() -> wxString -Get the application's vendor name.""" + Get the application's vendor name. + """ return _core.PyApp_GetVendorName(*args, **kwargs) def SetVendorName(*args, **kwargs): - """SetVendorName(wxString name) + """ + SetVendorName(wxString name) -Set the application's vendor name. This value may be used automatically -by wxConfig and such.""" + Set the application's vendor name. This value may be used automatically + by wxConfig and such. + """ return _core.PyApp_SetVendorName(*args, **kwargs) def GetTraits(*args, **kwargs): - """GetTraits() -> wxAppTraits + """ + GetTraits() -> wxAppTraits -Create the app traits object to which we delegate for everything which either -should be configurable by the user (then he can change the default behaviour -simply by overriding CreateTraits() and returning his own traits object) or -which is GUI/console dependent as then wxAppTraits allows us to abstract the -differences behind the common facade""" + Create the app traits object to which we delegate for everything which either + should be configurable by the user (then he can change the default behaviour + simply by overriding CreateTraits() and returning his own traits object) or + which is GUI/console dependent as then wxAppTraits allows us to abstract the + differences behind the common facade + """ return _core.PyApp_GetTraits(*args, **kwargs) def ProcessPendingEvents(*args, **kwargs): - """ProcessPendingEvents() + """ + ProcessPendingEvents() -Process all events in the wxPendingEvents list -- it is necessary to call this -function to process posted events. This happens during each event loop -iteration.""" + Process all events in the wxPendingEvents list -- it is necessary to call this + function to process posted events. This happens during each event loop + iteration. + """ return _core.PyApp_ProcessPendingEvents(*args, **kwargs) def Yield(*args, **kwargs): - """Yield(bool onlyIfNeeded=False) -> bool + """ + Yield(bool onlyIfNeeded=False) -> bool + + Process all currently pending events right now, instead of waiting until + return to the event loop. It is an error to call Yield() recursively unless + the value of onlyIfNeeded is True. -Process all currently pending events right now, instead of waiting until -return to the event loop. It is an error to call Yield() recursively unless -the value of onlyIfNeeded is True. + WARNING: This function is dangerous as it can lead to unexpected + reentrancies (i.e. when called from an event handler it + may result in calling the same event handler again), use + with _extreme_ care or, better, don't use at all! -WARNING: This function is dangerous as it can lead to unexpected - reentrancies (i.e. when called from an event handler it - may result in calling the same event handler again), use - with _extreme_ care or, better, don't use at all! -""" + """ return _core.PyApp_Yield(*args, **kwargs) def WakeUpIdle(*args, **kwargs): - """WakeUpIdle() + """ + WakeUpIdle() -Make sure that idle events are sent again""" + Make sure that idle events are sent again + """ return _core.PyApp_WakeUpIdle(*args, **kwargs) def MainLoop(*args, **kwargs): - """MainLoop() -> int + """ + MainLoop() -> int -Execute the main GUI loop, the function returns when the loop ends.""" + Execute the main GUI loop, the function returns when the loop ends. + """ return _core.PyApp_MainLoop(*args, **kwargs) def Exit(*args, **kwargs): - """Exit() + """ + Exit() -Exit the main loop thus terminating the application.""" + Exit the main loop thus terminating the application. + """ return _core.PyApp_Exit(*args, **kwargs) def ExitMainLoop(*args, **kwargs): - """ExitMainLoop() + """ + ExitMainLoop() -Exit the main GUI loop during the next iteration (i.e. it does not -stop the program immediately!)""" + Exit the main GUI loop during the next iteration (i.e. it does not + stop the program immediately!) + """ return _core.PyApp_ExitMainLoop(*args, **kwargs) def Pending(*args, **kwargs): - """Pending() -> bool + """ + Pending() -> bool -Returns True if there are unprocessed events in the event queue.""" + Returns True if there are unprocessed events in the event queue. + """ return _core.PyApp_Pending(*args, **kwargs) def Dispatch(*args, **kwargs): - """Dispatch() -> bool + """ + Dispatch() -> bool -Process the first event in the event queue (blocks until an event -appears if there are none currently)""" + Process the first event in the event queue (blocks until an event + appears if there are none currently) + """ return _core.PyApp_Dispatch(*args, **kwargs) def ProcessIdle(*args, **kwargs): - """ProcessIdle() -> bool + """ + ProcessIdle() -> bool -Called from the MainLoop when the application becomes idle and sends an -IdleEvent to all interested parties. Returns True is more idle events are -needed, False if not.""" + Called from the MainLoop when the application becomes idle and sends an + IdleEvent to all interested parties. Returns True is more idle events are + needed, False if not. + """ return _core.PyApp_ProcessIdle(*args, **kwargs) def SendIdleEvents(*args, **kwargs): - """SendIdleEvents(Window win, IdleEvent event) -> bool + """ + SendIdleEvents(Window win, IdleEvent event) -> bool -Send idle event to window and all subwindows. Returns True if more idle time -is requested.""" + Send idle event to window and all subwindows. Returns True if more idle time + is requested. + """ return _core.PyApp_SendIdleEvents(*args, **kwargs) def IsActive(*args, **kwargs): - """IsActive() -> bool + """ + IsActive() -> bool -Return True if our app has focus.""" + Return True if our app has focus. + """ return _core.PyApp_IsActive(*args, **kwargs) def SetTopWindow(*args, **kwargs): - """SetTopWindow(Window win) + """ + SetTopWindow(Window win) -Set the "main" top level window""" + Set the "main" top level window + """ return _core.PyApp_SetTopWindow(*args, **kwargs) def GetTopWindow(*args, **kwargs): - """GetTopWindow() -> Window + """ + GetTopWindow() -> Window -Return the "main" top level window (if it hadn't been set previously with -SetTopWindow(), will return just some top level window and, if there not any, -will return None)""" + Return the "main" top level window (if it hadn't been set previously with + SetTopWindow(), will return just some top level window and, if there not any, + will return None) + """ return _core.PyApp_GetTopWindow(*args, **kwargs) def SetExitOnFrameDelete(*args, **kwargs): - """SetExitOnFrameDelete(bool flag) - -Control the exit behaviour: by default, the program will exit the main loop -(and so, usually, terminate) when the last top-level program window is -deleted. Beware that if you disable this behaviour (with -SetExitOnFrameDelete(False)), you'll have to call ExitMainLoop() explicitly -from somewhere. -""" + """ + SetExitOnFrameDelete(bool flag) + + Control the exit behaviour: by default, the program will exit the main loop + (and so, usually, terminate) when the last top-level program window is + deleted. Beware that if you disable this behaviour (with + SetExitOnFrameDelete(False)), you'll have to call ExitMainLoop() explicitly + from somewhere. + + """ return _core.PyApp_SetExitOnFrameDelete(*args, **kwargs) def GetExitOnFrameDelete(*args, **kwargs): - """GetExitOnFrameDelete() -> bool + """ + GetExitOnFrameDelete() -> bool -Get the current exit behaviour setting.""" + Get the current exit behaviour setting. + """ return _core.PyApp_GetExitOnFrameDelete(*args, **kwargs) def SetUseBestVisual(*args, **kwargs): - """SetUseBestVisual(bool flag) + """ + SetUseBestVisual(bool flag) -Set whether the app should try to use the best available visual on systems -where more than one is available, (Sun, SGI, XFree86 4, etc.)""" + Set whether the app should try to use the best available visual on systems + where more than one is available, (Sun, SGI, XFree86 4, etc.) + """ return _core.PyApp_SetUseBestVisual(*args, **kwargs) def GetUseBestVisual(*args, **kwargs): - """GetUseBestVisual() -> bool + """ + GetUseBestVisual() -> bool -Get current UseBestVisual setting.""" + Get current UseBestVisual setting. + """ return _core.PyApp_GetUseBestVisual(*args, **kwargs) def SetPrintMode(*args, **kwargs): @@ -4578,22 +4707,26 @@ Get current UseBestVisual setting.""" return _core.PyApp_GetPrintMode(*args, **kwargs) def SetAssertMode(*args, **kwargs): - """SetAssertMode(int mode) + """ + SetAssertMode(int mode) -Set the OnAssert behaviour for debug and hybrid builds. The following flags -may be or'd together: + Set the OnAssert behaviour for debug and hybrid builds. The following flags + may be or'd together: - wxPYAPP_ASSERT_SUPPRESS Don't do anything - wxPYAPP_ASSERT_EXCEPTION Turn it into a Python exception if possible (default) - wxPYAPP_ASSERT_DIALOG Display a message dialog - wxPYAPP_ASSERT_LOG Write the assertion info to the wxLog -""" + wxPYAPP_ASSERT_SUPPRESS Don't do anything + wxPYAPP_ASSERT_EXCEPTION Turn it into a Python exception if possible (default) + wxPYAPP_ASSERT_DIALOG Display a message dialog + wxPYAPP_ASSERT_LOG Write the assertion info to the wxLog + + """ return _core.PyApp_SetAssertMode(*args, **kwargs) def GetAssertMode(*args, **kwargs): - """GetAssertMode() -> int + """ + GetAssertMode() -> int -Get the current OnAssert behaviour setting.""" + Get the current OnAssert behaviour setting. + """ return _core.PyApp_GetAssertMode(*args, **kwargs) def GetMacSupportPCMenuShortcuts(*args, **kwargs): @@ -4647,16 +4780,20 @@ Get the current OnAssert behaviour setting.""" SetMacHelpMenuTitleName = staticmethod(SetMacHelpMenuTitleName) def _BootstrapApp(*args, **kwargs): - """_BootstrapApp() + """ + _BootstrapApp() -For internal use only""" + For internal use only + """ return _core.PyApp__BootstrapApp(*args, **kwargs) def GetComCtl32Version(*args, **kwargs): - """PyApp.GetComCtl32Version() -> int + """ + PyApp.GetComCtl32Version() -> int -Returns 400, 470, 471 for comctl32.dll 4.00, 4.70, 4.71 or 0 if it -wasn't found at all. Raises an exception on non-Windows platforms.""" + Returns 400, 470, 471 for comctl32.dll 4.00, 4.70, 4.71 or 0 if it + wasn't found at all. Raises an exception on non-Windows platforms. + """ return _core.PyApp_GetComCtl32Version(*args, **kwargs) GetComCtl32Version = staticmethod(GetComCtl32Version) @@ -4709,66 +4846,84 @@ def PyApp_SetMacHelpMenuTitleName(*args, **kwargs): return _core.PyApp_SetMacHelpMenuTitleName(*args, **kwargs) def PyApp_GetComCtl32Version(*args, **kwargs): - """PyApp_GetComCtl32Version() -> int + """ + PyApp_GetComCtl32Version() -> int -Returns 400, 470, 471 for comctl32.dll 4.00, 4.70, 4.71 or 0 if it -wasn't found at all. Raises an exception on non-Windows platforms.""" + Returns 400, 470, 471 for comctl32.dll 4.00, 4.70, 4.71 or 0 if it + wasn't found at all. Raises an exception on non-Windows platforms. + """ return _core.PyApp_GetComCtl32Version(*args, **kwargs) #--------------------------------------------------------------------------- def Exit(*args, **kwargs): - """Exit() + """ + Exit() -Force an exit of the application. Convenience for wx.GetApp().Exit()""" + Force an exit of the application. Convenience for wx.GetApp().Exit() + """ return _core.Exit(*args, **kwargs) def Yield(*args, **kwargs): - """Yield() -> bool + """ + Yield() -> bool -Yield to other apps/messages. Convenience for wx.GetApp().Yield()""" + Yield to other apps/messages. Convenience for wx.GetApp().Yield() + """ return _core.Yield(*args, **kwargs) def YieldIfNeeded(*args, **kwargs): - """YieldIfNeeded() -> bool + """ + YieldIfNeeded() -> bool -Yield to other apps/messages. Convenience for wx.GetApp().Yield(True)""" + Yield to other apps/messages. Convenience for wx.GetApp().Yield(True) + """ return _core.YieldIfNeeded(*args, **kwargs) def SafeYield(*args, **kwargs): - """SafeYield(Window win=None, bool onlyIfNeeded=False) -> bool + """ + SafeYield(Window win=None, bool onlyIfNeeded=False) -> bool -This function is similar to wx.Yield, except that it disables the user input -to all program windows before calling wx.Yield and re-enables it again -afterwards. If win is not None, this window will remain enabled, allowing the -implementation of some limited user interaction. + This function is similar to wx.Yield, except that it disables the user input + to all program windows before calling wx.Yield and re-enables it again + afterwards. If win is not None, this window will remain enabled, allowing the + implementation of some limited user interaction. -Returns the result of the call to wx.Yield.""" + Returns the result of the call to wx.Yield. + """ return _core.SafeYield(*args, **kwargs) def WakeUpIdle(*args, **kwargs): - """WakeUpIdle() + """ + WakeUpIdle() -Cause the message queue to become empty again, so idle events will be sent.""" + Cause the message queue to become empty again, so idle events will be sent. + """ return _core.WakeUpIdle(*args, **kwargs) def PostEvent(*args, **kwargs): - """PostEvent(EvtHandler dest, Event event) + """ + PostEvent(EvtHandler dest, Event event) -Send an event to a window or other wx.EvtHandler to be processed later.""" + Send an event to a window or other wx.EvtHandler to be processed later. + """ return _core.PostEvent(*args, **kwargs) def App_CleanUp(*args, **kwargs): - """App_CleanUp() + """ + App_CleanUp() -For internal use only, it is used to cleanup after wxWindows when Python shuts down.""" + For internal use only, it is used to cleanup after wxWindows when Python shuts down. + """ return _core.App_CleanUp(*args, **kwargs) def GetApp(*args, **kwargs): - """GetApp() -> PyApp + """ + GetApp() -> PyApp -Return a reference to the current wxApp object.""" + Return a reference to the current wxApp object. + """ return _core.GetApp(*args, **kwargs) #---------------------------------------------------------------------- @@ -4889,17 +5044,20 @@ your Mac.""" def SetTopWindow(self, frame): + """Set the \"main\" top level window""" if self.stdioWin: self.stdioWin.SetParent(frame) wx.PyApp.SetTopWindow(self, frame) def MainLoop(self): + """Execute the main GUI event loop""" wx.PyApp.MainLoop(self) self.RestoreStdio() def RedirectStdio(self, filename): + """Redirect sys.stdout and sys.stderr to a file or a popup window.""" if filename: _sys.stdout = _sys.stderr = open(filename, 'a') else: @@ -4982,13 +5140,99 @@ _sys.__wxPythonCleanup = __wxPyCleanup() #--------------------------------------------------------------------------- +class AcceleratorEntry(object): + def __repr__(self): + return "<%s.%s; proxy of C++ wxAcceleratorEntry instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """__init__(int flags=0, int keyCode=0, int cmd=0, MenuItem item=None) -> AcceleratorEntry""" + newobj = _core.new_AcceleratorEntry(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def __del__(self, destroy=_core.delete_AcceleratorEntry): + """__del__()""" + try: + if self.thisown: destroy(self) + except: pass + + def Set(*args, **kwargs): + """Set(int flags, int keyCode, int cmd, MenuItem item=None)""" + return _core.AcceleratorEntry_Set(*args, **kwargs) + + def SetMenuItem(*args, **kwargs): + """SetMenuItem(MenuItem item)""" + return _core.AcceleratorEntry_SetMenuItem(*args, **kwargs) + + def GetMenuItem(*args, **kwargs): + """GetMenuItem() -> MenuItem""" + return _core.AcceleratorEntry_GetMenuItem(*args, **kwargs) + + def GetFlags(*args, **kwargs): + """GetFlags() -> int""" + return _core.AcceleratorEntry_GetFlags(*args, **kwargs) + + def GetKeyCode(*args, **kwargs): + """GetKeyCode() -> int""" + return _core.AcceleratorEntry_GetKeyCode(*args, **kwargs) + + def GetCommand(*args, **kwargs): + """GetCommand() -> int""" + return _core.AcceleratorEntry_GetCommand(*args, **kwargs) + + +class AcceleratorEntryPtr(AcceleratorEntry): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = AcceleratorEntry +_core.AcceleratorEntry_swigregister(AcceleratorEntryPtr) + +class AcceleratorTable(Object): + def __repr__(self): + return "<%s.%s; proxy of C++ wxAcceleratorTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """ + __init__(entries) -> AcceleratorTable + + Construct an AcceleratorTable from a list of AcceleratorEntry items or + 3-tuples (flags, keyCode, cmdID) + """ + newobj = _core.new_AcceleratorTable(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def __del__(self, destroy=_core.delete_AcceleratorTable): + """__del__()""" + try: + if self.thisown: destroy(self) + except: pass + + def Ok(*args, **kwargs): + """Ok() -> bool""" + return _core.AcceleratorTable_Ok(*args, **kwargs) + + +class AcceleratorTablePtr(AcceleratorTable): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = AcceleratorTable +_core.AcceleratorTable_swigregister(AcceleratorTablePtr) + + +def GetAccelFromString(*args, **kwargs): + """GetAccelFromString(wxString label) -> AcceleratorEntry""" + return _core.GetAccelFromString(*args, **kwargs) +#--------------------------------------------------------------------------- + class Window(EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWindow 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=0, wxString name=PanelNameStr) -> Window""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> Window + """ newobj = _core.new_Window(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -4996,8 +5240,10 @@ class Window(EvtHandler): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, wxString name=PanelNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> bool + """ return _core.Window_Create(*args, **kwargs) def Close(*args, **kwargs): @@ -5005,9 +5251,11 @@ class Window(EvtHandler): return _core.Window_Close(*args, **kwargs) def Destroy(*args, **kwargs): - """Destroy() -> bool + """ + Destroy() -> bool -Deletes the C++ object this Python object is a proxy for.""" + Deletes the C++ object this Python object is a proxy for. + """ return _core.Window_Destroy(*args, **kwargs) def DestroyChildren(*args, **kwargs): @@ -5111,27 +5359,35 @@ Deletes the C++ object this Python object is a proxy for.""" return _core.Window_SetClientRect(*args, **kwargs) def GetPosition(*args, **kwargs): - """GetPosition() -> Point + """ + GetPosition() -> Point -Get the window's position.""" + Get the window's position. + """ return _core.Window_GetPosition(*args, **kwargs) def GetPositionTuple(*args, **kwargs): - """GetPositionTuple() -> (x,y) + """ + GetPositionTuple() -> (x,y) -Get the window's position.""" + Get the window's position. + """ return _core.Window_GetPositionTuple(*args, **kwargs) def GetSize(*args, **kwargs): - """GetSize() -> Size + """ + GetSize() -> Size -Get the window size.""" + Get the window size. + """ return _core.Window_GetSize(*args, **kwargs) def GetSizeTuple(*args, **kwargs): - """GetSizeTuple() -> (width, height) + """ + GetSizeTuple() -> (width, height) -Get the window size.""" + Get the window size. + """ return _core.Window_GetSizeTuple(*args, **kwargs) def GetRect(*args, **kwargs): @@ -5139,15 +5395,19 @@ Get the window size.""" return _core.Window_GetRect(*args, **kwargs) def GetClientSize(*args, **kwargs): - """GetClientSize() -> Size + """ + GetClientSize() -> Size -Get the window's client size.""" + Get the window's client size. + """ return _core.Window_GetClientSize(*args, **kwargs) def GetClientSizeTuple(*args, **kwargs): - """GetClientSizeTuple() -> (width, height) + """ + GetClientSizeTuple() -> (width, height) -Get the window's client size.""" + Get the window's client size. + """ return _core.Window_GetClientSizeTuple(*args, **kwargs) def GetClientAreaOrigin(*args, **kwargs): @@ -5159,17 +5419,21 @@ Get the window's client size.""" return _core.Window_GetClientRect(*args, **kwargs) def GetBestSize(*args, **kwargs): - """GetBestSize() -> Size + """ + GetBestSize() -> Size -Get the size best suited for the window (in fact, minimal acceptable size -using which it will still look "nice")""" + Get the size best suited for the window (in fact, minimal acceptable size + using which it will still look "nice") + """ return _core.Window_GetBestSize(*args, **kwargs) def GetBestSizeTuple(*args, **kwargs): - """GetBestSizeTuple() -> (width, height) + """ + GetBestSizeTuple() -> (width, height) -Get the size best suited for the window (in fact, minimal acceptable size -using which it will still look "nice")""" + Get the size best suited for the window (in fact, minimal acceptable size + using which it will still look "nice") + """ return _core.Window_GetBestSizeTuple(*args, **kwargs) def GetAdjustedBestSize(*args, **kwargs): @@ -5200,8 +5464,10 @@ using which it will still look "nice")""" return _core.Window_FitInside(*args, **kwargs) def SetSizeHints(*args, **kwargs): - """SetSizeHints(int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, - int incH=-1)""" + """ + SetSizeHints(int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, + int incH=-1) + """ return _core.Window_SetSizeHints(*args, **kwargs) def SetVirtualSizeHints(*args, **kwargs): @@ -5229,35 +5495,43 @@ using which it will still look "nice")""" return _core.Window_GetMaxSize(*args, **kwargs) def SetVirtualSize(*args, **kwargs): - """SetVirtualSize(Size size) + """ + SetVirtualSize(Size size) -Set the the virtual size of a window. For most windows this is just the -client area of the window, but for some like scrolled windows it is more or -less independent of the screen window size.""" + Set the the virtual size of a window. For most windows this is just the + client area of the window, but for some like scrolled windows it is more or + less independent of the screen window size. + """ return _core.Window_SetVirtualSize(*args, **kwargs) def SetVirtualSizeWH(*args, **kwargs): - """SetVirtualSizeWH(int w, int h) + """ + SetVirtualSizeWH(int w, int h) -Set the the virtual size of a window. For most windows this is just the -client area of the window, but for some like scrolled windows it is more or -less independent of the screen window size.""" + Set the the virtual size of a window. For most windows this is just the + client area of the window, but for some like scrolled windows it is more or + less independent of the screen window size. + """ return _core.Window_SetVirtualSizeWH(*args, **kwargs) def GetVirtualSize(*args, **kwargs): - """GetVirtualSize() -> Size + """ + GetVirtualSize() -> Size -Get the the virtual size of the window. For most windows this is just -the client area of the window, but for some like scrolled windows it is -more or less independent of the screen window size.""" + Get the the virtual size of the window. For most windows this is just + the client area of the window, but for some like scrolled windows it is + more or less independent of the screen window size. + """ return _core.Window_GetVirtualSize(*args, **kwargs) def GetVirtualSizeTuple(*args, **kwargs): - """GetVirtualSizeTuple() -> (width, height) + """ + GetVirtualSizeTuple() -> (width, height) -Get the the virtual size of the window. For most windows this is just -the client area of the window, but for some like scrolled windows it is -more or less independent of the screen window size.""" + Get the the virtual size of the window. For most windows this is just + the client area of the window, but for some like scrolled windows it is + more or less independent of the screen window size. + """ return _core.Window_GetVirtualSizeTuple(*args, **kwargs) def GetBestVirtualSize(*args, **kwargs): @@ -5434,11 +5708,11 @@ more or less independent of the screen window size.""" return _core.Window_GetValidator(*args, **kwargs) def SetAcceleratorTable(*args, **kwargs): - """SetAcceleratorTable(wxAcceleratorTable accel)""" + """SetAcceleratorTable(AcceleratorTable accel)""" return _core.Window_SetAcceleratorTable(*args, **kwargs) def GetAcceleratorTable(*args, **kwargs): - """GetAcceleratorTable() -> wxAcceleratorTable""" + """GetAcceleratorTable() -> AcceleratorTable""" return _core.Window_GetAcceleratorTable(*args, **kwargs) def RegisterHotKey(*args, **kwargs): @@ -5591,16 +5865,20 @@ more or less independent of the screen window size.""" return _core.Window_GetCharWidth(*args, **kwargs) def GetTextExtent(*args, **kwargs): - """GetTextExtent(wxString string) -> (width, height) + """ + GetTextExtent(wxString string) -> (width, height) -Get the width and height of the text using the current font.""" + Get the width and height of the text using the current font. + """ return _core.Window_GetTextExtent(*args, **kwargs) def GetFullTextExtent(*args, **kwargs): - """GetFullTextExtent(wxString string, Font font=None) -> - (width, height, descent, externalLeading) + """ + GetFullTextExtent(wxString string, Font font=None) -> + (width, height, descent, externalLeading) -Get the width, height, decent and leading of the text using the current or specified font.""" + Get the width, height, decent and leading of the text using the current or specified font. + """ return _core.Window_GetFullTextExtent(*args, **kwargs) def ClientToScreenXY(*args, **kwargs): @@ -5803,6 +6081,7 @@ class WindowPtr(Window): if not hasattr(self,"thisown"): self.thisown = 0 self.__class__ = Window _core.Window_swigregister(WindowPtr) +NullAcceleratorTable = cvar.NullAcceleratorTable PanelNameStr = cvar.PanelNameStr def PreWindow(*args, **kwargs): @@ -5862,7 +6141,6 @@ def Window_FromHWND(*args, **kwargs): #--------------------------------------------------------------------------- class Validator(EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxValidator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -5924,7 +6202,6 @@ def Validator_SetBellOnError(*args, **kwargs): return _core.Validator_SetBellOnError(*args, **kwargs) class PyValidator(Validator): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyValidator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -5952,7 +6229,6 @@ _core.PyValidator_swigregister(PyValidatorPtr) #--------------------------------------------------------------------------- class Menu(EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMenu instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -5964,8 +6240,10 @@ class Menu(EvtHandler): self._setOORInfo(self) def Append(*args, **kwargs): - """Append(int itemid, wxString text, wxString help=wxPyEmptyString, - wxItemKind kind=ITEM_NORMAL)""" + """ + Append(int itemid, wxString text, wxString help=wxPyEmptyString, + wxItemKind kind=ITEM_NORMAL) + """ return _core.Menu_Append(*args, **kwargs) def AppendSeparator(*args, **kwargs): @@ -5997,8 +6275,10 @@ class Menu(EvtHandler): return _core.Menu_InsertItem(*args, **kwargs) def Insert(*args, **kwargs): - """Insert(size_t pos, int itemid, wxString text, wxString help=wxPyEmptyString, - wxItemKind kind=ITEM_NORMAL)""" + """ + Insert(size_t pos, int itemid, wxString text, wxString help=wxPyEmptyString, + wxItemKind kind=ITEM_NORMAL) + """ return _core.Menu_Insert(*args, **kwargs) def InsertSeparator(*args, **kwargs): @@ -6014,8 +6294,10 @@ class Menu(EvtHandler): return _core.Menu_InsertRadioItem(*args, **kwargs) def InsertMenu(*args, **kwargs): - """InsertMenu(size_t pos, int itemid, wxString text, Menu submenu, - wxString help=wxPyEmptyString)""" + """ + InsertMenu(size_t pos, int itemid, wxString text, Menu submenu, + wxString help=wxPyEmptyString) + """ return _core.Menu_InsertMenu(*args, **kwargs) def PrependItem(*args, **kwargs): @@ -6023,8 +6305,10 @@ class Menu(EvtHandler): return _core.Menu_PrependItem(*args, **kwargs) def Prepend(*args, **kwargs): - """Prepend(int itemid, wxString text, wxString help=wxPyEmptyString, - wxItemKind kind=ITEM_NORMAL)""" + """ + Prepend(int itemid, wxString text, wxString help=wxPyEmptyString, + wxItemKind kind=ITEM_NORMAL) + """ return _core.Menu_Prepend(*args, **kwargs) def PrependSeparator(*args, **kwargs): @@ -6060,21 +6344,27 @@ class Menu(EvtHandler): return _core.Menu_DeleteItem(*args, **kwargs) def Destroy(*args, **kwargs): - """Destroy() + """ + Destroy() -Deletes the C++ object this Python object is a proxy for.""" + Deletes the C++ object this Python object is a proxy for. + """ return _core.Menu_Destroy(*args, **kwargs) def DestroyId(*args, **kwargs): - """DestroyId(int itemid) -> bool + """ + DestroyId(int itemid) -> bool -Deletes the C++ object this Python object is a proxy for.""" + Deletes the C++ object this Python object is a proxy for. + """ return _core.Menu_DestroyId(*args, **kwargs) def DestroyItem(*args, **kwargs): - """DestroyItem(MenuItem item) -> bool + """ + DestroyItem(MenuItem item) -> bool -Deletes the C++ object this Python object is a proxy for.""" + Deletes the C++ object this Python object is a proxy for. + """ return _core.Menu_DestroyItem(*args, **kwargs) def GetMenuItemCount(*args, **kwargs): @@ -6197,7 +6487,6 @@ DefaultValidator = cvar.DefaultValidator #--------------------------------------------------------------------------- class MenuBar(Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMenuBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -6319,13 +6608,14 @@ _core.MenuBar_swigregister(MenuBarPtr) #--------------------------------------------------------------------------- class MenuItem(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMenuItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Menu parentMenu=None, int id=ID_SEPARATOR, wxString text=wxPyEmptyString, - wxString help=wxPyEmptyString, - wxItemKind kind=ITEM_NORMAL, Menu subMenu=None) -> MenuItem""" + """ + __init__(Menu parentMenu=None, int id=ID_SEPARATOR, wxString text=wxPyEmptyString, + wxString help=wxPyEmptyString, + wxItemKind kind=ITEM_NORMAL, Menu subMenu=None) -> MenuItem + """ newobj = _core.new_MenuItem(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -6420,11 +6710,11 @@ class MenuItem(Object): return _core.MenuItem_GetHelp(*args, **kwargs) def GetAccel(*args, **kwargs): - """GetAccel() -> wxAcceleratorEntry""" + """GetAccel() -> AcceleratorEntry""" return _core.MenuItem_GetAccel(*args, **kwargs) def SetAccel(*args, **kwargs): - """SetAccel(wxAcceleratorEntry accel)""" + """SetAccel(AcceleratorEntry accel)""" return _core.MenuItem_SetAccel(*args, **kwargs) def SetFont(*args, **kwargs): @@ -6515,13 +6805,14 @@ def MenuItem_GetDefaultMarginWidth(*args, **kwargs): #--------------------------------------------------------------------------- class Control(Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxControl 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=0, Validator validator=DefaultValidator, - wxString name=wxPyControlNameStr) -> Control""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyControlNameStr) -> Control + """ newobj = _core.new_Control(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -6529,9 +6820,11 @@ class Control(Window): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyControlNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyControlNameStr) -> bool + """ return _core.Control_Create(*args, **kwargs) def Command(*args, **kwargs): @@ -6563,7 +6856,6 @@ def PreControl(*args, **kwargs): #--------------------------------------------------------------------------- class ItemContainer(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxItemContainer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -6642,7 +6934,6 @@ _core.ItemContainer_swigregister(ItemContainerPtr) #--------------------------------------------------------------------------- class ControlWithItems(Control,ItemContainer): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxControlWithItems instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -6657,7 +6948,6 @@ _core.ControlWithItems_swigregister(ControlWithItemsPtr) #--------------------------------------------------------------------------- class SizerItem(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSizerItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -6795,28 +7085,33 @@ class SizerItemPtr(SizerItem): _core.SizerItem_swigregister(SizerItemPtr) def SizerItemSpacer(*args, **kwargs): - """SizerItemSpacer(int width, int height, int proportion, int flag, int border, - Object userData) -> SizerItem""" + """ + SizerItemSpacer(int width, int height, int proportion, int flag, int border, + Object userData) -> SizerItem + """ val = _core.new_SizerItemSpacer(*args, **kwargs) val.thisown = 1 return val def SizerItemWindow(*args, **kwargs): - """SizerItemWindow(Window window, int proportion, int flag, int border, - Object userData) -> SizerItem""" + """ + SizerItemWindow(Window window, int proportion, int flag, int border, + Object userData) -> SizerItem + """ val = _core.new_SizerItemWindow(*args, **kwargs) val.thisown = 1 return val def SizerItemSizer(*args, **kwargs): - """SizerItemSizer(Sizer sizer, int proportion, int flag, int border, - Object userData) -> SizerItem""" + """ + SizerItemSizer(Sizer sizer, int proportion, int flag, int border, + Object userData) -> SizerItem + """ val = _core.new_SizerItemSizer(*args, **kwargs) val.thisown = 1 return val class Sizer(Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -6825,18 +7120,24 @@ class Sizer(Object): return _core.Sizer__setOORInfo(*args, **kwargs) def Add(*args, **kwargs): - """Add(PyObject item, int proportion=0, int flag=0, int border=0, - PyObject userData=None)""" + """ + Add(PyObject item, int proportion=0, int flag=0, int border=0, + PyObject userData=None) + """ return _core.Sizer_Add(*args, **kwargs) def Insert(*args, **kwargs): - """Insert(int before, PyObject item, int proportion=0, int flag=0, - int border=0, PyObject userData=None)""" + """ + Insert(int before, PyObject item, int proportion=0, int flag=0, + int border=0, PyObject userData=None) + """ return _core.Sizer_Insert(*args, **kwargs) def Prepend(*args, **kwargs): - """Prepend(PyObject item, int proportion=0, int flag=0, int border=0, - PyObject userData=None)""" + """ + Prepend(PyObject item, int proportion=0, int flag=0, int border=0, + PyObject userData=None) + """ return _core.Sizer_Prepend(*args, **kwargs) def Remove(*args, **kwargs): @@ -6970,7 +7271,6 @@ class SizerPtr(Sizer): _core.Sizer_swigregister(SizerPtr) class PySizer(Sizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPySizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -6996,7 +7296,6 @@ _core.PySizer_swigregister(PySizerPtr) #--------------------------------------------------------------------------- class BoxSizer(Sizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBoxSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7034,7 +7333,6 @@ _core.BoxSizer_swigregister(BoxSizerPtr) #--------------------------------------------------------------------------- class StaticBoxSizer(BoxSizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStaticBoxSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7068,7 +7366,6 @@ _core.StaticBoxSizer_swigregister(StaticBoxSizerPtr) #--------------------------------------------------------------------------- class GridSizer(Sizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7133,7 +7430,6 @@ FLEX_GROWMODE_NONE = _core.FLEX_GROWMODE_NONE FLEX_GROWMODE_SPECIFIED = _core.FLEX_GROWMODE_SPECIFIED FLEX_GROWMODE_ALL = _core.FLEX_GROWMODE_ALL class FlexGridSizer(GridSizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFlexGridSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7203,7 +7499,6 @@ _core.FlexGridSizer_swigregister(FlexGridSizerPtr) #--------------------------------------------------------------------------- class GBPosition(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGBPosition instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7270,7 +7565,6 @@ class GBPositionPtr(GBPosition): _core.GBPosition_swigregister(GBPositionPtr) class GBSpan(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGBSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7337,7 +7631,6 @@ class GBSpanPtr(GBSpan): _core.GBSpan_swigregister(GBSpanPtr) class GBSizerItem(SizerItem): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGBSizerItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7365,8 +7658,10 @@ class GBSizerItem(SizerItem): return _core.GBSizerItem_SetSpan(*args, **kwargs) def Intersects(*args): - """Intersects(GBSizerItem other) -> bool -Intersects(GBPosition pos, GBSpan span) -> bool""" + """ + Intersects(GBSizerItem other) -> bool + Intersects(GBPosition pos, GBSpan span) -> bool + """ return _core.GBSizerItem_Intersects(*args) def GetEndPos(*args, **kwargs): @@ -7391,28 +7686,33 @@ _core.GBSizerItem_swigregister(GBSizerItemPtr) DefaultSpan = cvar.DefaultSpan def GBSizerItemWindow(*args, **kwargs): - """GBSizerItemWindow(Window window, GBPosition pos, GBSpan span, int flag, - int border, Object userData) -> GBSizerItem""" + """ + GBSizerItemWindow(Window window, GBPosition pos, GBSpan span, int flag, + int border, Object userData) -> GBSizerItem + """ val = _core.new_GBSizerItemWindow(*args, **kwargs) val.thisown = 1 return val def GBSizerItemSizer(*args, **kwargs): - """GBSizerItemSizer(Sizer sizer, GBPosition pos, GBSpan span, int flag, - int border, Object userData) -> GBSizerItem""" + """ + GBSizerItemSizer(Sizer sizer, GBPosition pos, GBSpan span, int flag, + int border, Object userData) -> GBSizerItem + """ val = _core.new_GBSizerItemSizer(*args, **kwargs) val.thisown = 1 return val def GBSizerItemSpacer(*args, **kwargs): - """GBSizerItemSpacer(int width, int height, GBPosition pos, GBSpan span, - int flag, int border, Object userData) -> GBSizerItem""" + """ + GBSizerItemSpacer(int width, int height, GBPosition pos, GBSpan span, + int flag, int border, Object userData) -> GBSizerItem + """ val = _core.new_GBSizerItemSpacer(*args, **kwargs) val.thisown = 1 return val class GridBagSizer(FlexGridSizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridBagSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7422,8 +7722,10 @@ class GridBagSizer(FlexGridSizer): self.thisown = 1 del newobj.thisown def Add(*args, **kwargs): - """Add(PyObject item, GBPosition pos, GBSpan span=DefaultSpan, - int flag=0, int border=0, PyObject userData=None) -> bool""" + """ + Add(PyObject item, GBPosition pos, GBSpan span=DefaultSpan, + int flag=0, int border=0, PyObject userData=None) -> bool + """ return _core.GridBagSizer_Add(*args, **kwargs) def AddItem(*args, **kwargs): @@ -7439,32 +7741,42 @@ class GridBagSizer(FlexGridSizer): return _core.GridBagSizer_SetEmptyCellSize(*args, **kwargs) def GetItemPosition(*args): - """GetItemPosition(Window window) -> GBPosition -GetItemPosition(Sizer sizer) -> GBPosition -GetItemPosition(size_t index) -> GBPosition""" + """ + GetItemPosition(Window window) -> GBPosition + GetItemPosition(Sizer sizer) -> GBPosition + GetItemPosition(size_t index) -> GBPosition + """ return _core.GridBagSizer_GetItemPosition(*args) def SetItemPosition(*args): - """SetItemPosition(Window window, GBPosition pos) -> bool -SetItemPosition(Sizer sizer, GBPosition pos) -> bool -SetItemPosition(size_t index, GBPosition pos) -> bool""" + """ + SetItemPosition(Window window, GBPosition pos) -> bool + SetItemPosition(Sizer sizer, GBPosition pos) -> bool + SetItemPosition(size_t index, GBPosition pos) -> bool + """ return _core.GridBagSizer_SetItemPosition(*args) def GetItemSpan(*args): - """GetItemSpan(Window window) -> GBSpan -GetItemSpan(Sizer sizer) -> GBSpan -GetItemSpan(size_t index) -> GBSpan""" + """ + GetItemSpan(Window window) -> GBSpan + GetItemSpan(Sizer sizer) -> GBSpan + GetItemSpan(size_t index) -> GBSpan + """ return _core.GridBagSizer_GetItemSpan(*args) def SetItemSpan(*args): - """SetItemSpan(Window window, GBSpan span) -> bool -SetItemSpan(Sizer sizer, GBSpan span) -> bool -SetItemSpan(size_t index, GBSpan span) -> bool""" + """ + SetItemSpan(Window window, GBSpan span) -> bool + SetItemSpan(Sizer sizer, GBSpan span) -> bool + SetItemSpan(size_t index, GBSpan span) -> bool + """ return _core.GridBagSizer_SetItemSpan(*args) def FindItem(*args): - """FindItem(Window window) -> GBSizerItem -FindItem(Sizer sizer) -> GBSizerItem""" + """ + FindItem(Window window) -> GBSizerItem + FindItem(Sizer sizer) -> GBSizerItem + """ return _core.GridBagSizer_FindItem(*args) def FindItemAtPosition(*args, **kwargs): @@ -7488,8 +7800,10 @@ FindItem(Sizer sizer) -> GBSizerItem""" return _core.GridBagSizer_CalcMin(*args, **kwargs) def CheckForIntersection(*args): - """CheckForIntersection(GBSizerItem item, GBSizerItem excludeItem=None) -> bool -CheckForIntersection(GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) -> bool""" + """ + CheckForIntersection(GBSizerItem item, GBSizerItem excludeItem=None) -> bool + CheckForIntersection(GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) -> bool + """ return _core.GridBagSizer_CheckForIntersection(*args) @@ -7522,13 +7836,14 @@ RightOf = _core.RightOf SameAs = _core.SameAs Absolute = _core.Absolute class IndividualLayoutConstraint(Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxIndividualLayoutConstraint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def Set(*args, **kwargs): - """Set(wxRelationship rel, Window otherW, wxEdge otherE, int val=0, - int marg=wxLAYOUT_DEFAULT_MARGIN)""" + """ + Set(wxRelationship rel, Window otherW, wxEdge otherE, int val=0, + int marg=wxLAYOUT_DEFAULT_MARGIN) + """ return _core.IndividualLayoutConstraint_Set(*args, **kwargs) def LeftOf(*args, **kwargs): @@ -7640,7 +7955,6 @@ class IndividualLayoutConstraintPtr(IndividualLayoutConstraint): _core.IndividualLayoutConstraint_swigregister(IndividualLayoutConstraintPtr) class LayoutConstraints(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLayoutConstraints instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) left = property(_core.LayoutConstraints_left_get) diff --git a/wxPython/src/msw/core_wrap.cpp b/wxPython/src/msw/core_wrap.cpp index 285cef8318..242d688c2c 100644 --- a/wxPython/src/msw/core_wrap.cpp +++ b/wxPython/src/msw/core_wrap.cpp @@ -18510,6 +18510,372 @@ static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) } +static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + int arg1 = (int) 0 ; + int arg2 = (int) 0 ; + int arg3 = (int) 0 ; + wxMenuItem *arg4 = (wxMenuItem *) NULL ; + wxAcceleratorEntry *result; + PyObject * obj3 = 0 ; + char *kwnames[] = { + (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiiO:new_AcceleratorEntry",kwnames,&arg1,&arg2,&arg3,&obj3)) goto fail; + if (obj3) { + if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + delete arg1; + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; + int arg2 ; + int arg3 ; + int arg4 ; + wxMenuItem *arg5 = (wxMenuItem *) NULL ; + PyObject * obj0 = 0 ; + PyObject * obj4 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if (obj4) { + if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->Set(arg2,arg3,arg4,arg5); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; + wxMenuItem *arg2 = (wxMenuItem *) 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "item", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetMenuItem(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; + wxMenuItem *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; + int result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)(arg1)->GetFlags(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; + int result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)(arg1)->GetKeyCode(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; + int result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)(arg1)->GetCommand(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + int arg1 ; + wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ; + wxAcceleratorTable *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "n", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail; + { + arg2 = wxAcceleratorEntry_LIST_helper(obj0); + if (arg2) arg1 = PyList_Size(obj0); + else arg1 = 0; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 1); + { + delete [] arg2; + } + return resultobj; + fail: + { + delete [] arg2; + } + return NULL; +} + + +static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + delete arg1; + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxAcceleratorTable const *)arg1)->Ok(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static int _wrap_NullAcceleratorTable_set(PyObject *_val) { + PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only."); + return 1; +} + + +static PyObject *_wrap_NullAcceleratorTable_get() { + PyObject *pyobj; + + pyobj = SWIG_NewPointerObj((void *) &wxNullAcceleratorTable, SWIGTYPE_p_wxAcceleratorTable, 0); + return pyobj; +} + + +static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxString *arg1 = 0 ; + wxAcceleratorEntry *result; + bool temp1 = False ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "label", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail; + { + arg1 = wxString_in_helper(obj0); + if (arg1 == NULL) SWIG_fail; + temp1 = True; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0); + { + if (temp1) + delete arg1; + } + return resultobj; + fail: + { + if (temp1) + delete arg1; + } + return NULL; +} + + static int _wrap_PanelNameStr_set(PyObject *_val) { PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only."); return 1; @@ -36073,6 +36439,20 @@ static PyMethodDef SwigMethods[] = { { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS }, { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS }, { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS }, + { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS }, + { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS }, + { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS }, + { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS }, + { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS }, + { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS }, + { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS }, + { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS }, + { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS }, + { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS }, + { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS }, + { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS }, + { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS }, + { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS }, { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS }, { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS }, { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS }, @@ -36920,6 +37300,9 @@ static void *_p_wxWindowTo_p_wxObject(void *x) { static void *_p_wxControlTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); } +static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxAcceleratorTable *) x)); +} static void *_p_wxGridSizerTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); } @@ -37193,7 +37576,7 @@ static swig_type_info _swigt__p_wxImageHistogram[] = {{"_p_wxImageHistogram", 0, static swig_type_info _swigt__p_byte[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}}; static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}}; static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; static swig_type_info _swigt__p_wxPyInputStream[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}}; static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}}; static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}}; @@ -38278,6 +38661,7 @@ SWIGEXPORT(void) SWIG_init(void) { PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS)); PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS)); PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER)); + SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set); SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set); SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set); SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set); diff --git a/wxPython/src/msw/gdi.py b/wxPython/src/msw/gdi.py index 1185de3438..f4fab39755 100644 --- a/wxPython/src/msw/gdi.py +++ b/wxPython/src/msw/gdi.py @@ -8,7 +8,6 @@ wx = core #--------------------------------------------------------------------------- class GDIObject(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGDIObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -46,7 +45,6 @@ _gdi.GDIObject_swigregister(GDIObjectPtr) #--------------------------------------------------------------------------- class Colour(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxColour instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -126,7 +124,6 @@ def ColourRGB(*args, **kwargs): return val class Palette(GDIObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPalette instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -165,7 +162,6 @@ _gdi.Palette_swigregister(PalettePtr) #--------------------------------------------------------------------------- class Pen(GDIObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -250,7 +246,6 @@ class PenPtr(Pen): _gdi.Pen_swigregister(PenPtr) class PyPen(Pen): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -281,11 +276,18 @@ Pen = PyPen #--------------------------------------------------------------------------- class Brush(GDIObject): - """""" + """ + A brush is a drawing tool for filling in areas. It is used for painting the + background of rectangles, ellipses, etc. It has a colour and a style. + """ def __repr__(self): return "<%s.%s; proxy of C++ wxBrush instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Colour colour, int style=SOLID) -> Brush""" + """ + __init__(Colour colour, int style=SOLID) -> Brush + + Constructs a brush from a colour object and style. + """ newobj = _gdi.new_Brush(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -334,11 +336,14 @@ class BrushPtr(Brush): _gdi.Brush_swigregister(BrushPtr) class Bitmap(GDIObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBitmap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString name, wxBitmapType type=BITMAP_TYPE_ANY) -> Bitmap""" + """ + __init__(wxString name, wxBitmapType type=BITMAP_TYPE_ANY) -> Bitmap + + Loads a bitmap from a file. + """ newobj = _gdi.new_Bitmap(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -366,43 +371,88 @@ class Bitmap(GDIObject): return _gdi.Bitmap_Ok(*args, **kwargs) def GetWidth(*args, **kwargs): - """GetWidth() -> int""" + """ + GetWidth() -> int + + Gets the width of the bitmap in pixels. + """ return _gdi.Bitmap_GetWidth(*args, **kwargs) def GetHeight(*args, **kwargs): - """GetHeight() -> int""" + """ + GetHeight() -> int + + Gets the height of the bitmap in pixels. + """ return _gdi.Bitmap_GetHeight(*args, **kwargs) def GetDepth(*args, **kwargs): - """GetDepth() -> int""" + """ + GetDepth() -> int + + Gets the colour depth of the bitmap. A value of 1 indicates a + monochrome bitmap. + """ return _gdi.Bitmap_GetDepth(*args, **kwargs) def ConvertToImage(*args, **kwargs): - """ConvertToImage() -> Image""" + """ + ConvertToImage() -> Image + + Creates a platform-independent image from a platform-dependent bitmap. This + preserves mask information so that bitmaps and images can be converted back + and forth without loss in that respect. + """ return _gdi.Bitmap_ConvertToImage(*args, **kwargs) def GetMask(*args, **kwargs): - """GetMask() -> Mask""" + """ + GetMask() -> Mask + + Gets the associated mask (if any) which may have been loaded from a file + or explpicitly set for the bitmap. + """ return _gdi.Bitmap_GetMask(*args, **kwargs) def SetMask(*args, **kwargs): - """SetMask(Mask mask)""" + """ + SetMask(Mask mask) + + Sets the mask for this bitmap. + """ return _gdi.Bitmap_SetMask(*args, **kwargs) def SetMaskColour(*args, **kwargs): - """SetMaskColour(Colour colour)""" + """ + SetMaskColour(Colour colour) + + Create a Mask based on a specified colour in the Bitmap. + """ return _gdi.Bitmap_SetMaskColour(*args, **kwargs) def GetSubBitmap(*args, **kwargs): - """GetSubBitmap(Rect rect) -> Bitmap""" + """ + GetSubBitmap(Rect rect) -> Bitmap + + Returns a sub bitmap of the current one as long as the rect belongs entirely + to the bitmap. This function preserves bit depth and mask information. + """ return _gdi.Bitmap_GetSubBitmap(*args, **kwargs) def SaveFile(*args, **kwargs): - """SaveFile(wxString name, wxBitmapType type, Palette palette=(wxPalette *) NULL) -> bool""" + """ + SaveFile(wxString name, wxBitmapType type, Palette palette=(wxPalette *) NULL) -> bool + + Saves a bitmap in the named file. + """ return _gdi.Bitmap_SaveFile(*args, **kwargs) def LoadFile(*args, **kwargs): - """LoadFile(wxString name, wxBitmapType type) -> bool""" + """ + LoadFile(wxString name, wxBitmapType type) -> bool + + Loads a bitmap from a file + """ return _gdi.Bitmap_LoadFile(*args, **kwargs) def CopyFromIcon(*args, **kwargs): @@ -410,15 +460,27 @@ class Bitmap(GDIObject): return _gdi.Bitmap_CopyFromIcon(*args, **kwargs) def SetHeight(*args, **kwargs): - """SetHeight(int height)""" + """ + SetHeight(int height) + + Set the height property (does not affect the bitmap data). + """ return _gdi.Bitmap_SetHeight(*args, **kwargs) def SetWidth(*args, **kwargs): - """SetWidth(int width)""" + """ + SetWidth(int width) + + Set the width property (does not affect the bitmap data). + """ return _gdi.Bitmap_SetWidth(*args, **kwargs) def SetDepth(*args, **kwargs): - """SetDepth(int depth)""" + """ + SetDepth(int depth) + + Set the depth property (does not affect the bitmap data). + """ return _gdi.Bitmap_SetDepth(*args, **kwargs) def CopyFromCursor(*args, **kwargs): @@ -443,41 +505,78 @@ class BitmapPtr(Bitmap): _gdi.Bitmap_swigregister(BitmapPtr) def EmptyBitmap(*args, **kwargs): - """EmptyBitmap(int width, int height, int depth=-1) -> Bitmap""" + """ + EmptyBitmap(int width, int height, int depth=-1) -> Bitmap + + Creates a new bitmap of the given size. A depth of -1 indicates the depth of + the current screen or visual. Some platforms only support 1 for monochrome and + -1 for the current colour setting. + """ val = _gdi.new_EmptyBitmap(*args, **kwargs) val.thisown = 1 return val def BitmapFromIcon(*args, **kwargs): - """BitmapFromIcon(Icon icon) -> Bitmap""" + """ + BitmapFromIcon(Icon icon) -> Bitmap + + Create a new bitmap from an Icon object. + """ val = _gdi.new_BitmapFromIcon(*args, **kwargs) val.thisown = 1 return val def BitmapFromImage(*args, **kwargs): - """BitmapFromImage(Image image, int depth=-1) -> Bitmap""" + """ + BitmapFromImage(Image image, int depth=-1) -> Bitmap + + Creates bitmap object from the image. This has to be done to actually display + an image as you cannot draw an image directly on a window. The resulting + bitmap will use the provided colour depth (or that of the current system if + depth is -1) which entails that a colour reduction has to take place. + """ val = _gdi.new_BitmapFromImage(*args, **kwargs) val.thisown = 1 return val def BitmapFromXPMData(*args, **kwargs): - """BitmapFromXPMData(PyObject listOfStrings) -> Bitmap""" + """ + BitmapFromXPMData(PyObject listOfStrings) -> Bitmap + + Construct a Bitmap from a list of strings formatted as XPM data. + """ val = _gdi.new_BitmapFromXPMData(*args, **kwargs) val.thisown = 1 return val def BitmapFromBits(*args, **kwargs): - """BitmapFromBits(PyObject bits, int width, int height, int depth=1) -> Bitmap""" + """ + BitmapFromBits(PyObject bits, int width, int height, int depth=1) -> Bitmap + + Creates a bitmap from an array of bits. You should only use this function for + monochrome bitmaps (depth 1) in portable programs: in this case the bits + parameter should contain an XBM image. For other bit depths, the behaviour is + platform dependent. + """ val = _gdi.new_BitmapFromBits(*args, **kwargs) val.thisown = 1 return val class Mask(core.Object): - """""" + """ + This class encapsulates a monochrome mask bitmap, where the masked area is + black and the unmasked area is white. When associated with a bitmap and drawn + in a device context, the unmasked area of the bitmap will be drawn, and the + masked area will not be drawn. + """ def __repr__(self): return "<%s.%s; proxy of C++ wxMask instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Bitmap bitmap) -> Mask""" + """ + __init__(Bitmap bitmap) -> Mask + + Constructs a mask from a monochrome bitmap. + """ newobj = _gdi.new_Mask(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -491,13 +590,17 @@ class MaskPtr(Mask): _gdi.Mask_swigregister(MaskPtr) def MaskColour(*args, **kwargs): - """MaskColour(Bitmap bitmap, Colour colour) -> Mask""" + """ + MaskColour(Bitmap bitmap, Colour colour) -> Mask + + Constructs a mask from a bitmap and a colour in that bitmap that indicates the + background. + """ val = _gdi.new_MaskColour(*args, **kwargs) val.thisown = 1 return val class Icon(GDIObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -594,7 +697,6 @@ def IconFromXPMData(*args, **kwargs): return val class IconLocation(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxIconLocation instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -639,7 +741,6 @@ class IconLocationPtr(IconLocation): _gdi.IconLocation_swigregister(IconLocationPtr) class IconBundle(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxIconBundle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -687,7 +788,6 @@ def IconBundleFromIcon(*args, **kwargs): return val class Cursor(GDIObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCursor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -764,8 +864,10 @@ def CursorFromImage(*args, **kwargs): return val def CursorFromBits(*args, **kwargs): - """CursorFromBits(PyObject bits, int width, int height, int hotSpotX=-1, - int hotSpotY=-1, PyObject maskBits=0) -> Cursor""" + """ + CursorFromBits(PyObject bits, int width, int height, int hotSpotX=-1, + int hotSpotY=-1, PyObject maskBits=0) -> Cursor + """ val = _gdi.new_CursorFromBits(*args, **kwargs) val.thisown = 1 return val @@ -776,7 +878,6 @@ OutRegion = _gdi.OutRegion PartRegion = _gdi.PartRegion InRegion = _gdi.InRegion class Region(GDIObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxRegion instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -900,7 +1001,6 @@ def RegionFromPoints(*args, **kwargs): return val class RegionIterator(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxRegionIterator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1053,7 +1153,6 @@ FONTENCODING_SHIFT_JIS = _gdi.FONTENCODING_SHIFT_JIS #--------------------------------------------------------------------------- class NativeFontInfo(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNativeFontInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1161,7 +1260,6 @@ class NativeFontInfoPtr(NativeFontInfo): _gdi.NativeFontInfo_swigregister(NativeFontInfoPtr) class NativeEncodingInfo(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNativeEncodingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) facename = property(_gdi.NativeEncodingInfo_facename_get, _gdi.NativeEncodingInfo_facename_set) @@ -1205,7 +1303,6 @@ def TestFontEncoding(*args, **kwargs): #--------------------------------------------------------------------------- class FontMapper(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFontMapper instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1268,8 +1365,10 @@ class FontMapper(object): GetDefaultConfigPath = staticmethod(GetDefaultConfigPath) def GetAltForEncoding(*args, **kwargs): - """GetAltForEncoding(wxFontEncoding encoding, wxString facename=wxPyEmptyString, - bool interactive=True) -> PyObject""" + """ + GetAltForEncoding(wxFontEncoding encoding, wxString facename=wxPyEmptyString, + bool interactive=True) -> PyObject + """ return _gdi.FontMapper_GetAltForEncoding(*args, **kwargs) def IsEncodingAvailable(*args, **kwargs): @@ -1323,13 +1422,14 @@ def FontMapper_GetDefaultConfigPath(*args, **kwargs): #--------------------------------------------------------------------------- class Font(GDIObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFont instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(int pointSize, int family, int style, int weight, bool underline=False, - wxString face=wxPyEmptyString, - wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font""" + """ + __init__(int pointSize, int family, int style, int weight, bool underline=False, + wxString face=wxPyEmptyString, + wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font + """ newobj = _gdi.new_Font(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1488,8 +1588,10 @@ def FontFromNativeInfoString(*args, **kwargs): return val def Font2(*args, **kwargs): - """Font2(int pointSize, wxFontFamily family, int flags=FONTFLAG_DEFAULT, - wxString face=wxPyEmptyString, wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font""" + """ + Font2(int pointSize, wxFontFamily family, int flags=FONTFLAG_DEFAULT, + wxString face=wxPyEmptyString, wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font + """ val = _gdi.new_Font2(*args, **kwargs) val.thisown = 1 return val @@ -1505,7 +1607,6 @@ def Font_SetDefaultEncoding(*args, **kwargs): #--------------------------------------------------------------------------- class FontEnumerator(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyFontEnumerator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1784,7 +1885,6 @@ LANGUAGE_ZHUANG = _gdi.LANGUAGE_ZHUANG LANGUAGE_ZULU = _gdi.LANGUAGE_ZULU LANGUAGE_USER_DEFINED = _gdi.LANGUAGE_USER_DEFINED class LanguageInfo(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxLanguageInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1808,7 +1908,6 @@ LOCALE_DECIMAL_POINT = _gdi.LOCALE_DECIMAL_POINT LOCALE_LOAD_DEFAULT = _gdi.LOCALE_LOAD_DEFAULT LOCALE_CONV_ENCODING = _gdi.LOCALE_CONV_ENCODING class Locale(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLocale instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1824,9 +1923,11 @@ class Locale(object): except: pass def Init1(*args, **kwargs): - """Init1(wxString szName, wxString szShort=wxPyEmptyString, - wxString szLocale=wxPyEmptyString, bool bLoadDefault=True, - bool bConvertEncoding=False) -> bool""" + """ + Init1(wxString szName, wxString szShort=wxPyEmptyString, + wxString szLocale=wxPyEmptyString, bool bLoadDefault=True, + bool bConvertEncoding=False) -> bool + """ return _gdi.Locale_Init1(*args, **kwargs) def Init2(*args, **kwargs): @@ -1971,7 +2072,6 @@ PLATFORM_WINDOWS = _gdi.PLATFORM_WINDOWS PLATFORM_OS2 = _gdi.PLATFORM_OS2 PLATFORM_MAC = _gdi.PLATFORM_MAC class EncodingConverter(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxEncodingConverter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1987,8 +2087,10 @@ class EncodingConverter(core.Object): except: pass def Init(*args, **kwargs): - """Init(wxFontEncoding input_enc, wxFontEncoding output_enc, - int method=CONVERT_STRICT) -> bool""" + """ + Init(wxFontEncoding input_enc, wxFontEncoding output_enc, + int method=CONVERT_STRICT) -> bool + """ return _gdi.EncodingConverter_Init(*args, **kwargs) def Convert(*args, **kwargs): @@ -2020,8 +2122,10 @@ class EncodingConverterPtr(EncodingConverter): _gdi.EncodingConverter_swigregister(EncodingConverterPtr) def GetTranslation(*args): - """GetTranslation(wxString sz) -> wxString -GetTranslation(wxString sz1, wxString sz2, size_t n) -> wxString""" + """ + GetTranslation(wxString sz) -> wxString + GetTranslation(wxString sz1, wxString sz2, size_t n) -> wxString + """ return _gdi.GetTranslation(*args) def EncodingConverter_GetPlatformEquivalents(*args, **kwargs): @@ -2059,7 +2163,6 @@ if wx.Platform == "__WXMSW__": #--------------------------------------------------------------------------- class DC(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -2218,14 +2321,18 @@ class DC(core.Object): return _gdi.DC_DrawRotatedText(*args, **kwargs) def BlitXY(*args, **kwargs): - """BlitXY(int xdest, int ydest, int width, int height, DC source, - int xsrc, int ysrc, int rop=COPY, bool useMask=False, - int xsrcMask=-1, int ysrcMask=-1) -> bool""" + """ + BlitXY(int xdest, int ydest, int width, int height, DC source, + int xsrc, int ysrc, int rop=COPY, bool useMask=False, + int xsrcMask=-1, int ysrcMask=-1) -> bool + """ return _gdi.DC_BlitXY(*args, **kwargs) def Blit(*args, **kwargs): - """Blit(Point destPt, Size sz, DC source, Point srcPt, int rop=COPY, - bool useMask=False, Point srcPtMask=DefaultPosition) -> bool""" + """ + Blit(Point destPt, Size sz, DC source, Point srcPt, int rop=COPY, + bool useMask=False, Point srcPtMask=DefaultPosition) -> bool + """ return _gdi.DC_Blit(*args, **kwargs) def DrawLines(*args, **kwargs): @@ -2233,18 +2340,24 @@ class DC(core.Object): return _gdi.DC_DrawLines(*args, **kwargs) def DrawPolygon(*args, **kwargs): - """DrawPolygon(int points, Point points_array, int xoffset=0, int yoffset=0, - int fillStyle=ODDEVEN_RULE)""" + """ + DrawPolygon(int points, Point points_array, int xoffset=0, int yoffset=0, + int fillStyle=ODDEVEN_RULE) + """ return _gdi.DC_DrawPolygon(*args, **kwargs) def DrawLabel(*args, **kwargs): - """DrawLabel(wxString text, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, - int indexAccel=-1)""" + """ + DrawLabel(wxString text, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, + int indexAccel=-1) + """ return _gdi.DC_DrawLabel(*args, **kwargs) def DrawImageLabel(*args, **kwargs): - """DrawImageLabel(wxString text, Bitmap image, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, - int indexAccel=-1) -> Rect""" + """ + DrawImageLabel(wxString text, Bitmap image, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, + int indexAccel=-1) -> Rect + """ return _gdi.DC_DrawImageLabel(*args, **kwargs) def DrawSpline(*args, **kwargs): @@ -2328,50 +2441,64 @@ class DC(core.Object): return _gdi.DC_GetCharWidth(*args, **kwargs) def GetTextExtent(*args, **kwargs): - """GetTextExtent(wxString string) -> (width, height) + """ + GetTextExtent(wxString string) -> (width, height) -Get the width and height of the text using the current font. -Only works for single line strings.""" + Get the width and height of the text using the current font. + Only works for single line strings. + """ return _gdi.DC_GetTextExtent(*args, **kwargs) def GetFullTextExtent(*args, **kwargs): - """GetFullTextExtent(wxString string, Font font=None) -> - (width, height, descent, externalLeading) + """ + GetFullTextExtent(wxString string, Font font=None) -> + (width, height, descent, externalLeading) -Get the width, height, decent and leading of the text using the current or specified font. -Only works for single line strings.""" + Get the width, height, decent and leading of the text using the current or specified font. + Only works for single line strings. + """ return _gdi.DC_GetFullTextExtent(*args, **kwargs) def GetMultiLineTextExtent(*args, **kwargs): - """GetMultiLineTextExtent(wxString string, Font font=None) -> - (width, height, descent, externalLeading) + """ + GetMultiLineTextExtent(wxString string, Font font=None) -> + (width, height, descent, externalLeading) -Get the width, height, decent and leading of the text using the current or specified font. -Works for single as well as multi-line strings.""" + Get the width, height, decent and leading of the text using the current or specified font. + Works for single as well as multi-line strings. + """ return _gdi.DC_GetMultiLineTextExtent(*args, **kwargs) def GetSize(*args, **kwargs): - """GetSize() -> Size + """ + GetSize() -> Size -Get the DC size in device units.""" + Get the DC size in device units. + """ return _gdi.DC_GetSize(*args, **kwargs) def GetSizeTuple(*args, **kwargs): - """GetSizeTuple() -> (width, height) + """ + GetSizeTuple() -> (width, height) -Get the DC size in device units.""" + Get the DC size in device units. + """ return _gdi.DC_GetSizeTuple(*args, **kwargs) def GetSizeMM(*args, **kwargs): - """GetSizeMM() -> Size + """ + GetSizeMM() -> Size -Get the DC size in milimeters.""" + Get the DC size in milimeters. + """ return _gdi.DC_GetSizeMM(*args, **kwargs) def GetSizeMMTuple(*args, **kwargs): - """GetSizeMMTuple() -> (width, height) + """ + GetSizeMMTuple() -> (width, height) -Get the DC size in milimeters.""" + Get the DC size in milimeters. + """ return _gdi.DC_GetSizeMMTuple(*args, **kwargs) def DeviceToLogicalX(*args, **kwargs): @@ -2580,8 +2707,10 @@ Get the DC size in milimeters.""" return _gdi.DC__DrawPolygonList(*args, **kwargs) def _DrawTextList(*args, **kwargs): - """_DrawTextList(PyObject textList, PyObject pyPoints, PyObject foregroundList, - PyObject backgroundList) -> PyObject""" + """ + _DrawTextList(PyObject textList, PyObject pyPoints, PyObject foregroundList, + PyObject backgroundList) -> PyObject + """ return _gdi.DC__DrawTextList(*args, **kwargs) def DrawPointList(self, points, pens=None): @@ -2687,7 +2816,6 @@ _gdi.DC_swigregister(DCPtr) #--------------------------------------------------------------------------- class MemoryDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMemoryDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2717,7 +2845,6 @@ def MemoryDCFromDC(*args, **kwargs): #--------------------------------------------------------------------------- class BufferedDC(MemoryDC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBufferedDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2748,7 +2875,6 @@ def BufferedDCInternalBuffer(*args, **kwargs): return val class BufferedPaintDC(BufferedDC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBufferedPaintDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2768,7 +2894,6 @@ _gdi.BufferedPaintDC_swigregister(BufferedPaintDCPtr) #--------------------------------------------------------------------------- class ScreenDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxScreenDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2800,7 +2925,6 @@ _gdi.ScreenDC_swigregister(ScreenDCPtr) #--------------------------------------------------------------------------- class ClientDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxClientDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2820,7 +2944,6 @@ _gdi.ClientDC_swigregister(ClientDCPtr) #--------------------------------------------------------------------------- class PaintDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPaintDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2840,7 +2963,6 @@ _gdi.PaintDC_swigregister(PaintDCPtr) #--------------------------------------------------------------------------- class WindowDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWindowDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2860,7 +2982,6 @@ _gdi.WindowDC_swigregister(WindowDCPtr) #--------------------------------------------------------------------------- class MirrorDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMirrorDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2880,7 +3001,6 @@ _gdi.MirrorDC_swigregister(MirrorDCPtr) #--------------------------------------------------------------------------- class PostScriptDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPostScriptDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2926,7 +3046,6 @@ def PostScriptDC_GetResolution(*args, **kwargs): #--------------------------------------------------------------------------- class MetaFile(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMetaFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2975,12 +3094,13 @@ class MetaFilePtr(MetaFile): _gdi.MetaFile_swigregister(MetaFilePtr) class MetaFileDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMetaFileDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString filename=wxPyEmptyString, int width=0, int height=0, - wxString description=wxPyEmptyString) -> MetaFileDC""" + """ + __init__(wxString filename=wxPyEmptyString, int width=0, int height=0, + wxString description=wxPyEmptyString) -> MetaFileDC + """ newobj = _gdi.new_MetaFileDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2998,7 +3118,6 @@ class MetaFileDCPtr(MetaFileDC): _gdi.MetaFileDC_swigregister(MetaFileDCPtr) class PrinterDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPrinterDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3025,7 +3144,6 @@ IMAGE_LIST_NORMAL = _gdi.IMAGE_LIST_NORMAL IMAGE_LIST_SMALL = _gdi.IMAGE_LIST_SMALL IMAGE_LIST_STATE = _gdi.IMAGE_LIST_STATE class ImageList(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxImageList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3057,8 +3175,10 @@ class ImageList(core.Object): return _gdi.ImageList_Replace(*args, **kwargs) def Draw(*args, **kwargs): - """Draw(int index, DC dc, int x, int x, int flags=IMAGELIST_DRAW_NORMAL, - bool solidBackground=False) -> bool""" + """ + Draw(int index, DC dc, int x, int x, int flags=IMAGELIST_DRAW_NORMAL, + bool solidBackground=False) -> bool + """ return _gdi.ImageList_Draw(*args, **kwargs) def GetImageCount(*args, **kwargs): @@ -3088,7 +3208,6 @@ _gdi.ImageList_swigregister(ImageListPtr) #--------------------------------------------------------------------------- class PenList(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxPenList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -3117,7 +3236,6 @@ class PenListPtr(PenList): _gdi.PenList_swigregister(PenListPtr) class BrushList(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxBrushList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -3146,7 +3264,6 @@ class BrushListPtr(BrushList): _gdi.BrushList_swigregister(BrushListPtr) class ColourDatabase(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxColourDatabase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3187,7 +3304,6 @@ class ColourDatabasePtr(ColourDatabase): _gdi.ColourDatabase_swigregister(ColourDatabasePtr) class FontList(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxFontList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -3196,9 +3312,11 @@ class FontList(core.Object): return _gdi.FontList_AddFont(*args, **kwargs) def FindOrCreateFont(*args, **kwargs): - """FindOrCreateFont(int point_size, int family, int style, int weight, - bool underline=False, wxString facename=wxPyEmptyString, - wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font""" + """ + FindOrCreateFont(int point_size, int family, int style, int weight, + bool underline=False, wxString facename=wxPyEmptyString, + wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font + """ return _gdi.FontList_FindOrCreateFont(*args, **kwargs) def RemoveFont(*args, **kwargs): @@ -3222,7 +3340,6 @@ _gdi.FontList_swigregister(FontListPtr) #--------------------------------------------------------------------------- class Effects(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxEffects instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3272,8 +3389,10 @@ class Effects(core.Object): return _gdi.Effects_SetDarkShadow(*args, **kwargs) def Set(*args, **kwargs): - """Set(Colour highlightColour, Colour lightShadow, Colour faceColour, - Colour mediumShadow, Colour darkShadow)""" + """ + Set(Colour highlightColour, Colour lightShadow, Colour faceColour, + Colour mediumShadow, Colour darkShadow) + """ return _gdi.Effects_Set(*args, **kwargs) def DrawSunkenEdge(*args, **kwargs): diff --git a/wxPython/src/msw/gdi_wrap.cpp b/wxPython/src/msw/gdi_wrap.cpp index f620eb7221..2cc09d81e8 100644 --- a/wxPython/src/msw/gdi_wrap.cpp +++ b/wxPython/src/msw/gdi_wrap.cpp @@ -17224,6 +17224,9 @@ static void *_p_wxPrinterDCTo_p_wxObject(void *x) { static void *_p_wxScreenDCTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxDC *) ((wxScreenDC *) x)); } +static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxAcceleratorTable *) x)); +} static void *_p_wxImageTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxImage *) x)); } @@ -17428,7 +17431,7 @@ static swig_type_info _swigt__p_wxEffects[] = {{"_p_wxEffects", 0, "wxEffects *" static swig_type_info _swigt__p_wxNativeEncodingInfo[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0},{"_p_wxNativeEncodingInfo"},{0}}; static swig_type_info _swigt__p_wxPalette[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}}; static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject},{"_p_wxPen", _p_wxPenTo_p_wxObject},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxPenList", _p_wxPenListTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxMask", _p_wxMaskTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxFont", _p_wxFontTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject},{"_p_wxRegion", _p_wxRegionTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxDC", _p_wxDCTo_p_wxObject},{"_p_wxIcon", _p_wxIconTo_p_wxObject},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject},{"_p_wxEffects", _p_wxEffectsTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxObject},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject},{"_p_wxImageList", _p_wxImageListTo_p_wxObject},{"_p_wxCursor", _p_wxCursorTo_p_wxObject},{"_p_wxObject"},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject},{"_p_wxPyPen", _p_wxPyPenTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxBrush", _p_wxBrushTo_p_wxObject},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxColour", _p_wxColourTo_p_wxObject},{"_p_wxFontList", _p_wxFontListTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject},{"_p_wxPen", _p_wxPenTo_p_wxObject},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxPenList", _p_wxPenListTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxMask", _p_wxMaskTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxFont", _p_wxFontTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject},{"_p_wxRegion", _p_wxRegionTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxDC", _p_wxDCTo_p_wxObject},{"_p_wxIcon", _p_wxIconTo_p_wxObject},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject},{"_p_wxEffects", _p_wxEffectsTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxObject},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject},{"_p_wxImageList", _p_wxImageListTo_p_wxObject},{"_p_wxCursor", _p_wxCursorTo_p_wxObject},{"_p_wxObject"},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject},{"_p_wxPyPen", _p_wxPyPenTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxBrush", _p_wxBrushTo_p_wxObject},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxColour", _p_wxColourTo_p_wxObject},{"_p_wxFontList", _p_wxFontListTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; static swig_type_info _swigt__p_wxRegionIterator[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0},{"_p_wxRegionIterator"},{0}}; static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}}; static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; diff --git a/wxPython/src/msw/grid.py b/wxPython/src/msw/grid.py index 0cc50a9b02..5874da0dbc 100644 --- a/wxPython/src/msw/grid.py +++ b/wxPython/src/msw/grid.py @@ -16,7 +16,6 @@ GRID_VALUE_LONG = _grid.GRID_VALUE_LONG GRID_VALUE_CHOICEINT = _grid.GRID_VALUE_CHOICEINT GRID_VALUE_DATETIME = _grid.GRID_VALUE_DATETIME class GridCellRenderer(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -37,8 +36,10 @@ class GridCellRenderer(object): return _grid.GridCellRenderer_DecRef(*args, **kwargs) def Draw(*args, **kwargs): - """Draw(Grid grid, GridCellAttr attr, wxDC dc, Rect rect, int row, - int col, bool isSelected)""" + """ + Draw(Grid grid, GridCellAttr attr, wxDC dc, Rect rect, int row, + int col, bool isSelected) + """ return _grid.GridCellRenderer_Draw(*args, **kwargs) def GetBestSize(*args, **kwargs): @@ -61,7 +62,6 @@ GridNoCellCoords = cvar.GridNoCellCoords GridNoCellRect = cvar.GridNoCellRect class PyGridCellRenderer(GridCellRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -89,7 +89,6 @@ class PyGridCellRendererPtr(PyGridCellRenderer): _grid.PyGridCellRenderer_swigregister(PyGridCellRendererPtr) class GridCellStringRenderer(GridCellRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -109,7 +108,6 @@ class GridCellStringRendererPtr(GridCellStringRenderer): _grid.GridCellStringRenderer_swigregister(GridCellStringRendererPtr) class GridCellNumberRenderer(GridCellStringRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellNumberRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -129,7 +127,6 @@ class GridCellNumberRendererPtr(GridCellNumberRenderer): _grid.GridCellNumberRenderer_swigregister(GridCellNumberRendererPtr) class GridCellFloatRenderer(GridCellStringRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellFloatRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -165,7 +162,6 @@ class GridCellFloatRendererPtr(GridCellFloatRenderer): _grid.GridCellFloatRenderer_swigregister(GridCellFloatRendererPtr) class GridCellBoolRenderer(GridCellRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellBoolRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -185,7 +181,6 @@ class GridCellBoolRendererPtr(GridCellBoolRenderer): _grid.GridCellBoolRenderer_swigregister(GridCellBoolRendererPtr) class GridCellDateTimeRenderer(GridCellStringRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellDateTimeRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -205,7 +200,6 @@ class GridCellDateTimeRendererPtr(GridCellDateTimeRenderer): _grid.GridCellDateTimeRenderer_swigregister(GridCellDateTimeRendererPtr) class GridCellEnumRenderer(GridCellStringRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellEnumRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -225,7 +219,6 @@ class GridCellEnumRendererPtr(GridCellEnumRenderer): _grid.GridCellEnumRenderer_swigregister(GridCellEnumRendererPtr) class GridCellAutoWrapStringRenderer(GridCellStringRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -245,7 +238,6 @@ class GridCellAutoWrapStringRendererPtr(GridCellAutoWrapStringRenderer): _grid.GridCellAutoWrapStringRenderer_swigregister(GridCellAutoWrapStringRendererPtr) class GridCellEditor(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -346,7 +338,6 @@ class GridCellEditorPtr(GridCellEditor): _grid.GridCellEditor_swigregister(GridCellEditorPtr) class PyGridCellEditor(GridCellEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -406,7 +397,6 @@ class PyGridCellEditorPtr(PyGridCellEditor): _grid.PyGridCellEditor_swigregister(PyGridCellEditorPtr) class GridCellTextEditor(GridCellEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellTextEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -430,7 +420,6 @@ class GridCellTextEditorPtr(GridCellTextEditor): _grid.GridCellTextEditor_swigregister(GridCellTextEditorPtr) class GridCellNumberEditor(GridCellTextEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellNumberEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -454,7 +443,6 @@ class GridCellNumberEditorPtr(GridCellNumberEditor): _grid.GridCellNumberEditor_swigregister(GridCellNumberEditorPtr) class GridCellFloatEditor(GridCellTextEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellFloatEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -478,7 +466,6 @@ class GridCellFloatEditorPtr(GridCellFloatEditor): _grid.GridCellFloatEditor_swigregister(GridCellFloatEditorPtr) class GridCellBoolEditor(GridCellEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellBoolEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -502,7 +489,6 @@ class GridCellBoolEditorPtr(GridCellBoolEditor): _grid.GridCellBoolEditor_swigregister(GridCellBoolEditorPtr) class GridCellChoiceEditor(GridCellEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellChoiceEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -526,7 +512,6 @@ class GridCellChoiceEditorPtr(GridCellChoiceEditor): _grid.GridCellChoiceEditor_swigregister(GridCellChoiceEditorPtr) class GridCellEnumEditor(GridCellChoiceEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellEnumEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -550,7 +535,6 @@ class GridCellEnumEditorPtr(GridCellEnumEditor): _grid.GridCellEnumEditor_swigregister(GridCellEnumEditorPtr) class GridCellAutoWrapStringEditor(GridCellTextEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -574,7 +558,6 @@ class GridCellAutoWrapStringEditorPtr(GridCellAutoWrapStringEditor): _grid.GridCellAutoWrapStringEditor_swigregister(GridCellAutoWrapStringEditorPtr) class GridCellAttr(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) Any = _grid.GridCellAttr_Any @@ -732,7 +715,6 @@ class GridCellAttrPtr(GridCellAttr): _grid.GridCellAttr_swigregister(GridCellAttrPtr) class GridCellAttrProvider(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -780,7 +762,6 @@ class GridCellAttrProviderPtr(GridCellAttrProvider): _grid.GridCellAttrProvider_swigregister(GridCellAttrProviderPtr) class PyGridCellAttrProvider(GridCellAttrProvider): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -820,7 +801,6 @@ class PyGridCellAttrProviderPtr(PyGridCellAttrProvider): _grid.PyGridCellAttrProvider_swigregister(PyGridCellAttrProviderPtr) class GridTableBase(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -973,7 +953,6 @@ class GridTableBasePtr(GridTableBase): _grid.GridTableBase_swigregister(GridTableBasePtr) class PyGridTableBase(GridTableBase): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -989,9 +968,11 @@ class PyGridTableBase(GridTableBase): return _grid.PyGridTableBase__setCallbackInfo(*args, **kwargs) def Destroy(*args, **kwargs): - """Destroy() + """ + Destroy() -Deletes the C++ object this Python object is a proxy for.""" + Deletes the C++ object this Python object is a proxy for. + """ return _grid.PyGridTableBase_Destroy(*args, **kwargs) def base_GetTypeName(*args, **kwargs): @@ -1079,7 +1060,6 @@ class PyGridTableBasePtr(PyGridTableBase): _grid.PyGridTableBase_swigregister(PyGridTableBasePtr) class GridStringTable(GridTableBase): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridStringTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1107,7 +1087,6 @@ GRIDTABLE_NOTIFY_COLS_INSERTED = _grid.GRIDTABLE_NOTIFY_COLS_INSERTED GRIDTABLE_NOTIFY_COLS_APPENDED = _grid.GRIDTABLE_NOTIFY_COLS_APPENDED GRIDTABLE_NOTIFY_COLS_DELETED = _grid.GRIDTABLE_NOTIFY_COLS_DELETED class GridTableMessage(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridTableMessage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1163,7 +1142,6 @@ class GridTableMessagePtr(GridTableMessage): _grid.GridTableMessage_swigregister(GridTableMessagePtr) class GridCellCoords(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellCoords instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1228,13 +1206,14 @@ class GridCellCoordsPtr(GridCellCoords): _grid.GridCellCoords_swigregister(GridCellCoordsPtr) class Grid(windows.ScrolledWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGrid 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=WANTS_CHARS, - wxString name=PanelNameStr) -> Grid""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=WANTS_CHARS, + wxString name=PanelNameStr) -> Grid + """ newobj = _grid.new_Grid(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1309,8 +1288,10 @@ class Grid(windows.ScrolledWindow): return _grid.Grid_DrawCellHighlight(*args, **kwargs) def DrawTextRectangle(*args, **kwargs): - """DrawTextRectangle(wxDC dc, wxString ??, Rect ??, int horizontalAlignment=LEFT, - int verticalAlignment=TOP, int textOrientation=HORIZONTAL)""" + """ + DrawTextRectangle(wxDC dc, wxString ??, Rect ??, int horizontalAlignment=LEFT, + int verticalAlignment=TOP, int textOrientation=HORIZONTAL) + """ return _grid.Grid_DrawTextRectangle(*args, **kwargs) def GetTextBoxSize(*args, **kwargs): @@ -1886,8 +1867,10 @@ class Grid(windows.ScrolledWindow): return _grid.Grid_SelectCol(*args, **kwargs) def SelectBlock(*args, **kwargs): - """SelectBlock(int topRow, int leftCol, int bottomRow, int rightCol, - bool addToSelected=False)""" + """ + SelectBlock(int topRow, int leftCol, int bottomRow, int rightCol, + bool addToSelected=False) + """ return _grid.Grid_SelectBlock(*args, **kwargs) def SelectAll(*args, **kwargs): @@ -2007,14 +1990,15 @@ class GridPtr(Grid): _grid.Grid_swigregister(GridPtr) class GridEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(int id, wxEventType type, Grid obj, int row=-1, int col=-1, - int x=-1, int y=-1, bool sel=True, bool control=False, - bool shift=False, bool alt=False, - bool meta=False) -> GridEvent""" + """ + __init__(int id, wxEventType type, Grid obj, int row=-1, int col=-1, + int x=-1, int y=-1, bool sel=True, bool control=False, + bool shift=False, bool alt=False, + bool meta=False) -> GridEvent + """ newobj = _grid.new_GridEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2060,13 +2044,14 @@ class GridEventPtr(GridEvent): _grid.GridEvent_swigregister(GridEventPtr) class GridSizeEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(int id, wxEventType type, Grid obj, int rowOrCol=-1, - int x=-1, int y=-1, bool control=False, bool shift=False, - bool alt=False, bool meta=False) -> GridSizeEvent""" + """ + __init__(int id, wxEventType type, Grid obj, int rowOrCol=-1, + int x=-1, int y=-1, bool control=False, bool shift=False, + bool alt=False, bool meta=False) -> GridSizeEvent + """ newobj = _grid.new_GridSizeEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2104,14 +2089,15 @@ class GridSizeEventPtr(GridSizeEvent): _grid.GridSizeEvent_swigregister(GridSizeEventPtr) class GridRangeSelectEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridRangeSelectEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(int id, wxEventType type, Grid obj, GridCellCoords topLeft, - GridCellCoords bottomRight, bool sel=True, - bool control=False, bool shift=False, - bool alt=False, bool meta=False) -> GridRangeSelectEvent""" + """ + __init__(int id, wxEventType type, Grid obj, GridCellCoords topLeft, + GridCellCoords bottomRight, bool sel=True, + bool control=False, bool shift=False, + bool alt=False, bool meta=False) -> GridRangeSelectEvent + """ newobj = _grid.new_GridRangeSelectEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2169,12 +2155,13 @@ class GridRangeSelectEventPtr(GridRangeSelectEvent): _grid.GridRangeSelectEvent_swigregister(GridRangeSelectEventPtr) class GridEditorCreatedEvent(core.CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridEditorCreatedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(int id, wxEventType type, Object obj, int row, int col, - Control ctrl) -> GridEditorCreatedEvent""" + """ + __init__(int id, wxEventType type, Object obj, int row, int col, + Control ctrl) -> GridEditorCreatedEvent + """ newobj = _grid.new_GridEditorCreatedEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 diff --git a/wxPython/src/msw/grid_wrap.cpp b/wxPython/src/msw/grid_wrap.cpp index 91918b230e..50d01b6ee5 100644 --- a/wxPython/src/msw/grid_wrap.cpp +++ b/wxPython/src/msw/grid_wrap.cpp @@ -14784,9 +14784,6 @@ static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { static void *_p_wxKeyEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); } -static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); -} static void *_p_wxWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); } @@ -14796,6 +14793,9 @@ static void *_p_wxMenuTo_p_wxObject(void *x) { static void *_p_wxMenuBarTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); } +static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); +} static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); } diff --git a/wxPython/src/msw/html.py b/wxPython/src/msw/html.py index 3f585bcc02..8bc9e84430 100644 --- a/wxPython/src/msw/html.py +++ b/wxPython/src/msw/html.py @@ -45,7 +45,6 @@ HTML_URL_PAGE = _html.HTML_URL_PAGE HTML_URL_IMAGE = _html.HTML_URL_IMAGE HTML_URL_OTHER = _html.HTML_URL_OTHER class HtmlLinkInfo(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -87,7 +86,6 @@ class HtmlLinkInfoPtr(HtmlLinkInfo): _html.HtmlLinkInfo_swigregister(HtmlLinkInfoPtr) class HtmlTag(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlTag instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -132,7 +130,6 @@ class HtmlTagPtr(HtmlTag): _html.HtmlTag_swigregister(HtmlTagPtr) class HtmlParser(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -189,7 +186,6 @@ class HtmlParserPtr(HtmlParser): _html.HtmlParser_swigregister(HtmlParserPtr) class HtmlWinParser(HtmlParser): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlWinParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -323,7 +319,6 @@ class HtmlWinParserPtr(HtmlWinParser): _html.HtmlWinParser_swigregister(HtmlWinParserPtr) class HtmlTagHandler(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyHtmlTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -359,7 +354,6 @@ class HtmlTagHandlerPtr(HtmlTagHandler): _html.HtmlTagHandler_swigregister(HtmlTagHandlerPtr) class HtmlWinTagHandler(HtmlTagHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyHtmlWinTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -401,7 +395,6 @@ def HtmlWinParser_AddTagHandler(*args, **kwargs): #--------------------------------------------------------------------------- class HtmlSelection(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlSelection instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -476,7 +469,6 @@ HTML_SEL_OUT = _html.HTML_SEL_OUT HTML_SEL_IN = _html.HTML_SEL_IN HTML_SEL_CHANGING = _html.HTML_SEL_CHANGING class HtmlRenderingState(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlRenderingState instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -524,7 +516,6 @@ class HtmlRenderingStatePtr(HtmlRenderingState): _html.HtmlRenderingState_swigregister(HtmlRenderingStatePtr) class HtmlRenderingStyle(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -545,7 +536,6 @@ class HtmlRenderingStylePtr(HtmlRenderingStyle): _html.HtmlRenderingStyle_swigregister(HtmlRenderingStylePtr) class DefaultHtmlRenderingStyle(HtmlRenderingStyle): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -566,7 +556,6 @@ class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle): _html.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStylePtr) class HtmlRenderingInfo(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -615,7 +604,6 @@ HTML_FIND_EXACT = _html.HTML_FIND_EXACT HTML_FIND_NEAREST_BEFORE = _html.HTML_FIND_NEAREST_BEFORE HTML_FIND_NEAREST_AFTER = _html.HTML_FIND_NEAREST_AFTER class HtmlCell(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -753,7 +741,6 @@ class HtmlCellPtr(HtmlCell): _html.HtmlCell_swigregister(HtmlCellPtr) class HtmlWordCell(HtmlCell): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -771,7 +758,6 @@ class HtmlWordCellPtr(HtmlWordCell): _html.HtmlWordCell_swigregister(HtmlWordCellPtr) class HtmlContainerCell(HtmlCell): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -853,7 +839,6 @@ class HtmlContainerCellPtr(HtmlContainerCell): _html.HtmlContainerCell_swigregister(HtmlContainerCellPtr) class HtmlColourCell(HtmlCell): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -871,7 +856,6 @@ class HtmlColourCellPtr(HtmlColourCell): _html.HtmlColourCell_swigregister(HtmlColourCellPtr) class HtmlFontCell(HtmlCell): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -889,7 +873,6 @@ class HtmlFontCellPtr(HtmlFontCell): _html.HtmlFontCell_swigregister(HtmlFontCellPtr) class HtmlWidgetCell(HtmlCell): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -909,7 +892,6 @@ _html.HtmlWidgetCell_swigregister(HtmlWidgetCellPtr) #--------------------------------------------------------------------------- class HtmlFilter(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -935,13 +917,14 @@ _html.HtmlFilter_swigregister(HtmlFilterPtr) #--------------------------------------------------------------------------- class HtmlWindow(windows.ScrolledWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyHtmlWindow 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, int style=HW_DEFAULT_STYLE, - wxString name=wxPyHtmlWindowNameStr) -> HtmlWindow""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, int style=HW_DEFAULT_STYLE, + wxString name=wxPyHtmlWindowNameStr) -> HtmlWindow + """ newobj = _html.new_HtmlWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -949,9 +932,11 @@ class HtmlWindow(windows.ScrolledWindow): self._setCallbackInfo(self, HtmlWindow); self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO, - wxString name=wxPyHtmlWindowNameStr) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO, + wxString name=wxPyHtmlWindowNameStr) -> bool + """ return _html.HtmlWindow_Create(*args, **kwargs) def _setCallbackInfo(*args, **kwargs): @@ -1096,7 +1081,6 @@ def HtmlWindow_AddFilter(*args, **kwargs): #--------------------------------------------------------------------------- class HtmlDCRenderer(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1128,8 +1112,10 @@ class HtmlDCRenderer(core.Object): return _html.HtmlDCRenderer_SetFonts(*args, **kwargs) def Render(*args, **kwargs): - """Render(int x, int y, int from=0, int dont_render=False, int to=INT_MAX, - int choices=None, int LCOUNT=0) -> int""" + """ + Render(int x, int y, int from=0, int dont_render=False, int to=INT_MAX, + int choices=None, int LCOUNT=0) -> int + """ return _html.HtmlDCRenderer_Render(*args, **kwargs) def GetTotalHeight(*args, **kwargs): @@ -1148,7 +1134,6 @@ PAGE_ODD = _html.PAGE_ODD PAGE_EVEN = _html.PAGE_EVEN PAGE_ALL = _html.PAGE_ALL class HtmlPrintout(windows.Printout): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1178,8 +1163,10 @@ class HtmlPrintout(windows.Printout): return _html.HtmlPrintout_SetFonts(*args, **kwargs) def SetMargins(*args, **kwargs): - """SetMargins(float top=25.2, float bottom=25.2, float left=25.2, - float right=25.2, float spaces=5)""" + """ + SetMargins(float top=25.2, float bottom=25.2, float left=25.2, + float right=25.2, float spaces=5) + """ return _html.HtmlPrintout_SetMargins(*args, **kwargs) def AddFilter(*args, **kwargs): @@ -1209,7 +1196,6 @@ def HtmlPrintout_CleanUpStatics(*args, **kwargs): return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs) class HtmlEasyPrinting(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1279,12 +1265,13 @@ _html.HtmlEasyPrinting_swigregister(HtmlEasyPrintingPtr) #--------------------------------------------------------------------------- class HtmlBookRecord(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString bookfile, wxString basepath, wxString title, - wxString start) -> HtmlBookRecord""" + """ + __init__(wxString bookfile, wxString basepath, wxString title, + wxString start) -> HtmlBookRecord + """ newobj = _html.new_HtmlBookRecord(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1342,7 +1329,6 @@ class HtmlBookRecordPtr(HtmlBookRecord): _html.HtmlBookRecord_swigregister(HtmlBookRecordPtr) class HtmlContentsItem(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlContentsItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1375,7 +1361,6 @@ class HtmlContentsItemPtr(HtmlContentsItem): _html.HtmlContentsItem_swigregister(HtmlContentsItemPtr) class HtmlSearchStatus(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlSearchStatus instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1412,7 +1397,6 @@ class HtmlSearchStatusPtr(HtmlSearchStatus): _html.HtmlSearchStatus_swigregister(HtmlSearchStatusPtr) class HtmlHelpData(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1472,12 +1456,13 @@ class HtmlHelpDataPtr(HtmlHelpData): _html.HtmlHelpData_swigregister(HtmlHelpDataPtr) class HtmlHelpFrame(windows.Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int ??, wxString title=wxPyEmptyString, - int style=HF_DEFAULTSTYLE, HtmlHelpData data=None) -> HtmlHelpFrame""" + """ + __init__(Window parent, int ??, wxString title=wxPyEmptyString, + int style=HF_DEFAULTSTYLE, HtmlHelpData data=None) -> HtmlHelpFrame + """ newobj = _html.new_HtmlHelpFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1542,7 +1527,6 @@ HF_OPENFILES = _html.HF_OPENFILES HF_PRINT = _html.HF_PRINT HF_DEFAULTSTYLE = _html.HF_DEFAULTSTYLE class HtmlHelpController(core.EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): diff --git a/wxPython/src/msw/html_wrap.cpp b/wxPython/src/msw/html_wrap.cpp index ad01de3dec..78f5953e24 100644 --- a/wxPython/src/msw/html_wrap.cpp +++ b/wxPython/src/msw/html_wrap.cpp @@ -10186,9 +10186,6 @@ static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { static void *_p_wxKeyEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); } -static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); -} static void *_p_wxWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); } @@ -10198,6 +10195,9 @@ static void *_p_wxMenuTo_p_wxObject(void *x) { static void *_p_wxMenuBarTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); } +static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); +} static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); } diff --git a/wxPython/src/msw/misc.py b/wxPython/src/msw/misc.py index 34e7e75e3c..e7ff7fcb6d 100644 --- a/wxPython/src/msw/misc.py +++ b/wxPython/src/msw/misc.py @@ -99,7 +99,6 @@ SYS_SCREEN_PDA = _misc.SYS_SCREEN_PDA SYS_SCREEN_SMALL = _misc.SYS_SCREEN_SMALL SYS_SCREEN_DESKTOP = _misc.SYS_SCREEN_DESKTOP class SystemSettings(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxSystemSettings instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -166,7 +165,6 @@ def SystemSettings_SetScreenType(*args, **kwargs): return _misc.SystemSettings_SetScreenType(*args, **kwargs) class SystemOptions(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSystemOptions instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -346,65 +344,85 @@ def Trap(*args, **kwargs): return _misc.Trap(*args, **kwargs) def FileSelector(*args, **kwargs): - """FileSelector(wxString message=wxPyFileSelectorPromptStr, wxString default_path=wxPyEmptyString, - wxString default_filename=wxPyEmptyString, - wxString default_extension=wxPyEmptyString, - wxString wildcard=wxPyFileSelectorDefaultWildcardStr, - int flags=0, - Window parent=None, int x=-1, int y=-1) -> wxString""" + """ + FileSelector(wxString message=wxPyFileSelectorPromptStr, wxString default_path=wxPyEmptyString, + wxString default_filename=wxPyEmptyString, + wxString default_extension=wxPyEmptyString, + wxString wildcard=wxPyFileSelectorDefaultWildcardStr, + int flags=0, + Window parent=None, int x=-1, int y=-1) -> wxString + """ return _misc.FileSelector(*args, **kwargs) def LoadFileSelector(*args, **kwargs): - """LoadFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString, - Window parent=None) -> wxString""" + """ + LoadFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString, + Window parent=None) -> wxString + """ return _misc.LoadFileSelector(*args, **kwargs) def SaveFileSelector(*args, **kwargs): - """SaveFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString, - Window parent=None) -> wxString""" + """ + SaveFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString, + Window parent=None) -> wxString + """ return _misc.SaveFileSelector(*args, **kwargs) def DirSelector(*args, **kwargs): - """DirSelector(wxString message=wxPyDirSelectorPromptStr, wxString defaultPath=wxPyEmptyString, - long style=DD_DEFAULT_STYLE, - Point pos=DefaultPosition, Window parent=None) -> wxString""" + """ + DirSelector(wxString message=wxPyDirSelectorPromptStr, wxString defaultPath=wxPyEmptyString, + long style=DD_DEFAULT_STYLE, + Point pos=DefaultPosition, Window parent=None) -> wxString + """ return _misc.DirSelector(*args, **kwargs) def GetTextFromUser(*args, **kwargs): - """GetTextFromUser(wxString message, wxString caption=wxPyEmptyString, - wxString default_value=wxPyEmptyString, Window parent=None, - int x=-1, int y=-1, bool centre=True) -> wxString""" + """ + GetTextFromUser(wxString message, wxString caption=wxPyEmptyString, + wxString default_value=wxPyEmptyString, Window parent=None, + int x=-1, int y=-1, bool centre=True) -> wxString + """ return _misc.GetTextFromUser(*args, **kwargs) def GetPasswordFromUser(*args, **kwargs): - """GetPasswordFromUser(wxString message, wxString caption=wxPyEmptyString, - wxString default_value=wxPyEmptyString, Window parent=None) -> wxString""" + """ + GetPasswordFromUser(wxString message, wxString caption=wxPyEmptyString, + wxString default_value=wxPyEmptyString, Window parent=None) -> wxString + """ return _misc.GetPasswordFromUser(*args, **kwargs) def GetSingleChoice(*args, **kwargs): - """GetSingleChoice(wxString message, wxString caption, int choices, wxString choices_array, - Window parent=None, int x=-1, - int y=-1, bool centre=True, int width=150, - int height=200) -> wxString""" + """ + GetSingleChoice(wxString message, wxString caption, int choices, wxString choices_array, + Window parent=None, int x=-1, + int y=-1, bool centre=True, int width=150, + int height=200) -> wxString + """ return _misc.GetSingleChoice(*args, **kwargs) def GetSingleChoiceIndex(*args, **kwargs): - """GetSingleChoiceIndex(wxString message, wxString caption, int choices, wxString choices_array, - Window parent=None, int x=-1, - int y=-1, bool centre=True, int width=150, - int height=200) -> int""" + """ + GetSingleChoiceIndex(wxString message, wxString caption, int choices, wxString choices_array, + Window parent=None, int x=-1, + int y=-1, bool centre=True, int width=150, + int height=200) -> int + """ return _misc.GetSingleChoiceIndex(*args, **kwargs) def MessageBox(*args, **kwargs): - """MessageBox(wxString message, wxString caption=wxPyEmptyString, - int style=wxOK|wxCENTRE, Window parent=None, - int x=-1, int y=-1) -> int""" + """ + MessageBox(wxString message, wxString caption=wxPyEmptyString, + int style=wxOK|wxCENTRE, Window parent=None, + int x=-1, int y=-1) -> int + """ return _misc.MessageBox(*args, **kwargs) def GetNumberFromUser(*args, **kwargs): - """GetNumberFromUser(wxString message, wxString prompt, wxString caption, - long value, long min=0, long max=100, Window parent=None, - Point pos=DefaultPosition) -> long""" + """ + GetNumberFromUser(wxString message, wxString prompt, wxString caption, + long value, long min=0, long max=100, Window parent=None, + Point pos=DefaultPosition) -> long + """ return _misc.GetNumberFromUser(*args, **kwargs) def ColourDisplay(*args, **kwargs): @@ -479,7 +497,6 @@ def MutexGuiLeave(*args, **kwargs): """MutexGuiLeave()""" return _misc.MutexGuiLeave(*args, **kwargs) class MutexGuiLocker(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMutexGuiLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -509,7 +526,6 @@ def Thread_IsMain(*args, **kwargs): #--------------------------------------------------------------------------- class ToolTip(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxToolTip instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -557,7 +573,6 @@ def ToolTip_SetDelay(*args, **kwargs): return _misc.ToolTip_SetDelay(*args, **kwargs) class Caret(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCaret instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -642,7 +657,6 @@ def Caret_SetBlinkTime(*args, **kwargs): """Caret_SetBlinkTime(int milliseconds)""" return _misc.Caret_SetBlinkTime(*args, **kwargs) class BusyCursor(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBusyCursor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -666,7 +680,6 @@ class BusyCursorPtr(BusyCursor): _misc.BusyCursor_swigregister(BusyCursorPtr) class WindowDisabler(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWindowDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -690,7 +703,6 @@ class WindowDisablerPtr(WindowDisabler): _misc.WindowDisabler_swigregister(WindowDisablerPtr) class BusyInfo(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBusyInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -714,7 +726,6 @@ class BusyInfoPtr(BusyInfo): _misc.BusyInfo_swigregister(BusyInfoPtr) class StopWatch(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStopWatch instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -748,7 +759,6 @@ class StopWatchPtr(StopWatch): _misc.StopWatch_swigregister(StopWatchPtr) class FileHistory(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileHistory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -816,7 +826,6 @@ class FileHistoryPtr(FileHistory): _misc.FileHistory_swigregister(FileHistoryPtr) class SingleInstanceChecker(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSingleInstanceChecker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -860,7 +869,6 @@ def DrawWindowOnDC(*args, **kwargs): #--------------------------------------------------------------------------- class TipProvider(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -891,7 +899,6 @@ class TipProviderPtr(TipProvider): _misc.TipProvider_swigregister(TipProviderPtr) class PyTipProvider(TipProvider): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -926,7 +933,6 @@ TIMER_CONTINUOUS = _misc.TIMER_CONTINUOUS TIMER_ONE_SHOT = _misc.TIMER_ONE_SHOT wxEVT_TIMER = _misc.wxEVT_TIMER class Timer(core.EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTimer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -994,7 +1000,6 @@ EVT_TIMER = wx.PyEventBinder( wxEVT_TIMER, 1 ) class TimerEvent(core.Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTimerEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1016,12 +1021,13 @@ class TimerEventPtr(TimerEvent): _misc.TimerEvent_swigregister(TimerEventPtr) class TimerRunner(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTimerRunner instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args): - """__init__(wxTimer timer) -> TimerRunner -__init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner""" + """ + __init__(wxTimer timer) -> TimerRunner + __init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner + """ newobj = _misc.new_TimerRunner(*args) self.this = newobj.this self.thisown = 1 @@ -1068,7 +1074,6 @@ TraceResAlloc = _misc.TraceResAlloc TraceRefCount = _misc.TraceRefCount TraceOleCalls = _misc.TraceOleCalls class Log(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1301,7 +1306,6 @@ def Log_TimeStamp(*args, **kwargs): return _misc.Log_TimeStamp(*args, **kwargs) class LogStderr(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogStderr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1319,7 +1323,6 @@ class LogStderrPtr(LogStderr): _misc.LogStderr_swigregister(LogStderrPtr) class LogTextCtrl(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1337,7 +1340,6 @@ class LogTextCtrlPtr(LogTextCtrl): _misc.LogTextCtrl_swigregister(LogTextCtrlPtr) class LogGui(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogGui instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1355,12 +1357,13 @@ class LogGuiPtr(LogGui): _misc.LogGui_swigregister(LogGuiPtr) class LogWindow(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxFrame pParent, wxString szTitle, bool bShow=True, - bool bPassToOld=True) -> LogWindow""" + """ + __init__(wxFrame pParent, wxString szTitle, bool bShow=True, + bool bPassToOld=True) -> LogWindow + """ newobj = _misc.new_LogWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1394,7 +1397,6 @@ class LogWindowPtr(LogWindow): _misc.LogWindow_swigregister(LogWindowPtr) class LogChain(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogChain instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1492,7 +1494,6 @@ def SafeShowMessage(*args, **kwargs): """SafeShowMessage(wxString title, wxString text)""" return _misc.SafeShowMessage(*args, **kwargs) class LogNull(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogNull instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1516,7 +1517,6 @@ class LogNullPtr(LogNull): _misc.LogNull_swigregister(LogNullPtr) class PyLog(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1566,7 +1566,6 @@ SIGPIPE = _misc.SIGPIPE SIGALRM = _misc.SIGALRM SIGTERM = _misc.SIGTERM class Process(core.EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyProcess instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def Kill(*args, **kwargs): @@ -1661,7 +1660,6 @@ def Process_Open(*args, **kwargs): return _misc.Process_Open(*args, **kwargs) class ProcessEvent(core.Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxProcessEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1709,7 +1707,6 @@ JOY_BUTTON2 = _misc.JOY_BUTTON2 JOY_BUTTON3 = _misc.JOY_BUTTON3 JOY_BUTTON4 = _misc.JOY_BUTTON4 class Joystick(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxJoystick instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1906,7 +1903,6 @@ wxEVT_JOY_BUTTON_UP = _misc.wxEVT_JOY_BUTTON_UP wxEVT_JOY_MOVE = _misc.wxEVT_JOY_MOVE wxEVT_JOY_ZMOVE = _misc.wxEVT_JOY_ZMOVE class JoystickEvent(core.Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxJoystickEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) m_pos = property(_misc.JoystickEvent_m_pos_get, _misc.JoystickEvent_m_pos_set) @@ -1915,8 +1911,10 @@ class JoystickEvent(core.Event): m_buttonState = property(_misc.JoystickEvent_m_buttonState_get, _misc.JoystickEvent_m_buttonState_set) m_joyStick = property(_misc.JoystickEvent_m_joyStick_get, _misc.JoystickEvent_m_joyStick_set) def __init__(self, *args, **kwargs): - """__init__(wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1, - int change=0) -> JoystickEvent""" + """ + __init__(wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1, + int change=0) -> JoystickEvent + """ newobj = _misc.new_JoystickEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2008,7 +2006,6 @@ EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN, #--------------------------------------------------------------------------- class Wave(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWave instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2054,12 +2051,13 @@ MAILCAP_KDE = _misc.MAILCAP_KDE MAILCAP_GNOME = _misc.MAILCAP_GNOME MAILCAP_ALL = _misc.MAILCAP_ALL class FileTypeInfo(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileTypeInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString mimeType, wxString openCmd, wxString printCmd, - wxString desc) -> FileTypeInfo""" + """ + __init__(wxString mimeType, wxString openCmd, wxString printCmd, + wxString desc) -> FileTypeInfo + """ newobj = _misc.new_FileTypeInfo(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2133,7 +2131,6 @@ def NullFileTypeInfo(*args, **kwargs): return val class FileType(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileType instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2214,7 +2211,6 @@ def FileType_ExpandCommand(*args, **kwargs): return _misc.FileType_ExpandCommand(*args, **kwargs) class MimeTypesManager(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMimeTypesManager instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def IsOfType(*args, **kwargs): @@ -2291,7 +2287,6 @@ def MimeTypesManager_IsOfType(*args, **kwargs): #--------------------------------------------------------------------------- class ArtProvider(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyArtProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2307,30 +2302,57 @@ class ArtProvider(object): return _misc.ArtProvider__setCallbackInfo(*args, **kwargs) def PushProvider(*args, **kwargs): - """ArtProvider.PushProvider(ArtProvider provider)""" + """ + ArtProvider.PushProvider(ArtProvider provider) + + Add new provider to the top of providers stack. + """ return _misc.ArtProvider_PushProvider(*args, **kwargs) PushProvider = staticmethod(PushProvider) def PopProvider(*args, **kwargs): - """ArtProvider.PopProvider() -> bool""" + """ + ArtProvider.PopProvider() -> bool + + Remove latest added provider and delete it. + """ return _misc.ArtProvider_PopProvider(*args, **kwargs) PopProvider = staticmethod(PopProvider) def RemoveProvider(*args, **kwargs): - """ArtProvider.RemoveProvider(ArtProvider provider) -> bool""" + """ + ArtProvider.RemoveProvider(ArtProvider provider) -> bool + + Remove provider. The provider must have been added previously! + The provider is _not_ deleted. + """ return _misc.ArtProvider_RemoveProvider(*args, **kwargs) RemoveProvider = staticmethod(RemoveProvider) def GetBitmap(*args, **kwargs): - """ArtProvider.GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap""" + """ + ArtProvider.GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap + + Query the providers for bitmap with given ID and return it. Return + wx.NullBitmap if no provider provides it. + """ return _misc.ArtProvider_GetBitmap(*args, **kwargs) GetBitmap = staticmethod(GetBitmap) def GetIcon(*args, **kwargs): - """ArtProvider.GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon""" + """ + ArtProvider.GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon + + Query the providers for icon with given ID and return it. Return + wx.NullIcon if no provider provides it. + """ return _misc.ArtProvider_GetIcon(*args, **kwargs) GetIcon = staticmethod(GetIcon) + def Destroy(*args, **kwargs): + """Destroy()""" + return _misc.ArtProvider_Destroy(*args, **kwargs) + class ArtProviderPtr(ArtProvider): def __init__(self, this): @@ -2378,23 +2400,46 @@ ART_INFORMATION = cvar.ART_INFORMATION ART_MISSING_IMAGE = cvar.ART_MISSING_IMAGE def ArtProvider_PushProvider(*args, **kwargs): - """ArtProvider_PushProvider(ArtProvider provider)""" + """ + ArtProvider_PushProvider(ArtProvider provider) + + Add new provider to the top of providers stack. + """ return _misc.ArtProvider_PushProvider(*args, **kwargs) def ArtProvider_PopProvider(*args, **kwargs): - """ArtProvider_PopProvider() -> bool""" + """ + ArtProvider_PopProvider() -> bool + + Remove latest added provider and delete it. + """ return _misc.ArtProvider_PopProvider(*args, **kwargs) def ArtProvider_RemoveProvider(*args, **kwargs): - """ArtProvider_RemoveProvider(ArtProvider provider) -> bool""" + """ + ArtProvider_RemoveProvider(ArtProvider provider) -> bool + + Remove provider. The provider must have been added previously! + The provider is _not_ deleted. + """ return _misc.ArtProvider_RemoveProvider(*args, **kwargs) def ArtProvider_GetBitmap(*args, **kwargs): - """ArtProvider_GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap""" + """ + ArtProvider_GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap + + Query the providers for bitmap with given ID and return it. Return + wx.NullBitmap if no provider provides it. + """ return _misc.ArtProvider_GetBitmap(*args, **kwargs) def ArtProvider_GetIcon(*args, **kwargs): - """ArtProvider_GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon""" + """ + ArtProvider_GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon + + Query the providers for icon with given ID and return it. Return + wx.NullIcon if no provider provides it. + """ return _misc.ArtProvider_GetIcon(*args, **kwargs) #--------------------------------------------------------------------------- @@ -2404,7 +2449,6 @@ CONFIG_USE_GLOBAL_FILE = _misc.CONFIG_USE_GLOBAL_FILE CONFIG_USE_RELATIVE_PATH = _misc.CONFIG_USE_RELATIVE_PATH CONFIG_USE_NO_ESCAPE_CHARACTERS = _misc.CONFIG_USE_NO_ESCAPE_CHARACTERS class ConfigBase(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxConfigBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -2612,7 +2656,6 @@ def ConfigBase_DontCreateOnDemand(*args, **kwargs): return _misc.ConfigBase_DontCreateOnDemand(*args, **kwargs) class ConfigPathChanger(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxConfigPathChanger instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2640,14 +2683,15 @@ class ConfigPathChangerPtr(ConfigPathChanger): _misc.ConfigPathChanger_swigregister(ConfigPathChangerPtr) class Config(ConfigBase): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString, - wxString localFilename=wxPyEmptyString, - wxString globalFilename=wxPyEmptyString, - long style=0) -> Config""" + """ + __init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString, + wxString localFilename=wxPyEmptyString, + wxString globalFilename=wxPyEmptyString, + long style=0) -> Config + """ newobj = _misc.new_Config(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2667,14 +2711,15 @@ class ConfigPtr(Config): _misc.Config_swigregister(ConfigPtr) class FileConfig(ConfigBase): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString, - wxString localFilename=wxPyEmptyString, - wxString globalFilename=wxPyEmptyString, - long style=0) -> FileConfig""" + """ + __init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString, + wxString localFilename=wxPyEmptyString, + wxString globalFilename=wxPyEmptyString, + long style=0) -> FileConfig + """ newobj = _misc.new_FileConfig(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2700,7 +2745,6 @@ def ExpandEnvVars(*args, **kwargs): #--------------------------------------------------------------------------- class DateTime(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDateTime instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) Local = _misc.DateTime_Local @@ -2919,9 +2963,11 @@ class DateTime(object): GetWeekDayName = staticmethod(GetWeekDayName) def GetAmPmStrings(*args, **kwargs): - """GetAmPmStrings() -> (am, pm) + """ + GetAmPmStrings() -> (am, pm) -Get the AM and PM strings in the current locale (may be empty)""" + Get the AM and PM strings in the current locale (may be empty) + """ return _misc.DateTime_GetAmPmStrings(*args, **kwargs) GetAmPmStrings = staticmethod(GetAmPmStrings) @@ -2984,9 +3030,11 @@ Get the AM and PM strings in the current locale (may be empty)""" return _misc.DateTime_SetHMS(*args, **kwargs) def Set(*args, **kwargs): - """Set(int day, wxDateTime::Month month=Inv_Month, int year=Inv_Year, - int hour=0, int minute=0, int second=0, - int millisec=0) -> DateTime""" + """ + Set(int day, wxDateTime::Month month=Inv_Month, int year=Inv_Year, + int hour=0, int minute=0, int second=0, + int millisec=0) -> DateTime + """ return _misc.DateTime_Set(*args, **kwargs) def ResetTime(*args, **kwargs): @@ -3046,18 +3094,24 @@ Get the AM and PM strings in the current locale (may be empty)""" return _misc.DateTime_GetPrevWeekDay(*args, **kwargs) def SetToWeekDay(*args, **kwargs): - """SetToWeekDay(wxDateTime::WeekDay weekday, int n=1, wxDateTime::Month month=Inv_Month, - int year=Inv_Year) -> bool""" + """ + SetToWeekDay(wxDateTime::WeekDay weekday, int n=1, wxDateTime::Month month=Inv_Month, + int year=Inv_Year) -> bool + """ return _misc.DateTime_SetToWeekDay(*args, **kwargs) def SetToLastWeekDay(*args, **kwargs): - """SetToLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month, - int year=Inv_Year) -> bool""" + """ + SetToLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month, + int year=Inv_Year) -> bool + """ return _misc.DateTime_SetToLastWeekDay(*args, **kwargs) def GetLastWeekDay(*args, **kwargs): - """GetLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month, - int year=Inv_Year) -> DateTime""" + """ + GetLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month, + int year=Inv_Year) -> DateTime + """ return _misc.DateTime_GetLastWeekDay(*args, **kwargs) def SetToTheWeek(*args, **kwargs): @@ -3233,24 +3287,32 @@ Get the AM and PM strings in the current locale (may be empty)""" return _misc.DateTime_Subtract(*args, **kwargs) def __iadd__(*args): - """__iadd__(TimeSpan diff) -> DateTime -__iadd__(DateSpan diff) -> DateTime""" + """ + __iadd__(TimeSpan diff) -> DateTime + __iadd__(DateSpan diff) -> DateTime + """ return _misc.DateTime___iadd__(*args) def __isub__(*args): - """__isub__(TimeSpan diff) -> DateTime -__isub__(DateSpan diff) -> DateTime""" + """ + __isub__(TimeSpan diff) -> DateTime + __isub__(DateSpan diff) -> DateTime + """ return _misc.DateTime___isub__(*args) def __add__(*args): - """__add__(TimeSpan other) -> DateTime -__add__(DateSpan other) -> DateTime""" + """ + __add__(TimeSpan other) -> DateTime + __add__(DateSpan other) -> DateTime + """ return _misc.DateTime___add__(*args) def __sub__(*args): - """__sub__(DateTime other) -> TimeSpan -__sub__(TimeSpan other) -> DateTime -__sub__(DateSpan other) -> DateTime""" + """ + __sub__(DateTime other) -> TimeSpan + __sub__(TimeSpan other) -> DateTime + __sub__(DateSpan other) -> DateTime + """ return _misc.DateTime___sub__(*args) def __lt__(*args): @@ -3379,9 +3441,11 @@ def DateTime_GetWeekDayName(*args, **kwargs): return _misc.DateTime_GetWeekDayName(*args, **kwargs) def DateTime_GetAmPmStrings(*args, **kwargs): - """GetAmPmStrings() -> (am, pm) + """ + GetAmPmStrings() -> (am, pm) -Get the AM and PM strings in the current locale (may be empty)""" + Get the AM and PM strings in the current locale (may be empty) + """ return _misc.DateTime_GetAmPmStrings(*args, **kwargs) def DateTime_IsDSTApplicable(*args, **kwargs): @@ -3427,15 +3491,16 @@ def DateTimeFromHMS(*args, **kwargs): return val def DateTimeFromDMY(*args, **kwargs): - """DateTimeFromDMY(int day, wxDateTime::Month month=Inv_Month, int year=Inv_Year, - int hour=0, int minute=0, int second=0, - int millisec=0) -> DateTime""" + """ + DateTimeFromDMY(int day, wxDateTime::Month month=Inv_Month, int year=Inv_Year, + int hour=0, int minute=0, int second=0, + int millisec=0) -> DateTime + """ val = _misc.new_DateTimeFromDMY(*args, **kwargs) val.thisown = 1 return val class TimeSpan(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTimeSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def Seconds(*args, **kwargs): @@ -3682,7 +3747,6 @@ def TimeSpan_Week(*args, **kwargs): return _misc.TimeSpan_Week(*args, **kwargs) class DateSpan(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDateSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3908,7 +3972,6 @@ DF_PRIVATE = _misc.DF_PRIVATE DF_HTML = _misc.DF_HTML DF_MAX = _misc.DF_MAX class DataFormat(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDataFormat instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3924,13 +3987,17 @@ class DataFormat(object): except: pass def __eq__(*args): - """__eq__(wxDataFormatId format) -> bool -__eq__(DataFormat format) -> bool""" + """ + __eq__(wxDataFormatId format) -> bool + __eq__(DataFormat format) -> bool + """ return _misc.DataFormat___eq__(*args) def __ne__(*args): - """__ne__(wxDataFormatId format) -> bool -__ne__(DataFormat format) -> bool""" + """ + __ne__(wxDataFormatId format) -> bool + __ne__(DataFormat format) -> bool + """ return _misc.DataFormat___ne__(*args) def SetType(*args, **kwargs): @@ -3964,7 +4031,6 @@ def CustomDataFormat(*args, **kwargs): return val class DataObject(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -4015,7 +4081,6 @@ _misc.DataObject_swigregister(DataObjectPtr) FormatInvalid = cvar.FormatInvalid class DataObjectSimple(DataObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4041,7 +4106,6 @@ class DataObjectSimplePtr(DataObjectSimple): _misc.DataObjectSimple_swigregister(DataObjectSimplePtr) class PyDataObjectSimple(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4065,7 +4129,6 @@ class PyDataObjectSimplePtr(PyDataObjectSimple): _misc.PyDataObjectSimple_swigregister(PyDataObjectSimplePtr) class DataObjectComposite(DataObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDataObjectComposite instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4089,7 +4152,6 @@ class DataObjectCompositePtr(DataObjectComposite): _misc.DataObjectComposite_swigregister(DataObjectCompositePtr) class TextDataObject(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4119,7 +4181,6 @@ class TextDataObjectPtr(TextDataObject): _misc.TextDataObject_swigregister(TextDataObjectPtr) class PyTextDataObject(TextDataObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4143,7 +4204,6 @@ class PyTextDataObjectPtr(PyTextDataObject): _misc.PyTextDataObject_swigregister(PyTextDataObjectPtr) class BitmapDataObject(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4169,7 +4229,6 @@ class BitmapDataObjectPtr(BitmapDataObject): _misc.BitmapDataObject_swigregister(BitmapDataObjectPtr) class PyBitmapDataObject(BitmapDataObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4193,7 +4252,6 @@ class PyBitmapDataObjectPtr(PyBitmapDataObject): _misc.PyBitmapDataObject_swigregister(PyBitmapDataObjectPtr) class FileDataObject(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4219,7 +4277,6 @@ class FileDataObjectPtr(FileDataObject): _misc.FileDataObject_swigregister(FileDataObjectPtr) class CustomDataObject(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCustomDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4253,7 +4310,6 @@ class CustomDataObjectPtr(CustomDataObject): _misc.CustomDataObject_swigregister(CustomDataObjectPtr) class URLDataObject(DataObjectComposite): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxURLDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4279,7 +4335,6 @@ class URLDataObjectPtr(URLDataObject): _misc.URLDataObject_swigregister(URLDataObjectPtr) class MetafileDataObject(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMetafileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4320,12 +4375,13 @@ def IsDragResultOk(*args, **kwargs): """IsDragResultOk(wxDragResult res) -> bool""" return _misc.IsDragResultOk(*args, **kwargs) class DropSource(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyDropSource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window win=None, wxCursor copy=wxNullCursor, wxCursor move=wxNullCursor, - wxCursor none=wxNullCursor) -> DropSource""" + """ + __init__(Window win=None, wxCursor copy=wxNullCursor, wxCursor move=wxNullCursor, + wxCursor none=wxNullCursor) -> DropSource + """ newobj = _misc.new_DropSource(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -4369,7 +4425,6 @@ class DropSourcePtr(DropSource): _misc.DropSource_swigregister(DropSourcePtr) class DropTarget(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4431,7 +4486,6 @@ _misc.DropTarget_swigregister(DropTargetPtr) PyDropTarget = DropTarget class TextDropTarget(DropTarget): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTextDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4475,7 +4529,6 @@ class TextDropTargetPtr(TextDropTarget): _misc.TextDropTarget_swigregister(TextDropTargetPtr) class FileDropTarget(DropTarget): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyFileDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4521,7 +4574,6 @@ _misc.FileDropTarget_swigregister(FileDropTargetPtr) #--------------------------------------------------------------------------- class Clipboard(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxClipboard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4585,7 +4637,6 @@ class ClipboardPtr(Clipboard): _misc.Clipboard_swigregister(ClipboardPtr) class ClipboardLocker(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxClipboardLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): diff --git a/wxPython/src/msw/misc_wrap.cpp b/wxPython/src/msw/misc_wrap.cpp index 325288c3d3..e9bc68c456 100644 --- a/wxPython/src/msw/misc_wrap.cpp +++ b/wxPython/src/msw/misc_wrap.cpp @@ -783,6 +783,7 @@ public: PYPRIVATE; }; +void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; } @@ -13073,6 +13074,30 @@ static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObj } +static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj; + wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + wxPyArtProvider_Destroy(arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; @@ -24760,6 +24785,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS }, { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS }, { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS }, + { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS }, { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS }, { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS }, { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS }, @@ -25509,6 +25535,9 @@ static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxEvtHandler *) x)); } +static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxAcceleratorTable *) x)); +} static void *_p_wxImageTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxImage *) x)); } @@ -25691,7 +25720,7 @@ static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, " static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}}; static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}}; static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}}; static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}}; static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}}; static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}}; diff --git a/wxPython/src/msw/windows.py b/wxPython/src/msw/windows.py index c1c0e81168..5d252e41ef 100644 --- a/wxPython/src/msw/windows.py +++ b/wxPython/src/msw/windows.py @@ -8,13 +8,14 @@ wx = core #--------------------------------------------------------------------------- class Panel(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPanel 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=wxTAB_TRAVERSAL|wxNO_BORDER, - wxString name=PanelNameStr) -> Panel""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, + wxString name=PanelNameStr) -> Panel + """ newobj = _windows.new_Panel(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -22,9 +23,11 @@ class Panel(core.Window): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=wxTAB_TRAVERSAL|wxNO_BORDER, - wxString name=PanelNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxTAB_TRAVERSAL|wxNO_BORDER, + wxString name=PanelNameStr) -> bool + """ return _windows.Panel_Create(*args, **kwargs) def InitDialog(*args, **kwargs): @@ -48,13 +51,14 @@ def PrePanel(*args, **kwargs): #--------------------------------------------------------------------------- class ScrolledWindow(Panel): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxScrolledWindow 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=wxHSCROLL|wxVSCROLL, - wxString name=PanelNameStr) -> ScrolledWindow""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, + wxString name=PanelNameStr) -> ScrolledWindow + """ newobj = _windows.new_ScrolledWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -62,14 +66,18 @@ class ScrolledWindow(Panel): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, - wxString name=PanelNameStr) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, + wxString name=PanelNameStr) -> bool + """ return _windows.ScrolledWindow_Create(*args, **kwargs) def SetScrollbars(*args, **kwargs): - """SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX, - int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)""" + """ + SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX, + int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False) + """ return _windows.ScrolledWindow_SetScrollbars(*args, **kwargs) def Scroll(*args, **kwargs): @@ -89,9 +97,11 @@ class ScrolledWindow(Panel): return _windows.ScrolledWindow_SetScrollRate(*args, **kwargs) def GetScrollPixelsPerUnit(*args, **kwargs): - """GetScrollPixelsPerUnit() -> (xUnit, yUnit) + """ + GetScrollPixelsPerUnit() -> (xUnit, yUnit) -Get the size of one logical unit in physical units.""" + Get the size of one logical unit in physical units. + """ return _windows.ScrolledWindow_GetScrollPixelsPerUnit(*args, **kwargs) def EnableScrolling(*args, **kwargs): @@ -99,9 +109,11 @@ Get the size of one logical unit in physical units.""" return _windows.ScrolledWindow_EnableScrolling(*args, **kwargs) def GetViewStart(*args, **kwargs): - """GetViewStart() -> (x,y) + """ + GetViewStart() -> (x,y) -Get the view start""" + Get the view start + """ return _windows.ScrolledWindow_GetViewStart(*args, **kwargs) def SetScale(*args, **kwargs): @@ -117,17 +129,21 @@ Get the view start""" return _windows.ScrolledWindow_GetScaleY(*args, **kwargs) def CalcScrolledPosition(*args): - """CalcScrolledPosition(Point pt) -> Point -CalcScrolledPosition(int x, int y) -> (sx, sy) + """ + CalcScrolledPosition(Point pt) -> Point + CalcScrolledPosition(int x, int y) -> (sx, sy) -Translate between scrolled and unscrolled coordinates.""" + Translate between scrolled and unscrolled coordinates. + """ return _windows.ScrolledWindow_CalcScrolledPosition(*args) def CalcUnscrolledPosition(*args): - """CalcUnscrolledPosition(Point pt) -> Point -CalcUnscrolledPosition(int x, int y) -> (ux, uy) + """ + CalcUnscrolledPosition(Point pt) -> Point + CalcUnscrolledPosition(int x, int y) -> (ux, uy) -Translate between scrolled and unscrolled coordinates.""" + Translate between scrolled and unscrolled coordinates. + """ return _windows.ScrolledWindow_CalcUnscrolledPosition(*args) def AdjustScrollbars(*args, **kwargs): @@ -170,88 +186,6 @@ def PreScrolledWindow(*args, **kwargs): #--------------------------------------------------------------------------- -class AcceleratorEntry(object): - """""" - def __repr__(self): - return "<%s.%s; proxy of C++ wxAcceleratorEntry instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) - def __init__(self, *args, **kwargs): - """__init__(int flags=0, int keyCode=0, int cmd=0, MenuItem item=None) -> AcceleratorEntry""" - newobj = _windows.new_AcceleratorEntry(*args, **kwargs) - self.this = newobj.this - self.thisown = 1 - del newobj.thisown - def __del__(self, destroy=_windows.delete_AcceleratorEntry): - """__del__()""" - try: - if self.thisown: destroy(self) - except: pass - - def Set(*args, **kwargs): - """Set(int flags, int keyCode, int cmd, MenuItem item=None)""" - return _windows.AcceleratorEntry_Set(*args, **kwargs) - - def SetMenuItem(*args, **kwargs): - """SetMenuItem(MenuItem item)""" - return _windows.AcceleratorEntry_SetMenuItem(*args, **kwargs) - - def GetMenuItem(*args, **kwargs): - """GetMenuItem() -> MenuItem""" - return _windows.AcceleratorEntry_GetMenuItem(*args, **kwargs) - - def GetFlags(*args, **kwargs): - """GetFlags() -> int""" - return _windows.AcceleratorEntry_GetFlags(*args, **kwargs) - - def GetKeyCode(*args, **kwargs): - """GetKeyCode() -> int""" - return _windows.AcceleratorEntry_GetKeyCode(*args, **kwargs) - - def GetCommand(*args, **kwargs): - """GetCommand() -> int""" - return _windows.AcceleratorEntry_GetCommand(*args, **kwargs) - - -class AcceleratorEntryPtr(AcceleratorEntry): - def __init__(self, this): - self.this = this - if not hasattr(self,"thisown"): self.thisown = 0 - self.__class__ = AcceleratorEntry -_windows.AcceleratorEntry_swigregister(AcceleratorEntryPtr) - -class AcceleratorTable(core.Object): - """""" - def __repr__(self): - return "<%s.%s; proxy of C++ wxAcceleratorTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) - def __init__(self, *args, **kwargs): - """__init__(int n, AcceleratorEntry entries) -> AcceleratorTable""" - newobj = _windows.new_AcceleratorTable(*args, **kwargs) - self.this = newobj.this - self.thisown = 1 - del newobj.thisown - def __del__(self, destroy=_windows.delete_AcceleratorTable): - """__del__()""" - try: - if self.thisown: destroy(self) - except: pass - - def Ok(*args, **kwargs): - """Ok() -> bool""" - return _windows.AcceleratorTable_Ok(*args, **kwargs) - - -class AcceleratorTablePtr(AcceleratorTable): - def __init__(self, this): - self.this = this - if not hasattr(self,"thisown"): self.thisown = 0 - self.__class__ = AcceleratorTable -_windows.AcceleratorTable_swigregister(AcceleratorTablePtr) - - -def GetAccelFromString(*args, **kwargs): - """GetAccelFromString(wxString label) -> AcceleratorEntry""" - return _windows.GetAccelFromString(*args, **kwargs) -#--------------------------------------------------------------------------- - FULLSCREEN_NOMENUBAR = _windows.FULLSCREEN_NOMENUBAR FULLSCREEN_NOTOOLBAR = _windows.FULLSCREEN_NOTOOLBAR FULLSCREEN_NOSTATUSBAR = _windows.FULLSCREEN_NOSTATUSBAR @@ -260,7 +194,6 @@ FULLSCREEN_NOCAPTION = _windows.FULLSCREEN_NOCAPTION FULLSCREEN_ALL = _windows.FULLSCREEN_ALL TOPLEVEL_EX_DIALOG = _windows.TOPLEVEL_EX_DIALOG class TopLevelWindow(core.Window): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -323,19 +256,18 @@ class TopLevelWindowPtr(TopLevelWindow): if not hasattr(self,"thisown"): self.thisown = 0 self.__class__ = TopLevelWindow _windows.TopLevelWindow_swigregister(TopLevelWindowPtr) -cvar = _windows.cvar -NullAcceleratorTable = cvar.NullAcceleratorTable #--------------------------------------------------------------------------- class Frame(TopLevelWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, - wxString name=wxPyFrameNameStr) -> Frame""" + """ + __init__(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, + wxString name=wxPyFrameNameStr) -> Frame + """ newobj = _windows.new_Frame(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -343,9 +275,11 @@ class Frame(TopLevelWindow): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, - wxString name=wxPyFrameNameStr) -> bool""" + """ + Create(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, + wxString name=wxPyFrameNameStr) -> bool + """ return _windows.Frame_Create(*args, **kwargs) def GetClientAreaOrigin(*args, **kwargs): @@ -370,8 +304,10 @@ class Frame(TopLevelWindow): Command = ProcessCommand def CreateStatusBar(*args, **kwargs): - """CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0, - wxString name=wxPyStatusLineNameStr) -> StatusBar""" + """ + CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0, + wxString name=wxPyStatusLineNameStr) -> StatusBar + """ return _windows.Frame_CreateStatusBar(*args, **kwargs) def GetStatusBar(*args, **kwargs): @@ -443,13 +379,14 @@ def PreFrame(*args, **kwargs): #--------------------------------------------------------------------------- class Dialog(TopLevelWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, - wxString name=wxPyDialogNameStr) -> Dialog""" + """ + __init__(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, + wxString name=wxPyDialogNameStr) -> Dialog + """ newobj = _windows.new_Dialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -457,9 +394,11 @@ class Dialog(TopLevelWindow): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, - wxString name=wxPyDialogNameStr) -> bool""" + """ + Create(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, + wxString name=wxPyDialogNameStr) -> bool + """ return _windows.Dialog_Create(*args, **kwargs) def SetReturnCode(*args, **kwargs): @@ -515,13 +454,14 @@ def PreDialog(*args, **kwargs): #--------------------------------------------------------------------------- class MiniFrame(Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, - wxString name=wxPyFrameNameStr) -> MiniFrame""" + """ + __init__(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, + wxString name=wxPyFrameNameStr) -> MiniFrame + """ newobj = _windows.new_MiniFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -529,9 +469,11 @@ class MiniFrame(Frame): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, - wxString name=wxPyFrameNameStr) -> bool""" + """ + Create(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, + wxString name=wxPyFrameNameStr) -> bool + """ return _windows.MiniFrame_Create(*args, **kwargs) @@ -556,12 +498,13 @@ SPLASH_NO_CENTRE = _windows.SPLASH_NO_CENTRE SPLASH_TIMEOUT = _windows.SPLASH_TIMEOUT SPLASH_NO_TIMEOUT = _windows.SPLASH_NO_TIMEOUT class SplashScreenWindow(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxBitmap bitmap, Window parent, int id, Point pos=DefaultPosition, - Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow""" + """ + __init__(wxBitmap bitmap, Window parent, int id, Point pos=DefaultPosition, + Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow + """ newobj = _windows.new_SplashScreenWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -585,13 +528,14 @@ class SplashScreenWindowPtr(SplashScreenWindow): _windows.SplashScreenWindow_swigregister(SplashScreenWindowPtr) class SplashScreen(Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxBitmap bitmap, long splashStyle, int milliseconds, - Window parent, int id, Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen""" + """ + __init__(wxBitmap bitmap, long splashStyle, int milliseconds, + Window parent, int id, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen + """ newobj = _windows.new_SplashScreen(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -621,7 +565,6 @@ _windows.SplashScreen_swigregister(SplashScreenPtr) #--------------------------------------------------------------------------- class StatusBar(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -710,12 +653,13 @@ SPLIT_DRAG_NONE = _windows.SPLIT_DRAG_NONE SPLIT_DRAG_DRAGGING = _windows.SPLIT_DRAG_DRAGGING SPLIT_DRAG_LEFT_DOWN = _windows.SPLIT_DRAG_LEFT_DOWN class SplitterWindow(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, Point point=DefaultPosition, - Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> SplitterWindow""" + """ + __init__(Window parent, int id, Point point=DefaultPosition, + Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> SplitterWindow + """ newobj = _windows.new_SplitterWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -723,8 +667,10 @@ class SplitterWindow(core.Window): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point point=DefaultPosition, - Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> bool""" + """ + Create(Window parent, int id, Point point=DefaultPosition, + Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> bool + """ return _windows.SplitterWindow_Create(*args, **kwargs) def GetWindow1(*args, **kwargs): @@ -830,7 +776,6 @@ def PreSplitterWindow(*args, **kwargs): return val class SplitterEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -892,13 +837,14 @@ SASH_BOTTOM = _windows.SASH_BOTTOM SASH_LEFT = _windows.SASH_LEFT SASH_NONE = _windows.SASH_NONE class SashWindow(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSashWindow 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|wxSW_3D, - wxString name=wxPySashNameStr) -> SashWindow""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxSW_3D, + wxString name=wxPySashNameStr) -> SashWindow + """ newobj = _windows.new_SashWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -906,9 +852,11 @@ class SashWindow(core.Window): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=wxCLIP_CHILDREN|wxSW_3D, - wxString name=wxPySashNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxSW_3D, + wxString name=wxPySashNameStr) -> bool + """ return _windows.SashWindow_Create(*args, **kwargs) def SetSashVisible(*args, **kwargs): @@ -1004,7 +952,6 @@ def PreSashWindow(*args, **kwargs): SASH_STATUS_OK = _windows.SASH_STATUS_OK SASH_STATUS_OUT_OF_RANGE = _windows.SASH_STATUS_OUT_OF_RANGE class SashEvent(core.CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1065,7 +1012,6 @@ LAYOUT_QUERY = _windows.LAYOUT_QUERY wxEVT_QUERY_LAYOUT_INFO = _windows.wxEVT_QUERY_LAYOUT_INFO wxEVT_CALCULATE_LAYOUT = _windows.wxEVT_CALCULATE_LAYOUT class QueryLayoutInfoEvent(core.Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1123,7 +1069,6 @@ class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent): _windows.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr) class CalculateLayoutEvent(core.Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1160,13 +1105,14 @@ EVT_QUERY_LAYOUT_INFO = wx.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO ) EVT_CALCULATE_LAYOUT = wx.PyEventBinder( wxEVT_CALCULATE_LAYOUT ) class SashLayoutWindow(SashWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSashLayoutWindow 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|wxSW_3D, - wxString name=wxPySashLayoutNameStr) -> SashLayoutWindow""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxSW_3D, + wxString name=wxPySashLayoutNameStr) -> SashLayoutWindow + """ newobj = _windows.new_SashLayoutWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1174,9 +1120,11 @@ class SashLayoutWindow(SashWindow): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=wxCLIP_CHILDREN|wxSW_3D, - wxString name=wxPySashLayoutNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxSW_3D, + wxString name=wxPySashLayoutNameStr) -> bool + """ return _windows.SashLayoutWindow_Create(*args, **kwargs) def GetAlignment(*args, **kwargs): @@ -1214,7 +1162,6 @@ def PreSashLayoutWindow(*args, **kwargs): return val class LayoutAlgorithm(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1252,7 +1199,6 @@ _windows.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr) #--------------------------------------------------------------------------- class PopupWindow(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1288,7 +1234,6 @@ def PrePopupWindow(*args, **kwargs): #--------------------------------------------------------------------------- class PopupTransientWindow(PopupWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1328,7 +1273,6 @@ def PrePopupTransientWindow(*args, **kwargs): #--------------------------------------------------------------------------- class TipWindow(PopupTransientWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1358,12 +1302,13 @@ _windows.TipWindow_swigregister(TipWindowPtr) #--------------------------------------------------------------------------- class VScrolledWindow(Panel): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> VScrolledWindow""" + """ + __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> VScrolledWindow + """ newobj = _windows.new_VScrolledWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1375,8 +1320,10 @@ class VScrolledWindow(Panel): return _windows.VScrolledWindow__setCallbackInfo(*args, **kwargs) def Create(*args, **kwargs): - """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> bool""" + """ + Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> bool + """ return _windows.VScrolledWindow_Create(*args, **kwargs) def SetLineCount(*args, **kwargs): @@ -1446,12 +1393,13 @@ def PreVScrolledWindow(*args, **kwargs): return val class VListBox(VScrolledWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> VListBox""" + """ + __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> VListBox + """ newobj = _windows.new_VListBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1463,8 +1411,10 @@ class VListBox(VScrolledWindow): return _windows.VListBox__setCallbackInfo(*args, **kwargs) def Create(*args, **kwargs): - """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool""" + """ + Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool + """ return _windows.VListBox_Create(*args, **kwargs) def GetItemCount(*args, **kwargs): @@ -1566,12 +1516,13 @@ def PreVListBox(*args, **kwargs): return val class HtmlListBox(VListBox): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> HtmlListBox""" + """ + __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> HtmlListBox + """ newobj = _windows.new_HtmlListBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1583,8 +1534,10 @@ class HtmlListBox(VListBox): return _windows.HtmlListBox__setCallbackInfo(*args, **kwargs) def Create(*args, **kwargs): - """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool""" + """ + Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool + """ return _windows.HtmlListBox_Create(*args, **kwargs) def RefreshAll(*args, **kwargs): @@ -1612,7 +1565,6 @@ def PreHtmlListBox(*args, **kwargs): #--------------------------------------------------------------------------- class TaskBarIcon(core.EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1656,7 +1608,6 @@ class TaskBarIconPtr(TaskBarIcon): _windows.TaskBarIcon_swigregister(TaskBarIconPtr) class TaskBarIconEvent(core.Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1691,7 +1642,6 @@ EVT_TASKBAR_RIGHT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK ) #--------------------------------------------------------------------------- class ColourData(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1739,7 +1689,6 @@ class ColourDataPtr(ColourData): _windows.ColourData_swigregister(ColourDataPtr) class ColourDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1767,14 +1716,15 @@ class ColourDialogPtr(ColourDialog): _windows.ColourDialog_swigregister(ColourDialogPtr) class DirDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, wxString message=wxPyDirSelectorPromptStr, - wxString defaultPath=wxPyEmptyString, - long style=0, Point pos=DefaultPosition, Size size=DefaultSize, - wxString name=wxPyDirDialogNameStr) -> DirDialog""" + """ + __init__(Window parent, wxString message=wxPyDirSelectorPromptStr, + wxString defaultPath=wxPyEmptyString, + long style=0, Point pos=DefaultPosition, Size size=DefaultSize, + wxString name=wxPyDirDialogNameStr) -> DirDialog + """ newobj = _windows.new_DirDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1814,15 +1764,16 @@ class DirDialogPtr(DirDialog): _windows.DirDialog_swigregister(DirDialogPtr) class FileDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, wxString message=wxPyFileSelectorPromptStr, - wxString defaultDir=wxPyEmptyString, - wxString defaultFile=wxPyEmptyString, wxString wildcard=wxPyFileSelectorDefaultWildcardStr, - long style=0, - Point pos=DefaultPosition) -> FileDialog""" + """ + __init__(Window parent, wxString message=wxPyFileSelectorPromptStr, + wxString defaultDir=wxPyEmptyString, + wxString defaultFile=wxPyEmptyString, wxString wildcard=wxPyFileSelectorDefaultWildcardStr, + long style=0, + Point pos=DefaultPosition) -> FileDialog + """ newobj = _windows.new_FileDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1903,13 +1854,14 @@ _windows.FileDialog_swigregister(FileDialogPtr) CHOICEDLG_STYLE = _windows.CHOICEDLG_STYLE class MultiChoiceDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, wxString message, wxString caption, - int LCOUNT, wxString choices, long style=CHOICEDLG_STYLE, - Point pos=DefaultPosition) -> MultiChoiceDialog""" + """ + __init__(Window parent, wxString message, wxString caption, + int LCOUNT, wxString choices, long style=CHOICEDLG_STYLE, + Point pos=DefaultPosition) -> MultiChoiceDialog + """ newobj = _windows.new_MultiChoiceDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1933,13 +1885,14 @@ class MultiChoiceDialogPtr(MultiChoiceDialog): _windows.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr) class SingleChoiceDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, wxString message, wxString caption, - int choices, wxString choices_array, long style=CHOICEDLG_STYLE, - Point pos=DefaultPosition) -> SingleChoiceDialog""" + """ + __init__(Window parent, wxString message, wxString caption, + int choices, wxString choices_array, long style=CHOICEDLG_STYLE, + Point pos=DefaultPosition) -> SingleChoiceDialog + """ newobj = _windows.new_SingleChoiceDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1971,14 +1924,15 @@ class SingleChoiceDialogPtr(SingleChoiceDialog): _windows.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr) class TextEntryDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, wxString message, wxString caption=wxPyGetTextFromUserPromptStr, - wxString defaultValue=wxPyEmptyString, - long style=wxOK|wxCANCEL|wxCENTRE, - Point pos=DefaultPosition) -> TextEntryDialog""" + """ + __init__(Window parent, wxString message, wxString caption=wxPyGetTextFromUserPromptStr, + wxString defaultValue=wxPyEmptyString, + long style=wxOK|wxCANCEL|wxCENTRE, + Point pos=DefaultPosition) -> TextEntryDialog + """ newobj = _windows.new_TextEntryDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2006,7 +1960,6 @@ class TextEntryDialogPtr(TextEntryDialog): _windows.TextEntryDialog_swigregister(TextEntryDialogPtr) class FontData(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2082,7 +2035,6 @@ class FontDataPtr(FontData): _windows.FontData_swigregister(FontDataPtr) class FontDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2110,13 +2062,14 @@ class FontDialogPtr(FontDialog): _windows.FontDialog_swigregister(FontDialogPtr) class MessageDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, wxString message, wxString caption=wxPyMessageBoxCaptionStr, - long style=wxOK|wxCANCEL|wxCENTRE, - Point pos=DefaultPosition) -> MessageDialog""" + """ + __init__(Window parent, wxString message, wxString caption=wxPyMessageBoxCaptionStr, + long style=wxOK|wxCANCEL|wxCENTRE, + Point pos=DefaultPosition) -> MessageDialog + """ newobj = _windows.new_MessageDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2136,12 +2089,13 @@ class MessageDialogPtr(MessageDialog): _windows.MessageDialog_swigregister(MessageDialogPtr) class ProgressDialog(Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString title, wxString message, int maximum=100, - Window parent=None, int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog""" + """ + __init__(wxString title, wxString message, int maximum=100, + Window parent=None, int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog + """ newobj = _windows.new_ProgressDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2190,7 +2144,6 @@ EVT_COMMAND_FIND_REPLACE_ALL = EVT_FIND_REPLACE_ALL EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE class FindDialogEvent(core.CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2236,7 +2189,6 @@ class FindDialogEventPtr(FindDialogEvent): _windows.FindDialogEvent_swigregister(FindDialogEventPtr) class FindReplaceData(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2284,12 +2236,13 @@ class FindReplaceDataPtr(FindReplaceData): _windows.FindReplaceData_swigregister(FindReplaceDataPtr) class FindReplaceDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, FindReplaceData data, wxString title, - int style=0) -> FindReplaceDialog""" + """ + __init__(Window parent, FindReplaceData data, wxString title, + int style=0) -> FindReplaceDialog + """ newobj = _windows.new_FindReplaceDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2297,8 +2250,10 @@ class FindReplaceDialog(Dialog): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, FindReplaceData data, wxString title, - int style=0) -> bool""" + """ + Create(Window parent, FindReplaceData data, wxString title, + int style=0) -> bool + """ return _windows.FindReplaceDialog_Create(*args, **kwargs) def GetData(*args, **kwargs): @@ -2334,13 +2289,14 @@ IDM_WINDOWTILEVERT = _windows.IDM_WINDOWTILEVERT FIRST_MDI_CHILD = _windows.FIRST_MDI_CHILD LAST_MDI_CHILD = _windows.LAST_MDI_CHILD class MDIParentFrame(Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, - wxString name=wxPyFrameNameStr) -> MDIParentFrame""" + """ + __init__(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, + wxString name=wxPyFrameNameStr) -> MDIParentFrame + """ newobj = _windows.new_MDIParentFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2348,9 +2304,11 @@ class MDIParentFrame(Frame): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, - wxString name=wxPyFrameNameStr) -> bool""" + """ + Create(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, + wxString name=wxPyFrameNameStr) -> bool + """ return _windows.MDIParentFrame_Create(*args, **kwargs) def ActivateNext(*args, **kwargs): @@ -2412,13 +2370,14 @@ def PreMDIParentFrame(*args, **kwargs): return val class MDIChildFrame(Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, - long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> MDIChildFrame""" + """ + __init__(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> MDIChildFrame + """ newobj = _windows.new_MDIChildFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2426,9 +2385,11 @@ class MDIChildFrame(Frame): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, - long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> bool""" + """ + Create(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> bool + """ return _windows.MDIChildFrame_Create(*args, **kwargs) def Activate(*args, **kwargs): @@ -2458,7 +2419,6 @@ def PreMDIChildFrame(*args, **kwargs): return val class MDIClientWindow(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2490,12 +2450,13 @@ def PreMDIClientWindow(*args, **kwargs): #--------------------------------------------------------------------------- class PyWindow(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyWindow 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=0, wxString name=PanelNameStr) -> PyWindow""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> PyWindow + """ newobj = _windows.new_PyWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2587,12 +2548,13 @@ class PyWindowPtr(PyWindow): _windows.PyWindow_swigregister(PyWindowPtr) class PyPanel(Panel): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPanel 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=0, wxString name=PanelNameStr) -> PyPanel""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> PyPanel + """ newobj = _windows.new_PyPanel(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2690,7 +2652,6 @@ PRINT_MODE_PREVIEW = _windows.PRINT_MODE_PREVIEW PRINT_MODE_FILE = _windows.PRINT_MODE_FILE PRINT_MODE_PRINTER = _windows.PRINT_MODE_PRINTER class PrintData(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2879,7 +2840,6 @@ class PrintDataPtr(PrintData): _windows.PrintData_swigregister(PrintDataPtr) class PageSetupDialogData(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3020,7 +2980,6 @@ class PageSetupDialogDataPtr(PageSetupDialogData): _windows.PageSetupDialogData_swigregister(PageSetupDialogDataPtr) class PageSetupDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3048,7 +3007,6 @@ class PageSetupDialogPtr(PageSetupDialog): _windows.PageSetupDialog_swigregister(PageSetupDialogPtr) class PrintDialogData(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3197,7 +3155,6 @@ class PrintDialogDataPtr(PrintDialogData): _windows.PrintDialogData_swigregister(PrintDialogDataPtr) class PrintDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3232,7 +3189,6 @@ PRINTER_NO_ERROR = _windows.PRINTER_NO_ERROR PRINTER_CANCELLED = _windows.PRINTER_CANCELLED PRINTER_ERROR = _windows.PRINTER_ERROR class Printer(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3293,7 +3249,6 @@ def Printer_GetLastError(*args, **kwargs): return _windows.Printer_GetLastError(*args, **kwargs) class Printout(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3397,13 +3352,14 @@ class PrintoutPtr(Printout): _windows.Printout_swigregister(PrintoutPtr) class PreviewCanvas(ScrolledWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(PrintPreview preview, Window parent, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - wxString name=wxPyPreviewCanvasNameStr) -> PreviewCanvas""" + """ + __init__(PrintPreview preview, Window parent, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyPreviewCanvasNameStr) -> PreviewCanvas + """ newobj = _windows.new_PreviewCanvas(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3419,13 +3375,14 @@ class PreviewCanvasPtr(PreviewCanvas): _windows.PreviewCanvas_swigregister(PreviewCanvasPtr) class PreviewFrame(Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(PrintPreview preview, Frame parent, wxString title, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PreviewFrame""" + """ + __init__(PrintPreview preview, Frame parent, wxString title, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PreviewFrame + """ newobj = _windows.new_PreviewFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3473,13 +3430,14 @@ ID_PREVIEW_FIRST = _windows.ID_PREVIEW_FIRST ID_PREVIEW_LAST = _windows.ID_PREVIEW_LAST ID_PREVIEW_GOTO = _windows.ID_PREVIEW_GOTO class PreviewControlBar(Panel): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(PrintPreview preview, long buttons, Window parent, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=TAB_TRAVERSAL, wxString name=PanelNameStr) -> PreviewControlBar""" + """ + __init__(PrintPreview preview, long buttons, Window parent, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=TAB_TRAVERSAL, wxString name=PanelNameStr) -> PreviewControlBar + """ newobj = _windows.new_PreviewControlBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3527,7 +3485,6 @@ class PreviewControlBarPtr(PreviewControlBar): _windows.PreviewControlBar_swigregister(PreviewControlBarPtr) class PrintPreview(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3634,7 +3591,6 @@ class PrintPreviewPtr(PrintPreview): _windows.PrintPreview_swigregister(PrintPreviewPtr) class PyPrintPreview(PrintPreview): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3686,13 +3642,14 @@ class PyPrintPreviewPtr(PyPrintPreview): _windows.PyPrintPreview_swigregister(PyPrintPreviewPtr) class PyPreviewFrame(PreviewFrame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(PrintPreview preview, Frame parent, wxString title, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PyPreviewFrame""" + """ + __init__(PrintPreview preview, Frame parent, wxString title, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PyPreviewFrame + """ newobj = _windows.new_PyPreviewFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3732,13 +3689,14 @@ class PyPreviewFramePtr(PyPreviewFrame): _windows.PyPreviewFrame_swigregister(PyPreviewFramePtr) class PyPreviewControlBar(PreviewControlBar): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(PrintPreview preview, long buttons, Window parent, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, wxString name=PanelNameStr) -> PyPreviewControlBar""" + """ + __init__(PrintPreview preview, long buttons, Window parent, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> PyPreviewControlBar + """ newobj = _windows.new_PyPreviewControlBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 diff --git a/wxPython/src/msw/windows_wrap.cpp b/wxPython/src/msw/windows_wrap.cpp index 94f402c1e3..261a932f10 100644 --- a/wxPython/src/msw/windows_wrap.cpp +++ b/wxPython/src/msw/windows_wrap.cpp @@ -218,90 +218,87 @@ SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0] #define SWIGTYPE_p_wxPreviewFrame swig_types[1] #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2] -#define SWIGTYPE_p_wxAcceleratorEntry swig_types[3] -#define SWIGTYPE_p_wxPyPanel swig_types[4] -#define SWIGTYPE_p_wxMenu swig_types[5] -#define SWIGTYPE_p_wxPrintData swig_types[6] -#define SWIGTYPE_p_wxFontData swig_types[7] -#define SWIGTYPE_p_wxEvent swig_types[8] -#define SWIGTYPE_p_wxTaskBarIcon swig_types[9] -#define SWIGTYPE_p_wxIconBundle swig_types[10] -#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11] -#define SWIGTYPE_p_wxFindDialogEvent swig_types[12] -#define SWIGTYPE_p_wxPreviewCanvas swig_types[13] -#define SWIGTYPE_p_wxFont swig_types[14] -#define SWIGTYPE_p_wxSplitterEvent swig_types[15] -#define SWIGTYPE_p_wxRegion swig_types[16] -#define SWIGTYPE_p_wxFindReplaceData swig_types[17] -#define SWIGTYPE_p_int swig_types[18] -#define SWIGTYPE_p_wxSize swig_types[19] -#define SWIGTYPE_p_wxDC swig_types[20] -#define SWIGTYPE_p_wxIcon swig_types[21] -#define SWIGTYPE_p_wxMDIChildFrame swig_types[22] -#define SWIGTYPE_p_wxColourData swig_types[23] -#define SWIGTYPE_p_wxNotifyEvent swig_types[24] -#define SWIGTYPE_p_wxPyWindow swig_types[25] -#define SWIGTYPE_p_wxSplashScreen swig_types[26] -#define SWIGTYPE_p_wxFindReplaceDialog swig_types[27] -#define SWIGTYPE_p_wxProgressDialog swig_types[28] -#define SWIGTYPE_p_wxMessageDialog swig_types[29] -#define SWIGTYPE_p_wxTextEntryDialog swig_types[30] -#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31] -#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32] -#define SWIGTYPE_p_wxFileDialog swig_types[33] -#define SWIGTYPE_p_wxPrinter swig_types[34] -#define SWIGTYPE_p_wxMenuItem swig_types[35] -#define SWIGTYPE_p_wxArrayInt swig_types[36] -#define SWIGTYPE_p_wxEvtHandler swig_types[37] -#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[38] -#define SWIGTYPE_p_wxPyHtmlListBox swig_types[39] -#define SWIGTYPE_p_wxPyVListBox swig_types[40] -#define SWIGTYPE_p_wxRect swig_types[41] -#define SWIGTYPE_p_wxAcceleratorTable swig_types[42] -#define SWIGTYPE_p_wxMiniFrame swig_types[43] -#define SWIGTYPE_p_wxFrame swig_types[44] -#define SWIGTYPE_p_wxPyPrintout swig_types[45] -#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[46] -#define SWIGTYPE_p_wxScrollWinEvent swig_types[47] -#define SWIGTYPE_p_wxStatusBar swig_types[48] -#define SWIGTYPE_p_wxMDIParentFrame swig_types[49] -#define SWIGTYPE_p_wxPoint swig_types[50] -#define SWIGTYPE_p_wxObject swig_types[51] -#define SWIGTYPE_p_unsigned_long swig_types[52] -#define SWIGTYPE_p_wxMDIClientWindow swig_types[53] -#define SWIGTYPE_p_wxTipWindow swig_types[54] -#define SWIGTYPE_p_wxSashLayoutWindow swig_types[55] -#define SWIGTYPE_p_wxSplitterWindow swig_types[56] -#define SWIGTYPE_p_wxSplashScreenWindow swig_types[57] -#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58] -#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59] -#define SWIGTYPE_p_wxPopupWindow swig_types[60] -#define SWIGTYPE_p_wxSashWindow swig_types[61] -#define SWIGTYPE_p_wxTopLevelWindow swig_types[62] -#define SWIGTYPE_p_wxWindow swig_types[63] -#define SWIGTYPE_p_wxScrolledWindow swig_types[64] -#define SWIGTYPE_p_wxMenuBar swig_types[65] -#define SWIGTYPE_p_wxPrintPreview swig_types[66] -#define SWIGTYPE_p_wxSashEvent swig_types[67] -#define SWIGTYPE_p_wxString swig_types[68] -#define SWIGTYPE_p_wxPyPrintPreview swig_types[69] -#define SWIGTYPE_p_wxFontDialog swig_types[70] -#define SWIGTYPE_p_wxDirDialog swig_types[71] -#define SWIGTYPE_p_wxColourDialog swig_types[72] -#define SWIGTYPE_p_wxDialog swig_types[73] -#define SWIGTYPE_p_wxPanel swig_types[74] -#define SWIGTYPE_p_wxPageSetupDialog swig_types[75] -#define SWIGTYPE_p_wxPrintDialog swig_types[76] -#define SWIGTYPE_p_wxBitmap swig_types[77] -#define SWIGTYPE_p_wxCommandEvent swig_types[78] -#define SWIGTYPE_p_wxPrintQuality swig_types[79] -#define SWIGTYPE_p_wxPreviewControlBar swig_types[80] -#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81] -#define SWIGTYPE_p_wxColour swig_types[82] -#define SWIGTYPE_p_wxToolBar swig_types[83] -#define SWIGTYPE_p_wxPageSetupDialogData swig_types[84] -#define SWIGTYPE_p_wxPrintDialogData swig_types[85] -static swig_type_info *swig_types[87]; +#define SWIGTYPE_p_wxPyPanel swig_types[3] +#define SWIGTYPE_p_wxMenu swig_types[4] +#define SWIGTYPE_p_wxPrintData swig_types[5] +#define SWIGTYPE_p_wxFontData swig_types[6] +#define SWIGTYPE_p_wxEvent swig_types[7] +#define SWIGTYPE_p_wxTaskBarIcon swig_types[8] +#define SWIGTYPE_p_wxIconBundle swig_types[9] +#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10] +#define SWIGTYPE_p_wxFindDialogEvent swig_types[11] +#define SWIGTYPE_p_wxPreviewCanvas swig_types[12] +#define SWIGTYPE_p_wxFont swig_types[13] +#define SWIGTYPE_p_wxSplitterEvent swig_types[14] +#define SWIGTYPE_p_wxRegion swig_types[15] +#define SWIGTYPE_p_wxFindReplaceData swig_types[16] +#define SWIGTYPE_p_int swig_types[17] +#define SWIGTYPE_p_wxSize swig_types[18] +#define SWIGTYPE_p_wxDC swig_types[19] +#define SWIGTYPE_p_wxIcon swig_types[20] +#define SWIGTYPE_p_wxMDIChildFrame swig_types[21] +#define SWIGTYPE_p_wxColourData swig_types[22] +#define SWIGTYPE_p_wxNotifyEvent swig_types[23] +#define SWIGTYPE_p_wxPyWindow swig_types[24] +#define SWIGTYPE_p_wxSplashScreen swig_types[25] +#define SWIGTYPE_p_wxFindReplaceDialog swig_types[26] +#define SWIGTYPE_p_wxProgressDialog swig_types[27] +#define SWIGTYPE_p_wxMessageDialog swig_types[28] +#define SWIGTYPE_p_wxTextEntryDialog swig_types[29] +#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30] +#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31] +#define SWIGTYPE_p_wxFileDialog swig_types[32] +#define SWIGTYPE_p_wxPrinter swig_types[33] +#define SWIGTYPE_p_wxArrayInt swig_types[34] +#define SWIGTYPE_p_wxEvtHandler swig_types[35] +#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36] +#define SWIGTYPE_p_wxPyHtmlListBox swig_types[37] +#define SWIGTYPE_p_wxPyVListBox swig_types[38] +#define SWIGTYPE_p_wxRect swig_types[39] +#define SWIGTYPE_p_wxMiniFrame swig_types[40] +#define SWIGTYPE_p_wxFrame swig_types[41] +#define SWIGTYPE_p_wxPyPrintout swig_types[42] +#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[43] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[44] +#define SWIGTYPE_p_wxStatusBar swig_types[45] +#define SWIGTYPE_p_wxMDIParentFrame swig_types[46] +#define SWIGTYPE_p_wxPoint swig_types[47] +#define SWIGTYPE_p_wxObject swig_types[48] +#define SWIGTYPE_p_unsigned_long swig_types[49] +#define SWIGTYPE_p_wxMDIClientWindow swig_types[50] +#define SWIGTYPE_p_wxTipWindow swig_types[51] +#define SWIGTYPE_p_wxSashLayoutWindow swig_types[52] +#define SWIGTYPE_p_wxSplitterWindow swig_types[53] +#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[54] +#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55] +#define SWIGTYPE_p_wxPopupWindow swig_types[56] +#define SWIGTYPE_p_wxSashWindow swig_types[57] +#define SWIGTYPE_p_wxTopLevelWindow swig_types[58] +#define SWIGTYPE_p_wxWindow swig_types[59] +#define SWIGTYPE_p_wxScrolledWindow swig_types[60] +#define SWIGTYPE_p_wxSplashScreenWindow swig_types[61] +#define SWIGTYPE_p_wxMenuBar swig_types[62] +#define SWIGTYPE_p_wxPrintPreview swig_types[63] +#define SWIGTYPE_p_wxSashEvent swig_types[64] +#define SWIGTYPE_p_wxString swig_types[65] +#define SWIGTYPE_p_wxPyPrintPreview swig_types[66] +#define SWIGTYPE_p_wxPageSetupDialog swig_types[67] +#define SWIGTYPE_p_wxFontDialog swig_types[68] +#define SWIGTYPE_p_wxDirDialog swig_types[69] +#define SWIGTYPE_p_wxColourDialog swig_types[70] +#define SWIGTYPE_p_wxDialog swig_types[71] +#define SWIGTYPE_p_wxPanel swig_types[72] +#define SWIGTYPE_p_wxPrintDialog swig_types[73] +#define SWIGTYPE_p_wxBitmap swig_types[74] +#define SWIGTYPE_p_wxCommandEvent swig_types[75] +#define SWIGTYPE_p_wxPrintQuality swig_types[76] +#define SWIGTYPE_p_wxPreviewControlBar swig_types[77] +#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[78] +#define SWIGTYPE_p_wxColour swig_types[79] +#define SWIGTYPE_p_wxToolBar swig_types[80] +#define SWIGTYPE_p_wxPageSetupDialogData swig_types[81] +#define SWIGTYPE_p_wxPrintDialogData swig_types[82] +static swig_type_info *swig_types[84]; /* -------- TYPES TABLE (END) -------- */ @@ -2105,372 +2102,6 @@ static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) { Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - int arg1 = (int) 0 ; - int arg2 = (int) 0 ; - int arg3 = (int) 0 ; - wxMenuItem *arg4 = (wxMenuItem *) NULL ; - wxAcceleratorEntry *result; - PyObject * obj3 = 0 ; - char *kwnames[] = { - (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiiO:new_AcceleratorEntry",kwnames,&arg1,&arg2,&arg3,&obj3)) goto fail; - if (obj3) { - if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 1); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - delete arg1; - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; - int arg2 ; - int arg3 ; - int arg4 ; - wxMenuItem *arg5 = (wxMenuItem *) NULL ; - PyObject * obj0 = 0 ; - PyObject * obj4 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (obj4) { - if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->Set(arg2,arg3,arg4,arg5); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; - wxMenuItem *arg2 = (wxMenuItem *) 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "item", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetMenuItem(arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; - wxMenuItem *result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - resultobj = wxPyMake_wxObject(result); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; - int result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)(arg1)->GetFlags(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; - int result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)(arg1)->GetKeyCode(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; - int result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)(arg1)->GetCommand(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) { - PyObject *obj; - if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj); - Py_INCREF(obj); - return Py_BuildValue((char *)""); -} -static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - int arg1 ; - wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ; - wxAcceleratorTable *result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "n", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail; - { - arg2 = wxAcceleratorEntry_LIST_helper(obj0); - if (arg2) arg1 = PyList_Size(obj0); - else arg1 = 0; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 1); - { - delete [] arg2; - } - return resultobj; - fail: - { - delete [] arg2; - } - return NULL; -} - - -static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - delete arg1; - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ; - bool result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxAcceleratorTable const *)arg1)->Ok(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) { - PyObject *obj; - if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj); - Py_INCREF(obj); - return Py_BuildValue((char *)""); -} -static int _wrap_NullAcceleratorTable_set(PyObject *_val) { - PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only."); - return 1; -} - - -static PyObject *_wrap_NullAcceleratorTable_get() { - PyObject *pyobj; - - pyobj = SWIG_NewPointerObj((void *) &wxNullAcceleratorTable, SWIGTYPE_p_wxAcceleratorTable, 0); - return pyobj; -} - - -static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxString *arg1 = 0 ; - wxAcceleratorEntry *result; - bool temp1 = False ; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "label", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail; - { - arg1 = wxString_in_helper(obj0); - if (arg1 == NULL) SWIG_fail; - temp1 = True; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0); - { - if (temp1) - delete arg1; - } - return resultobj; - fail: - { - if (temp1) - delete arg1; - } - return NULL; -} - - static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; @@ -21109,20 +20740,6 @@ static PyMethodDef SwigMethods[] = { { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS }, { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS }, { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS }, - { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS }, - { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS }, - { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS }, - { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS }, - { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS }, - { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS }, - { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS }, - { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS }, - { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS }, - { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS }, - { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS }, - { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS }, - { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS }, - { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS }, { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS }, { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS }, { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS }, @@ -22336,9 +21953,6 @@ static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { static void *_p_wxKeyEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); } -static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); -} static void *_p_wxWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); } @@ -22348,6 +21962,9 @@ static void *_p_wxMenuTo_p_wxObject(void *x) { static void *_p_wxMenuBarTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); } +static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); +} static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); } @@ -22774,7 +22391,6 @@ static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}}; static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}}; static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}}; -static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}}; static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}}; static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}}; static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}}; @@ -22806,14 +22422,12 @@ static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDia static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}}; static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}}; static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}}; -static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}}; static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}}; static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{0}}; static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}}; static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}}; static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}}; static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}}; -static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}}; static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}}; static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame},{"_p_wxFrame"},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame},{0}}; static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}}; @@ -22828,7 +22442,6 @@ static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}}; static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}}; static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}}; -static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}}; static swig_type_info _swigt__p_wxPyVScrolledWindow[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0},{"_p_wxPyVScrolledWindow"},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow},{0}}; static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}}; static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow},{0}}; @@ -22836,17 +22449,18 @@ static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSash static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow},{0}}; static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{0}}; static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}}; +static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}}; static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}}; static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}}; static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}}; static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}}; +static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}}; static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}}; static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}}; static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}}; static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0},{"_p_wxDialog"},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog},{0}}; static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel},{0}}; -static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}}; static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}}; static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}}; static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent},{0}}; @@ -22862,7 +22476,6 @@ static swig_type_info *swig_types_initial[] = { _swigt__p_wxQueryLayoutInfoEvent, _swigt__p_wxPreviewFrame, _swigt__p_wxPyPreviewFrame, -_swigt__p_wxAcceleratorEntry, _swigt__p_wxPyPanel, _swigt__p_wxMenu, _swigt__p_wxPrintData, @@ -22894,14 +22507,12 @@ _swigt__p_wxSingleChoiceDialog, _swigt__p_wxMultiChoiceDialog, _swigt__p_wxFileDialog, _swigt__p_wxPrinter, -_swigt__p_wxMenuItem, _swigt__p_wxArrayInt, _swigt__p_wxEvtHandler, _swigt__p_wxCalculateLayoutEvent, _swigt__p_wxPyHtmlListBox, _swigt__p_wxPyVListBox, _swigt__p_wxRect, -_swigt__p_wxAcceleratorTable, _swigt__p_wxMiniFrame, _swigt__p_wxFrame, _swigt__p_wxPyPrintout, @@ -22916,7 +22527,6 @@ _swigt__p_wxMDIClientWindow, _swigt__p_wxTipWindow, _swigt__p_wxSashLayoutWindow, _swigt__p_wxSplitterWindow, -_swigt__p_wxSplashScreenWindow, _swigt__p_wxPyVScrolledWindow, _swigt__p_wxPyPopupTransientWindow, _swigt__p_wxPopupWindow, @@ -22924,17 +22534,18 @@ _swigt__p_wxSashWindow, _swigt__p_wxTopLevelWindow, _swigt__p_wxWindow, _swigt__p_wxScrolledWindow, +_swigt__p_wxSplashScreenWindow, _swigt__p_wxMenuBar, _swigt__p_wxPrintPreview, _swigt__p_wxSashEvent, _swigt__p_wxString, _swigt__p_wxPyPrintPreview, +_swigt__p_wxPageSetupDialog, _swigt__p_wxFontDialog, _swigt__p_wxDirDialog, _swigt__p_wxColourDialog, _swigt__p_wxDialog, _swigt__p_wxPanel, -_swigt__p_wxPageSetupDialog, _swigt__p_wxPrintDialog, _swigt__p_wxBitmap, _swigt__p_wxCommandEvent, @@ -23087,8 +22698,6 @@ SWIGEXPORT(void) SWIG_init(void) { } SWIG_InstallConstants(d,swig_const_table); - PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); - SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set); PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); diff --git a/wxPython/src/msw/wizard.py b/wxPython/src/msw/wizard.py index 589de2b875..65c71be1b3 100644 --- a/wxPython/src/msw/wizard.py +++ b/wxPython/src/msw/wizard.py @@ -19,12 +19,13 @@ 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""" + """ + __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 @@ -46,7 +47,6 @@ class WizardEventPtr(WizardEvent): _wizard.WizardEvent_swigregister(WizardEventPtr) class WizardPage(windows.Panel): - """""" 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,) @@ -75,7 +75,6 @@ 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): @@ -181,12 +180,13 @@ def PrePyWizardPage(*args, **kwargs): 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""" + """ + __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 @@ -194,8 +194,10 @@ class WizardPageSimple(WizardPage): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Wizard parent=None, WizardPage prev=None, WizardPage next=None, - wxBitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool""" + """ + 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): @@ -230,13 +232,14 @@ def WizardPageSimple_Chain(*args, **kwargs): 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""" + """ + __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 @@ -244,8 +247,10 @@ class Wizard(windows.Dialog): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, wxString title=wxEmptyString, - wxBitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool""" + """ + 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): diff --git a/wxPython/src/msw/wizard_wrap.cpp b/wxPython/src/msw/wizard_wrap.cpp index 8a6f687ff8..80abb9b747 100644 --- a/wxPython/src/msw/wizard_wrap.cpp +++ b/wxPython/src/msw/wizard_wrap.cpp @@ -2323,9 +2323,6 @@ static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { static void *_p_wxKeyEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); } -static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); -} static void *_p_wxWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); } @@ -2335,6 +2332,9 @@ static void *_p_wxMenuTo_p_wxObject(void *x) { static void *_p_wxMenuBarTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); } +static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); +} static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); } -- 2.45.2