Instead of running the phoenix test multiple times in the code, I think it
would be cleaner in uiwx/__init__.py to add an attribute like this:
phoenix = "phoenix" in wx.PlatformInfo
... and then in the various parts of the code where you need this, write:
if ui.phoenix:
do_phoenix_stuff()
else:
do_original_stuff()
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]