im trying to create global variables of wx.Panel, wx.Button, and w开发者_JS百科x.TextCtrl,
so that i can "Edit" them in different functions
coming from a java background i thought maybe "panel = wx.Panel()" outside all functions might work but i get an error saying i need to send arguments to it, and i dont know what those arguments should be.
disclaimer: i'm a python noobie.
It takes the arguments defined by the wxPanel constructor.
精彩评论