]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/mac/aui.py
added missing button state
[wxWidgets.git] / wxPython / src / mac / aui.py
index 7e489cc7f6bc1b07caba533b3c1b7503abe5f08a..f7268401a74f7949f892a9dcc3b4f760d3f7f287 100644 (file)
@@ -201,6 +201,7 @@ AUI_BUTTON_MAXIMIZE_RESTORE = _aui.AUI_BUTTON_MAXIMIZE_RESTORE
 AUI_BUTTON_MINIMIZE = _aui.AUI_BUTTON_MINIMIZE
 AUI_BUTTON_PIN = _aui.AUI_BUTTON_PIN
 AUI_BUTTON_OPTIONS = _aui.AUI_BUTTON_OPTIONS
 AUI_BUTTON_MINIMIZE = _aui.AUI_BUTTON_MINIMIZE
 AUI_BUTTON_PIN = _aui.AUI_BUTTON_PIN
 AUI_BUTTON_OPTIONS = _aui.AUI_BUTTON_OPTIONS
+AUI_BUTTON_WINDOWLIST = _aui.AUI_BUTTON_WINDOWLIST
 AUI_BUTTON_LEFT = _aui.AUI_BUTTON_LEFT
 AUI_BUTTON_RIGHT = _aui.AUI_BUTTON_RIGHT
 AUI_BUTTON_UP = _aui.AUI_BUTTON_UP
 AUI_BUTTON_LEFT = _aui.AUI_BUTTON_LEFT
 AUI_BUTTON_RIGHT = _aui.AUI_BUTTON_RIGHT
 AUI_BUTTON_UP = _aui.AUI_BUTTON_UP
@@ -671,6 +672,10 @@ class AuiManager(_core.EvtHandler):
         """CreateFloatingFrame(self, Window parent, AuiPaneInfo p) -> AuiFloatingFrame"""
         return _aui.AuiManager_CreateFloatingFrame(*args, **kwargs)
 
         """CreateFloatingFrame(self, Window parent, AuiPaneInfo p) -> AuiFloatingFrame"""
         return _aui.AuiManager_CreateFloatingFrame(*args, **kwargs)
 
+    def CalculateHintRect(*args, **kwargs):
+        """CalculateHintRect(self, Window pane_window, Point pt, Point offset) -> Rect"""
+        return _aui.AuiManager_CalculateHintRect(*args, **kwargs)
+
     def DrawHintRect(*args, **kwargs):
         """DrawHintRect(self, Window pane_window, Point pt, Point offset)"""
         return _aui.AuiManager_DrawHintRect(*args, **kwargs)
     def DrawHintRect(*args, **kwargs):
         """DrawHintRect(self, Window pane_window, Point pt, Point offset)"""
         return _aui.AuiManager_DrawHintRect(*args, **kwargs)
@@ -885,8 +890,8 @@ wxEVT_AUI_PANERESTORE = _aui.wxEVT_AUI_PANERESTORE
 wxEVT_AUI_RENDER = _aui.wxEVT_AUI_RENDER
 EVT_AUI_PANEBUTTON = wx.PyEventBinder( wxEVT_AUI_PANEBUTTON )
 EVT_AUI_PANECLOSE = wx.PyEventBinder( wxEVT_AUI_PANECLOSE )
 wxEVT_AUI_RENDER = _aui.wxEVT_AUI_RENDER
 EVT_AUI_PANEBUTTON = wx.PyEventBinder( wxEVT_AUI_PANEBUTTON )
 EVT_AUI_PANECLOSE = wx.PyEventBinder( wxEVT_AUI_PANECLOSE )
-EVT_AUI_PANECLOSE = wx.PyEventBinder( wxEVT_AUI_PANEMAXIMIZE )
-EVT_AUI_PANECLOSE = wx.PyEventBinder( wxEVT_AUI_PANERESTORE )
+EVT_AUI_PANEMAXIMIZE = wx.PyEventBinder( wxEVT_AUI_PANEMAXIMIZE )
+EVT_AUI_PANERESTORE = wx.PyEventBinder( wxEVT_AUI_PANERESTORE )
 EVT_AUI_RENDER = wx.PyEventBinder( wxEVT_AUI_RENDER )
 
 class AuiDockArt(object):
 EVT_AUI_RENDER = wx.PyEventBinder( wxEVT_AUI_RENDER )
 
 class AuiDockArt(object):
