A couple tiny notes:
hbox1.Add(tName, 1, wx.ALL|wx.RIGHT, 2)
No need to for wx.ALL and wx.RIGHT:
>>> wx.ALL == wx.RIGHT | wx.LEFT | wx.TOP | wx.BOTTOM
True
Also, I never nest panels, etc in a single class. If you need a panel to put your controls on, chances are you need a custom Panel class. In this example, it's fine, but in this example you don't really need the Panel anyway. I'm assuming you are working up to something more complex. Enclosed is my refactoring.
-Chris
multibox2.py (2.03 KB)
···
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov