__init__ | A sized panel |
AddChild | Called automatically by wx, do not call it from user code |
A sized panel
Controls added to it will automatically be added to its sizer.
Usage: ‘self’ is a SizedPanel instance
self.SetSizerType(“horizontal”)
b1 = wx.Button(self, wx.ID_ANY) t1 = wx.TextCtrl(self, -1) t1.SetSizerProps(expand=True)
Called automatically by wx, do not call it from user code