TiNo wrote:
How do I get the Notebookpage (a wx.Panel) I just created to be the
selected one?
I tried Panel.SetFocus() and Panel.SetFocusIgnoringChildren() but
neither worked.
Tell the wx.Notebook to select it, with yournotebook.SetSelection(n) where n is the index for the Panel you just added. If you don't know what index it is, use yournotebook.GetPageCount() - 1.
-Peter