Problem with Dynamic Content Layout of a Dia log Box

I've also tried adding the same calls when I add the GridSizer to the
window,
if(self.oBitFieldsGridBox) :
  self.oOuterBoxSizer.Remove(self.oBitFieldsGridBox)
  self.oOuterBoxSizer.Fit(self)
  self.oOuterBoxSizer.Layout()
  self.oOuterBoxSizer.SetSizeHints(self)

this doesn't fix the problem either

I know that a couple of weeks ago I posted something where, in the end, the
problem was that call to Fit() was screwing things up. Once I removed it,
the call to Layout() worked. Have you tried just doing remove and Layout()?

Oliver