Scroll bar problem in wxGrid

The following code is part of a program which displays in a panel (fully filling a window), 4 sized elements : 2 sliders, 4 buttons in a row and a grid. (see image after this message) The grid has 2 lines and 20 columns, being much larger than the window but the horizontal scroll bar is not displayed and the columns outside the displayed area are not visible… Please, who can help or explain my error ? I am using wxPython 3.0 (last) and Python 2.7.8 (last)
#-------------grid definition-------------------------
myGrid = grd.Grid(panel)
myGrid.CreateGrid(2,20)
myGrid.SetRowLabelValue(0,‘FRQ’)
myGrid.SetRowLabelValue(1,‘VOL’)
myGrid.SetColLabelSize(0) # no column labels
myGrid.ShowScrollbars(wx.SHOW_SB_DEFAULT,wx.SHOW_SB_NEVER)
#--------------sizer definitions--------------------------
fslidersizer=wx.BoxSizer(wx.VERTICAL)
vslidersizer=wx.BoxSizer(wx.VERTICAL)
buttonsizer=wx.BoxSizer(wx.HORIZONTAL)
gridsizer=wx.BoxSizer(wx.VERTICAL)
#---------------filling sizers------------------------
fslidersizer.Add(stfrq,0,wx.ALL|wx.CENTER,5) # text added to this sizer
fslidersizer.Add(self.fsld,0,wx.ALL,5) # slider added to this sizer

    vslidersizer.Add(stvlm,0,wx.ALL|wx.CENTER,5)    # text added to this sizer
    vslidersizer.Add(self.vsld,0,wx.ALL,5)          # slider added to this sizer

    buttonsizer.Add(self.startbutton,0,wx.ALL,5)    # button added to this sizer
    buttonsizer.Add(self.playbutton,0,wx.ALL,5)     # button added to this sizer
    buttonsizer.Add(self.stopbutton,0,wx.ALL,5)     # button added to this sizer
    buttonsizer.Add(self.closebutton,0,wx.ALL,5)    # button added to this sizer

    gridsizer.Add(myGrid,1,wx.ALL|wx.EXPAND,5)      # grid added to this sizer

#----------------filling panel sizer-------------------------_
panelsizer=wx.GridSizer(wx.VERTICAL)
panelsizer.Add(fslidersizer,0,wx.TOP,20)
panelsizer.Add(vslidersizer,0,wx.TOP,20)
panelsizer.Add(buttonsizer,0,wx.TOP,20)
panelsizer.Add(gridsizer,0,wx.TOP,10)
panelsizer.FitInside(panel)
panel.SetSizer(panelsizer)

···

#-------------------------------------------------------

Pierre Demetre wrote:

The following code is part of a program which displays in a panel (fully
filling a window), 4 sized elements : 2 sliders, 4 buttons in a row and
a grid. (see image after this message) The grid has 2 lines and 20
columns, being much larger than the window but the horizontal scroll bar
is not displayed and the columns outside the displayed area are not
visible... Please, who can help or explain my error ? I am using
wxPython 3.0 (last) and Python 2.7.8 (last)

Please make a runnable, small as possible, sample application that
demonstrates the problem. MakingSampleApps - wxPyWiki

···

--
Robin Dunn
Software Craftsman