Philip, Let's try to keep the conversation on the list -- it's nice to have the archive.
> The widget class you wrote goes a long way (especially since not much is > obvious to me at this point). I've been stepping through code, lining > things up visually, and just added a wxPanel with the new Widget class. > The next step will be to add controls to the panel, so hopefully sizers > can be used. I'm not quite sure what you have in mind here -- do you want a wx.Panel, with assorted widgets on it, on the Canvas? If so, then you should be able to put your Panel on there similarly to how I put the Button on in that example. In which case, I think using sizers, etc on your Panel should be just fine -- there may be some need for a .Layout() call in there, but maybe not. >If not, I'll assume the panel itself has to subclass a FC > and go from there. making your panel a subclass of FC could get tricky, FC very much expects that it is drawing itself completely. But again, I'm a bit confused as to what you are going for. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [email protected] _______________________________________________ FloatCanvas mailing list [email protected] http://paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas
