Python 2.7
Ubuntu 12.04
My code is available here.
I'm trying to put together a base for myself to make creating wxPython apps easier, I'm using the set up of my last program as that base but it's not working properly.
The problem arises when I try to bind a button to a function, this is the same layout that has worked for me before but now when I try to start the program with the button and the bind in place I get this error:
AttributeError: 'my_panel' object has no attribute 'on_quit'
If I remove the bind the program launches.
What's going on?
I've looked at other questions regarding this and it seems that most of the time it's a typing error, I've looked but I cannot find one.