X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/629f3c1beaecfd39e0682da25cf9e670cf038b43..7e63a44037515f18fc68b3d0bcc8c42d0dae3dcf:/wxPython/contrib/gizmos/msw/gizmos.py diff --git a/wxPython/contrib/gizmos/msw/gizmos.py b/wxPython/contrib/gizmos/msw/gizmos.py index 107bedf7d4..cd8e7a4506 100644 --- a/wxPython/contrib/gizmos/msw/gizmos.py +++ b/wxPython/contrib/gizmos/msw/gizmos.py @@ -11,8 +11,8 @@ import _gizmos import _windows import _core import _controls -wx = _core -__docfilter__ = wx.__DocFilter(globals()) +import wx +__docfilter__ = wx._core.__DocFilter(globals()) wxEVT_DYNAMIC_SASH_SPLIT = _gizmos.wxEVT_DYNAMIC_SASH_SPLIT wxEVT_DYNAMIC_SASH_UNIFY = _gizmos.wxEVT_DYNAMIC_SASH_UNIFY DS_MANAGE_SCROLLBARS = _gizmos.DS_MANAGE_SCROLLBARS @@ -60,8 +60,8 @@ class DynamicSashWindow(_core.Window): return "<%s.%s; proxy of C++ wxDynamicSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): """ - __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER, + __init__(self, Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER, String name=DynamicSashNameStr) -> DynamicSashWindow """ newobj = _gizmos.new_DynamicSashWindow(*args, **kwargs) @@ -72,8 +72,8 @@ class DynamicSashWindow(_core.Window): def Create(*args, **kwargs): """ - Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER, + Create(self, Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER, String name=DynamicSashNameStr) -> bool """ return _gizmos.DynamicSashWindow_Create(*args, **kwargs) @@ -111,8 +111,9 @@ class EditableListBox(_windows.Panel): return "<%s.%s; proxy of C++ wxEditableListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): """ - __init__(self, Window parent, int id, String label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE, + __init__(self, Window parent, int id=-1, String label=EmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE, String name=EditableListBoxNameStr) -> EditableListBox """ newobj = _gizmos.new_EditableListBox(*args, **kwargs) @@ -130,7 +131,7 @@ class EditableListBox(_windows.Panel): return _gizmos.EditableListBox_GetStrings(*args, **kwargs) def GetListCtrl(*args, **kwargs): - """GetListCtrl(self) -> wxListCtrl""" + """GetListCtrl(self) -> ListCtrl""" return _gizmos.EditableListBox_GetListCtrl(*args, **kwargs) def GetDelButton(*args, **kwargs): @@ -358,6 +359,8 @@ TL_SEARCH_LEVEL = _gizmos.TL_SEARCH_LEVEL TL_SEARCH_FULL = _gizmos.TL_SEARCH_FULL TL_SEARCH_PARTIAL = _gizmos.TL_SEARCH_PARTIAL TL_SEARCH_NOCASE = _gizmos.TL_SEARCH_NOCASE +TR_DONT_ADJUST_MAC = _gizmos.TR_DONT_ADJUST_MAC +wx.TR_DONT_ADJUST_MAC = TR_DONT_ADJUST_MAC 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,) @@ -856,7 +859,7 @@ class TreeListCtrl(_core.Control): return _gizmos.TreeListCtrl_GetHeaderWindow(*args, **kwargs) def GetMainWindow(*args, **kwargs): - """GetMainWindow(self) -> Window""" + """GetMainWindow(self) -> ScrolledWindow""" return _gizmos.TreeListCtrl_GetMainWindow(*args, **kwargs)