I figured out that I can add a panel to the frame, and a panel is much more receptive of keyboard events. import wx class MainWindow(wx.
確定! 回上一頁