wxPython在frame窗口修改图标
self.m_panel4 = wx.Panel( self.m_notebook5, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
#添加下面两行
self.icon1=wx.Icon(name="sunny.ico",type=wx.BITMAP_TYPE_ICO)
self.SetIcon(self.icon1)
self.m_panel4 = wx.Panel( self.m_notebook5, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
#添加下面两行
self.icon1=wx.Icon(name="sunny.ico",type=wx.BITMAP_TYPE_ICO)
self.SetIcon(self.icon1)