Creating a Figure in a wx.Panel(or a NotebookPage more precisely)


I’m trying to integrate a Figure Canvas with a ToolBar in an application that uses a noteboo for displaying several graphs.
My problem is that using a NotebookPanel leads to the FigureCanvas taking all the space in the panel, the toolbar is not usable (it isn’t even displayed with a light gray background) and so are other widgets I want to use.

If I replace the NotebookPage by Frame, everything works fine (but it is not integrated in my application…).
Is there something that we should know about the use of FigureCanvas in a Panel ?