@@ -990,12 +995,82 @@ AUI_NB_RIGHT = _aui.AUI_NB_RIGHT
 AUI_NB_BOTTOM = _aui.AUI_NB_BOTTOM
 AUI_NB_TAB_SPLIT = _aui.AUI_NB_TAB_SPLIT
 AUI_NB_TAB_MOVE = _aui.AUI_NB_TAB_MOVE
 AUI_NB_BOTTOM = _aui.AUI_NB_BOTTOM
 AUI_NB_TAB_SPLIT = _aui.AUI_NB_TAB_SPLIT
 AUI_NB_TAB_MOVE = _aui.AUI_NB_TAB_MOVE
+AUI_NB_TAB_EXTERNAL_MOVE = _aui.AUI_NB_TAB_EXTERNAL_MOVE
+AUI_NB_TAB_FIXED_WIDTH = _aui.AUI_NB_TAB_FIXED_WIDTH
 AUI_NB_SCROLL_BUTTONS = _aui.AUI_NB_SCROLL_BUTTONS
 AUI_NB_SCROLL_BUTTONS = _aui.AUI_NB_SCROLL_BUTTONS
-AUI_NB_PAGELIST_BUTTON = _aui.AUI_NB_PAGELIST_BUTTON
+AUI_NB_WINDOWLIST_BUTTON = _aui.AUI_NB_WINDOWLIST_BUTTON
 AUI_NB_CLOSE_BUTTON = _aui.AUI_NB_CLOSE_BUTTON
 AUI_NB_CLOSE_ON_ACTIVE_TAB = _aui.AUI_NB_CLOSE_ON_ACTIVE_TAB
 AUI_NB_CLOSE_ON_ALL_TABS = _aui.AUI_NB_CLOSE_ON_ALL_TABS
 AUI_NB_DEFAULT_STYLE = _aui.AUI_NB_DEFAULT_STYLE
 AUI_NB_CLOSE_BUTTON = _aui.AUI_NB_CLOSE_BUTTON
 AUI_NB_CLOSE_ON_ACTIVE_TAB = _aui.AUI_NB_CLOSE_ON_ACTIVE_TAB
 AUI_NB_CLOSE_ON_ALL_TABS = _aui.AUI_NB_CLOSE_ON_ALL_TABS
 AUI_NB_DEFAULT_STYLE = _aui.AUI_NB_DEFAULT_STYLE
