John Salerno wrote: > Steve Holden wrote: > > >>However, if you want to simplify the code, you could start by saying >> >> myNotebook = wx.Notebook >> > > > I don't understand. Is that just a name change in the code?
Let me put it this way: what doesn't it do that your code did? You're right, it *is* just a name change in the code, but if you *do* later want to specialise the notebook behaviour you can replace the assignment with a class definition without changing any of your other code. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.com Skype: holdenweb http://holdenweb.blogspot.com Recent Ramblings http://del.icio.us/steve.holden -- http://mail.python.org/mailman/listinfo/python-list