On Dec 16, 2007, at 10:36 PM, Adrian Klaver wrote:

> Just a wild thought, why not make the form a panel or is that not  
> possible?

        It's not possible. The problem is wxPython's particular distinction  
between a 'frame', which they see as simply an outer shell, and  
panels, which they see as the basic building blocks. wx.Frame is  
pretty lame for anything except the external windowing functions.

        What we had proposed in the pass is automagically adding a panel to  
every form, and intercepting all calls to adding objects to the form  
and add them to the panel instead. That proved problematic from both  
a practical and a conceptual point of view, and so the decision was  
to leave things as they are, and simply require developers to add the  
panel themselves. It trips up most newcomers, but once you are aware  
of the limitation, it becomes pretty automatic.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to