[wxPython-users] 2 panels in a NotebookPage
Matthieu Brucher
matthieu.brucher at gmail.com
Thu Oct 25 02:08:36 PDT 2007
>
> 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.
Matthieu Brucher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200710=
25/2eb4784c/attachment.htm
More information about the wxpython-users
mailing list