+class AuiNotebookEvent(_core.NotifyEvent):
+    """Proxy of C++ AuiNotebookEvent class"""
+    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
+    __repr__ = _swig_repr
+    def __init__(self, *args, **kwargs): 
+        """__init__(self, EventType command_type=wxEVT_NULL, int win_id=0) -> AuiNotebookEvent"""
+        _aui.AuiNotebookEvent_swiginit(self,_aui.new_AuiNotebookEvent(*args, **kwargs))
+    def SetSelection(*args, **kwargs):
+        """SetSelection(self, int s)"""
+        return _aui.AuiNotebookEvent_SetSelection(*args, **kwargs)
+
+    def GetSelection(*args, **kwargs):
+        """
+        GetSelection(self) -> int
+
+        Returns item index for a listbox or choice selection event (not valid
+        for a deselection).
+        """
+        return _aui.AuiNotebookEvent_GetSelection(*args, **kwargs)
+
+    def SetOldSelection(*args, **kwargs):
+        """SetOldSelection(self, int s)"""
+        return _aui.AuiNotebookEvent_SetOldSelection(*args, **kwargs)
+
+    def GetOldSelection(*args, **kwargs):
+        """GetOldSelection(self) -> int"""
+        return _aui.AuiNotebookEvent_GetOldSelection(*args, **kwargs)
+
+    def SetDragSource(*args, **kwargs):
+        """SetDragSource(self, AuiNotebook s)"""
+        return _aui.AuiNotebookEvent_SetDragSource(*args, **kwargs)
+
+    def GetDragSource(*args, **kwargs):
+        """GetDragSource(self) -> AuiNotebook"""
+        return _aui.AuiNotebookEvent_GetDragSource(*args, **kwargs)
+
+    old_selection = property(_aui.AuiNotebookEvent_old_selection_get, _aui.AuiNotebookEvent_old_selection_set)
+    selection = property(_aui.AuiNotebookEvent_selection_get, _aui.AuiNotebookEvent_selection_set)
+    drag_source = property(_aui.AuiNotebookEvent_drag_source_get, _aui.AuiNotebookEvent_drag_source_set)
+    OldSelection = property(GetOldSelection,SetOldSelection,doc="See `GetOldSelection` and `SetOldSelection`") 
+    Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") 
+_aui.AuiNotebookEvent_swigregister(AuiNotebookEvent)
+
+class AuiNotebookPage(object):
+    """Proxy of C++ AuiNotebookPage 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
+    window = property(_aui.AuiNotebookPage_window_get, _aui.AuiNotebookPage_window_set)
+    caption = property(_aui.AuiNotebookPage_caption_get, _aui.AuiNotebookPage_caption_set)
+    bitmap = property(_aui.AuiNotebookPage_bitmap_get, _aui.AuiNotebookPage_bitmap_set)
+    rect = property(_aui.AuiNotebookPage_rect_get, _aui.AuiNotebookPage_rect_set)
+    active = property(_aui.AuiNotebookPage_active_get, _aui.AuiNotebookPage_active_set)
+_aui.AuiNotebookPage_swigregister(AuiNotebookPage)
+
+class AuiTabContainerButton(object):
+    """Proxy of C++ AuiTabContainerButton 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
+    id = property(_aui.AuiTabContainerButton_id_get, _aui.AuiTabContainerButton_id_set)
+    cur_state = property(_aui.AuiTabContainerButton_cur_state_get, _aui.AuiTabContainerButton_cur_state_set)
+    location = property(_aui.AuiTabContainerButton_location_get, _aui.AuiTabContainerButton_location_set)
+    bitmap = property(_aui.AuiTabContainerButton_bitmap_get, _aui.AuiTabContainerButton_bitmap_set)
+    dis_bitmap = property(_aui.AuiTabContainerButton_dis_bitmap_get, _aui.AuiTabContainerButton_dis_bitmap_set)
+    rect = property(_aui.AuiTabContainerButton_rect_get, _aui.AuiTabContainerButton_rect_set)
+_aui.AuiTabContainerButton_swigregister(AuiTabContainerButton)
+
 class AuiTabArt(object):
     """Proxy of C++ AuiTabArt class"""
     thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 class AuiTabArt(object):
     """Proxy of C++ AuiTabArt class"""
     thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
@@ -1003,6 +1078,18 @@ class AuiTabArt(object):
     __repr__ = _swig_repr
     __swig_destroy__ = _aui.delete_AuiTabArt
     __del__ = lambda self : None;
     __repr__ = _swig_repr
     __swig_destroy__ = _aui.delete_AuiTabArt
     __del__ = lambda self : None;
+    def Clone(*args, **kwargs):
+        """Clone(self) -> AuiTabArt"""
+        return _aui.AuiTabArt_Clone(*args, **kwargs)
+
+    def SetFlags(*args, **kwargs):
+        """SetFlags(self, int flags)"""
+        return _aui.AuiTabArt_SetFlags(*args, **kwargs)
+
+    def SetSizingInfo(*args, **kwargs):
+        """SetSizingInfo(self, Size tab_ctrl_size, size_t tab_count)"""
+        return _aui.AuiTabArt_SetSizingInfo(*args, **kwargs)
+
     def SetNormalFont(*args, **kwargs):
         """SetNormalFont(self, Font font)"""
         return _aui.AuiTabArt_SetNormalFont(*args, **kwargs)
     def SetNormalFont(*args, **kwargs):
         """SetNormalFont(self, Font font)"""
         return _aui.AuiTabArt_SetNormalFont(*args, **kwargs)
@@ -1016,12 +1103,13 @@ class AuiTabArt(object):
         return _aui.AuiTabArt_SetMeasuringFont(*args, **kwargs)
 
     def DrawBackground(*args, **kwargs):
         return _aui.AuiTabArt_SetMeasuringFont(*args, **kwargs)
 
     def DrawBackground(*args, **kwargs):
-        """DrawBackground(self, DC dc, Rect rect)"""
+        """DrawBackground(self, DC dc, Window wnd, Rect rect)"""
         return _aui.AuiTabArt_DrawBackground(*args, **kwargs)
 
     def DrawTab(*args, **kwargs):
         """
         return _aui.AuiTabArt_DrawBackground(*args, **kwargs)
 
     def DrawTab(*args, **kwargs):
         """
