解决Things are going to break, please only change locale by creating wxLocale objects...
在wxpython中切换页面时发生如下问题:
解决方法:
class MyApp(wx.App):
def OnInit(self):
self.locale = wx.Locale(wx.LANGUAGE_ENGLISH)
frame = MyFrame(None, -1, u'测试内容')
frame.Show()
原创
2017-05-19 15:09:43 ·
1386 阅读 ·
1 评论