John Wohlbier wrote:
Hi,
In Sunday, February 22, 2004, 5:15:04 PM, John wrote:
> I would like to create a wxNotebook, and within one of the
> panels, add another wxNotebook. I know it can be done b/c
> it is done in the demo, but I can't figure out how. Below
> is my first try, with the creation of the second notebook
> commented out since it doesn't work. Can someone give me a clue?
> Thanks!>After creating a panel in the page (on the first notebook) you want to
>place the second notebook, add a sizer to the panel and then add the
>second notebook to the sizer (instead of only adding the second
>notebook to the panel).This is my attempt at the suggestion. It is progress, but
something still seems not right. Only a little corner of
the subpanel shows ... suggestions?
You didn't tell the panel to use the sizer:
self.firstPanel.SetSizer(self.firstPanel.box)
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!