From: Devin Mullins Date: 2005-07-18T21:39:07+09:00 Subject: Re: ] Re: Ruby has ruined my Java (was Re: Ruby has ruined my C++) Lothar Scholz wrote: >Sorry but this is not true. > >WxWindows never did this. It has an event table to dispatch events >to handlers methods. > > Ah. You are correct. It's been a while. My mistake. You don't have to, but it's often the easiest way to add handler methods, child windows, etc. and is littered in all their examples. At the very least, you have to subclass and override a couple of methods from wxApp, but I also remember subclassing wxFrame and wxPanel. You are correct, though, in that I never subclassed wxButton. >Of couse you can do it with every toolkit but it nowhere the >recommended programming style and there are good reasons for it. > > No opinion one way or another. Devin