]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/gizmos/msw/gizmos.py
reSWIGged
[wxWidgets.git] / wxPython / contrib / gizmos / msw / gizmos.py
index 107bedf7d4cbf7207d1f4c7e1edf50ab766cc478..cd8e7a4506dcca62f5d67dc349d1bafec57bdba3 100644 (file)
@@ -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)