I am recently trying to learn wxpythong and now I got a problem that when I destroy a panel and creat another one by a function, the panel doesn't shows up untill I change the size of my frame manually.
Code:
import wx
import random
class MyFrame(wx.Frame):
num1=[0,0,0,0,0,0]
num2=[0,0,0,0,0,0]
opp=["-","-","-","-","-","-"]