On Aug 3, 2008, at 12:23 PM, Paul McNett wrote:
> Why are appendItem(), prependItem(), and insertItem() for internal use
> only?
Because they return raw wx-level items, and thus should not be
callable from outside the framework. They are an implementation detail
we created in order to wrap a Dabo layer around the wx layer.
> This breaks AppWizard apps, and how else would an appdev
> instantiate a dMenuItem and then add it to a dMenu instance?
You're right; I had forgotten that AppWizard uses that old-style
code. I'll add aliases with deprecation warnings so that AppWizard
apps continue to work.
Now that we can pass OnHit and other event handlers to the dMenu
creation methods(append(), insert() and prepend()), there is no longer
a need to use the two-step process involving a separate wrapping of
the wx layer.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]