wx.GridBagSizer inside another sizer ...

I have a GridBagSizer contained inside three nested wx.BoxSizers, the final
two being left and right sides of a box. The last row of the sizer is
growable. When I add a wx.TextCtrl to that row with wx.EXPAND set, the text
control grows beyond the bounds of the sizer -- and in fact beyond the
bounds of the frame. I could be wrong, but I'm fairly sure this isn't the
way it's supposed to work.

I'll play around a bit to see what if there's something I can do to
alleviate this, but for the time being, here's the code (bear in mind that
it's a work in progress so any obvious issues you see NOT related to this
problem, will probably be taken care of anyway :slight_smile:

wxMimeTypesManager.py (6.65 KB)