[wxpython-users] wx.Frame

Mark Erbaugh mark at microenh.com
Tue Apr 1 12:34:54 PDT 2008


On Tue, 2008-04-01 at 15:07 -0400, Mark Erbaugh wrote:

> I ended up 'solving' this by passing the frame data member name as a
> string and indexing into the frame's __dict__ member, but this seems
> like I am 'cheating'. I think my problem is that I consider double
> underscore data members as reserved for system use. 

Update:

To avoid using the __dict__ Frame member, I added a dict, 'panels' to
the frame, initializing it to {}. Instead of storing the created panels
in __dict__, I now store them in panels.

Mark



More information about the wxpython-users mailing list