Viro
Registered
Kinniken said:Oh, concerning step one, I have to admit I forgot how you call a parent's function when overloading it in a child class (apart from constructors)... Do you remember?
I haven't used wxWidgets for a while, and I'm not certain of the other bits of your questions. This I am certain. To call your parent classes method, just do ParentClass::methodname(). It's simple .
I'm a little fuzzy on the message map pattern. If it is anything similar to the observer pattern common in other OO libraries (or signal/slots in Qt), you should be able to bind a message to any method, even multiple methods to a single message. In lieu of any better advice, you could just play around with what you think should work. In my experience, C++ is usually quite consistent :ha: and what you think would work normally does.