def MakeButtonPanels(self):
    self.buttonPanel1 = wx.Panel(self)
self.Add(self.buttonPanel1, 0, wxALL | wxALIGN_LEFT, 5)
self.buttonPanel2 = wx.Panel(self)
self.Add(self.buttonPanel2, 0, wxALL | wxALIGN_LEFT, 5)
self.buttonPanel2.Show(False)

def HideButtons(self):
    self.buttonPanel1.Show(False)
self.buttonPanel2.Show(True)
self.Layout()
How do you force refresh of a wx.Panel?