icon = wx.EmptyIcon() icon.CopyFromBitmap(wx.Bitmap("icon.ico", wx.BITMAP_TYPE_ANY)) self.SetIcon(icon)