Do not use the default FoldPanelBar size. For some reason, the widget seems to be acting stupid. If you specify a size, the scroll bars will display correctly.
import wx import wx.lib.agw.foldpanelbar as fpb import wx.lib.scrolledpanel as scrolled class MyPanel(scrolled.ScrolledPanel): def __init__(self, parent): scrolled.ScrolledPanel.__init__(self, parent=parent, size=parent.GetSize(), style = wx.ALL|wx.EXPAND)
You may consider sending errors for this to the wxPython project.
source share