added selecting notebook page via the contained panel

This commit is contained in:
2021-07-23 18:17:02 +02:00
parent 340f834d04
commit 1152af8cba
+4
View File
@@ -439,6 +439,10 @@ class NotebookDX(wx.Notebook):
name = panel.GetName()
super().AddPage(panel, name, **kwargs)
def SelectPage(self, panel):
index = self.FindPage(panel)
self.SetSelection(index)
class ContainsTextCompleter(wx.TextCompleterSimple):