def GetTabSize(self, dc, wnd, caption, bitmap, active, close_button_state, control=None):
        
        tab_size, x_extent = AuiDefaultTabArt.GetTabSize(self, dc, wnd, caption, bitmap,
                                                         active, close_button_state, control)

        tab_width, tab_height = tab_size        

        # add some padding
        tab_width += self._leftActiveBmp.GetWidth()
        tab_height += 2

        tab_height = max(tab_height, self._centerActiveBmp.GetHeight())        

        return (tab_width, tab_height), x_extent
Stock: sm_stock_2 =                      
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/wx/wx_upstream/aui/tabart.py/ChromeTabArt.GetTabSize--crossover with--dataset/ETHPy150Open JamesPHoughton/pysd/tests/old_tests/vensim/test_smooth.py/Components.sm_stock_2