Matthieu Brucher wrote:
wx.NotebookPage is essentially just a wx.Panel with an EVT_SIZE handler
that forces the first child window to completely cover itself. This
was
a convenience class to help work around an old redraw bug on wxGTK. I
don't think there is any reason to use it any more, so you can just use
a wx.Panel for the page window and layout things on it as needed.This explains everything, thank you !
I used NoteBookPage because on the wxwidgets site, this was the class that the Add() method was supposed to have as an argument.
Yeah, that is misleading. In C++ wxNotebookPage is actually a macro that evaluates to wxWindow.
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!