Merge pull request #2788 from jmoraleda/auinotebook-warning-fix

Add non-zero width and height to default tab size to avoid wxWidgets warning
This commit is contained in:
Scott Talbert
2025-09-06 18:13:12 -04:00
committed by GitHub

View File

@@ -926,7 +926,7 @@ class AuiTabContainer(object):
self._tab_close_buttons = []
self._click_tab = None
self._rect = wx.Rect()
self._rect = wx.Rect(0, 0, 1, 1)
self._auiNotebook = auiNotebook
self.AddButton(AUI_BUTTON_LEFT, wx.LEFT, name="Scroll Left")