Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我最近使用 Boa Constructor 来构建 GUI,这是我的问题:
wx.Frame
wx.Panel
wx.BoxSizer
wx.StaticBox
wx.StaticBoxSizer
它每次都崩溃,我不知道为什么?难道我做错了什么?
环境:win 7 Ultimate 64bit / python 2.7.3(32bit) / wxPython 2.8.12.1 / Boa Constructor 0.6.1
发现问题:
Boa Constructor 总是会自动添加wx.StaticBox到wx.BoxSizer你之前创建的 中wx.Panel,并且你必须在添加之前wx.StaticBox删除for ,否则整个程序会崩溃。wx.BoxSizerwx.StaticBoxSizerwx.StaticBox