X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34d71f81f4810c55092005c113039a8857422185..4976f9967a2dd37dc501e187d7b13a1e6ca22966:/wxPython/src/mac/aui.py diff --git a/wxPython/src/mac/aui.py b/wxPython/src/mac/aui.py index 2976048dd5..6c0cacb656 100644 --- a/wxPython/src/mac/aui.py +++ b/wxPython/src/mac/aui.py @@ -154,8 +154,6 @@ import _core import _windows wx = _core __docfilter__ = wx.__DocFilter(globals()) -USE_AUI = _aui.USE_AUI -USE_MENUS = _aui.USE_MENUS AUI_DOCK_NONE = _aui.AUI_DOCK_NONE AUI_DOCK_TOP = _aui.AUI_DOCK_TOP AUI_DOCK_RIGHT = _aui.AUI_DOCK_RIGHT @@ -1437,6 +1435,10 @@ class AuiNotebook(_core.Control): """Split(self, size_t page, int direction)""" return _aui.AuiNotebook_Split(*args, **kwargs) + def GetAuiManager(*args, **kwargs): + """GetAuiManager(self) -> AuiManager""" + return _aui.AuiNotebook_GetAuiManager(*args, **kwargs) + PageCount = property(GetPageCount,doc="See `GetPageCount`") Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") _aui.AuiNotebook_swigregister(AuiNotebook) @@ -1728,8 +1730,18 @@ class PyAuiTabArt(AuiDefaultTabArt): methods to the Python methods implemented in the derived class. """ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" __repr__ = _swig_repr + def __init__(self, *args, **kwargs): + """ + __init__(self) -> PyAuiTabArt + + This version of the `TabArt` class has been instrumented to be + subclassable in Python and to reflect all calls to the C++ base class + methods to the Python methods implemented in the derived class. + """ + _aui.PyAuiTabArt_swiginit(self,_aui.new_PyAuiTabArt(*args, **kwargs)) + PyAuiTabArt._setCallbackInfo(self, self, PyAuiTabArt) + _aui.PyAuiTabArt_swigregister(PyAuiTabArt)