-        DrawTab(self, DC dc, Rect in_rect, String caption, bool active, int close_button_state, 
+        DrawTab(self, DC dc, Window wnd, Rect in_rect, String caption, Bitmap bitmap, 
+            bool active, int close_button_state, 
             Rect out_tab_rect, Rect out_button_rect, 
             int x_extent)
         """
             Rect out_tab_rect, Rect out_button_rect, 
             int x_extent)
         """
@@ -1029,20 +1117,29 @@ class AuiTabArt(object):
 
     def DrawButton(*args, **kwargs):
         """
 
     def DrawButton(*args, **kwargs):
         """
-        DrawButton(self, DC dc, Rect in_rect, int bitmap_id, int button_state, 
-            int orientation, Bitmap bitmap_override, Rect out_rect)
+        DrawButton(self, DC dc, Window wnd, Rect in_rect, int bitmap_id, int button_state, 
+            int orientation, Bitmap bitmap_override, 
+            Rect out_rect)
         """
         return _aui.AuiTabArt_DrawButton(*args, **kwargs)
 
         """
         return _aui.AuiTabArt_DrawButton(*args, **kwargs)
 
+    def GetIndentSize(*args, **kwargs):
+        """GetIndentSize(self) -> int"""
+        return _aui.AuiTabArt_GetIndentSize(*args, **kwargs)
+
     def GetTabSize(*args, **kwargs):
         """
     def GetTabSize(*args, **kwargs):
         """
-        GetTabSize(self, DC dc, String caption, bool active, int close_button_state, 
-            int x_extent) -> Size
+        GetTabSize(self, DC dc, Window wnd, String caption, Bitmap bitmap, bool active, 
+            int close_button_state, int x_extent) -> Size
         """
         return _aui.AuiTabArt_GetTabSize(*args, **kwargs)
 
         """
         return _aui.AuiTabArt_GetTabSize(*args, **kwargs)
 
+    def ShowWindowList(*args, **kwargs):
+        """ShowWindowList(self, Window wnd, wxArrayString items, int active_idx) -> int"""
+        return _aui.AuiTabArt_ShowWindowList(*args, **kwargs)
+
     def GetBestTabCtrlSize(*args, **kwargs):
     def GetBestTabCtrlSize(*args, **kwargs):
-        """GetBestTabCtrlSize(self, Window wnd) -> int"""
+        """GetBestTabCtrlSize(self, Window wnd, wxAuiNotebookPageArray pages, Size required_bmp_size) -> int"""
         return _aui.AuiTabArt_GetBestTabCtrlSize(*args, **kwargs)
 
 _aui.AuiTabArt_swigregister(AuiTabArt)
         return _aui.AuiTabArt_GetBestTabCtrlSize(*args, **kwargs)
 
 _aui.AuiTabArt_swigregister(AuiTabArt)
@@ -1058,64 +1155,16 @@ class AuiDefaultTabArt(AuiTabArt):
     __del__ = lambda self : None;
 _aui.AuiDefaultTabArt_swigregister(AuiDefaultTabArt)
 
     __del__ = lambda self : None;
 _aui.AuiDefaultTabArt_swigregister(AuiDefaultTabArt)
 
-class AuiNotebookEvent(_core.NotifyEvent):
-    """Proxy of C++ AuiNotebookEvent class"""
+class AuiSimpleTabArt(AuiTabArt):
+    """Proxy of C++ AuiSimpleTabArt class"""
     thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
     __repr__ = _swig_repr
     def __init__(self, *args, **kwargs): 
     thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
     __repr__ = _swig_repr
     def __init__(self, *args, **kwargs): 
-        """__init__(self, EventType command_type=wxEVT_NULL, int win_id=0) -> AuiNotebookEvent"""
-        _aui.AuiNotebookEvent_swiginit(self,_aui.new_AuiNotebookEvent(*args, **kwargs))
-    def SetSelection(*args, **kwargs):
-        """SetSelection(self, int s)"""
-        return _aui.AuiNotebookEvent_SetSelection(*args, **kwargs)
-
-    def SetOldSelection(*args, **kwargs):
-        """SetOldSelection(self, int s)"""
-        return _aui.AuiNotebookEvent_SetOldSelection(*args, **kwargs)
-
-    def GetSelection(*args, **kwargs):
-        """
-        GetSelection(self) -> int
-
-        Returns item index for a listbox or choice selection event (not valid
-        for a deselection).
-        """
-        return _aui.AuiNotebookEvent_GetSelection(*args, **kwargs)
-
-    def GetOldSelection(*args, **kwargs):
-        """GetOldSelection(self) -> int"""
-        return _aui.AuiNotebookEvent_GetOldSelection(*args, **kwargs)
-
-    old_selection = property(_aui.AuiNotebookEvent_old_selection_get, _aui.AuiNotebookEvent_old_selection_set)
-    selection = property(_aui.AuiNotebookEvent_selection_get, _aui.AuiNotebookEvent_selection_set)
-    OldSelection = property(GetOldSelection,SetOldSelection,doc="See `GetOldSelection` and `SetOldSelection`") 
-    Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") 
-_aui.AuiNotebookEvent_swigregister(AuiNotebookEvent)
-
-class AuiNotebookPage(object):
-    """Proxy of C++ AuiNotebookPage 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
-    window = property(_aui.AuiNotebookPage_window_get, _aui.AuiNotebookPage_window_set)
-    caption = property(_aui.AuiNotebookPage_caption_get, _aui.AuiNotebookPage_caption_set)
-    bitmap = property(_aui.AuiNotebookPage_bitmap_get, _aui.AuiNotebookPage_bitmap_set)
-    rect = property(_aui.AuiNotebookPage_rect_get, _aui.AuiNotebookPage_rect_set)
-    active = property(_aui.AuiNotebookPage_active_get, _aui.AuiNotebookPage_active_set)
-_aui.AuiNotebookPage_swigregister(AuiNotebookPage)
-
-class AuiTabContainerButton(object):
-    """Proxy of C++ AuiTabContainerButton 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
-    id = property(_aui.AuiTabContainerButton_id_get, _aui.AuiTabContainerButton_id_set)
-    cur_state = property(_aui.AuiTabContainerButton_cur_state_get, _aui.AuiTabContainerButton_cur_state_set)
-    location = property(_aui.AuiTabContainerButton_location_get, _aui.AuiTabContainerButton_location_set)
-    bitmap = property(_aui.AuiTabContainerButton_bitmap_get, _aui.AuiTabContainerButton_bitmap_set)
-    dis_bitmap = property(_aui.AuiTabContainerButton_dis_bitmap_get, _aui.AuiTabContainerButton_dis_bitmap_set)
-    rect = property(_aui.AuiTabContainerButton_rect_get, _aui.AuiTabContainerButton_rect_set)
-_aui.AuiTabContainerButton_swigregister(AuiTabContainerButton)
+        """__init__(self) -> AuiSimpleTabArt"""
+        _aui.AuiSimpleTabArt_swiginit(self,_aui.new_AuiSimpleTabArt(*args, **kwargs))
+    __swig_destroy__ = _aui.delete_AuiSimpleTabArt
+    __del__ = lambda self : None;
+_aui.AuiSimpleTabArt_swigregister(AuiSimpleTabArt)
 
 class AuiTabContainer(object):
     """Proxy of C++ AuiTabContainer class"""
 
 class AuiTabContainer(object):
     """Proxy of C++ AuiTabContainer class"""
@@ -1307,6 +1356,10 @@ class AuiNotebook(_core.Control):
         """SetPageText(self, size_t page, String text) -> bool"""
         return _aui.AuiNotebook_SetPageText(*args, **kwargs)
 
         """SetPageText(self, size_t page, String text) -> bool"""
         return _aui.AuiNotebook_SetPageText(*args, **kwargs)
 
+    def SetPageBitmap(*args, **kwargs):
+        """SetPageBitmap(self, size_t page, Bitmap bitmap) -> bool"""
+        return _aui.AuiNotebook_SetPageBitmap(*args, **kwargs)
+
     def SetSelection(*args, **kwargs):
         """SetSelection(self, size_t new_page) -> size_t"""
         return _aui.AuiNotebook_SetSelection(*args, **kwargs)
     def SetSelection(*args, **kwargs):
         """SetSelection(self, size_t new_page) -> size_t"""
         return _aui.AuiNotebook_SetSelection(*args, **kwargs)
@@ -1323,6 +1376,10 @@ class AuiNotebook(_core.Control):
         """GetPage(self, size_t page_idx) -> Window"""
         return _aui.AuiNotebook_GetPage(*args, **kwargs)
 
         """GetPage(self, size_t page_idx) -> Window"""
         return _aui.AuiNotebook_GetPage(*args, **kwargs)
 
+    def GetPageIndex(*args, **kwargs):
+        """GetPageIndex(self, Window page_wnd) -> int"""
+        return _aui.AuiNotebook_GetPageIndex(*args, **kwargs)
+
     def SetArtProvider(*args, **kwargs):
         """SetArtProvider(self, AuiTabArt art)"""
         return _aui.AuiNotebook_SetArtProvider(*args, **kwargs)
     def SetArtProvider(*args, **kwargs):
         """SetArtProvider(self, AuiTabArt art)"""
         return _aui.AuiNotebook_SetArtProvider(*args, **kwargs)
@@ -1331,6 +1388,14 @@ class AuiNotebook(_core.Control):
         """GetArtProvider(self) -> AuiTabArt"""
         return _aui.AuiNotebook_GetArtProvider(*args, **kwargs)
 
         """GetArtProvider(self) -> AuiTabArt"""
         return _aui.AuiNotebook_GetArtProvider(*args, **kwargs)
 
+    def SetUniformBitmapSize(*args, **kwargs):
+        """SetUniformBitmapSize(self, Size size)"""
+        return _aui.AuiNotebook_SetUniformBitmapSize(*args, **kwargs)
+
+    def SetTabCtrlHeight(*args, **kwargs):
+        """SetTabCtrlHeight(self, int height)"""
+        return _aui.AuiNotebook_SetTabCtrlHeight(*args, **kwargs)
+
     PageCount = property(GetPageCount,doc="See `GetPageCount`") 
     Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") 
 _aui.AuiNotebook_swigregister(AuiNotebook)
     PageCount = property(GetPageCount,doc="See `GetPageCount`") 
     Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") 
 _aui.AuiNotebook_swigregister(AuiNotebook)
@@ -1341,18 +1406,22 @@ def PreAuiNotebook(*args, **kwargs):
     self._setOORInfo(self)
     return val
 
     self._setOORInfo(self)
     return val
 
+wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE = _aui.wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE
 wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED = _aui.wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED
 wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING = _aui.wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING
 wxEVT_COMMAND_AUINOTEBOOK_BUTTON = _aui.wxEVT_COMMAND_AUINOTEBOOK_BUTTON
 wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG = _aui.wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG
 wxEVT_COMMAND_AUINOTEBOOK_END_DRAG = _aui.wxEVT_COMMAND_AUINOTEBOOK_END_DRAG
 wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION = _aui.wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION
 wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED = _aui.wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED
 wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING = _aui.wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING
 wxEVT_COMMAND_AUINOTEBOOK_BUTTON = _aui.wxEVT_COMMAND_AUINOTEBOOK_BUTTON
 wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG = _aui.wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG
 wxEVT_COMMAND_AUINOTEBOOK_END_DRAG = _aui.wxEVT_COMMAND_AUINOTEBOOK_END_DRAG
 wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION = _aui.wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION
+wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND = _aui.wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND
+EVT_AUINOTEBOOK_PAGE_CLOSE = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE, 1 )
 EVT_AUINOTEBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED, 1 )
 EVT_AUINOTEBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING, 1 )
 EVT_AUINOTEBOOK_BUTTON = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_BUTTON, 1 )
 EVT_AUINOTEBOOK_BEGIN_DRAG = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG, 1 )
 EVT_AUINOTEBOOK_END_DRAG = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_END_DRAG, 1 )
 EVT_AUINOTEBOOK_DRAG_MOTION = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION, 1 )
 EVT_AUINOTEBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED, 1 )
 EVT_AUINOTEBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING, 1 )
 EVT_AUINOTEBOOK_BUTTON = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_BUTTON, 1 )
 EVT_AUINOTEBOOK_BEGIN_DRAG = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG, 1 )
 EVT_AUINOTEBOOK_END_DRAG = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_END_DRAG, 1 )
 EVT_AUINOTEBOOK_DRAG_MOTION = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION, 1 )
+EVT_AUINOTEBOOK_ALLOW_DND = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND, 1 )
 
 class PyAuiDockArt(AuiDefaultDockArt):
     """
 
 class PyAuiDockArt(AuiDefaultDockArt):
     """