# The signature of the wx.Frame constructor is:
# wx.Frame__init__(self, parent, id = -1, title =' ', pos = wx.DeFaultPosition,
size = wx.DeFaultSize, style = wx.DEFAULT_FRAME_STYLE,
name = 'frame')
# id = -1 ( program 會自動給一個 id )
# -1 is same as wx.ID_ANY
# id = wx.ID_ANY ( recommended, because easy for people to read )
import wx
class MainWindow(wx.Frame): # 自己定義一個 class, 繼承了 wx.Frame