self.sizer_panelname_staticbox = wx.StaticBox(self, -1, "") sizer_panelname = wx.StaticBoxSizer(self.sizer_panelname_staticbox, wx.HORIZONTAL) these two lines in wxGlade v0.9.3 are in error. Compatibility problem.