I notice that wxGlade (gui builder for wxPython) is enforcing a sizer as the first child element for wx.Frame which seems odd to me since almost every book and tutorial out there suggests to use a wx.Panel as the first child element.
So if I want to have a wx.Panel as the base for my gui (for example to have a consistent default background color on Windows) I have to go:
wx.Frame -> Sizer (1,1) -> wx.Panel -> Sizer (x,x) -> Content
instead of
wx.Frame -> wx.Panel -> Content
Out of curiosity can somebody explain this design decision to me?