Hi Ed,
On 11/10/2013 17:07, Ed Leafe wrote:
On Oct 11, 2013, at 10:03 AM, Werner F. Bruhin <[email protected]> wrote:
Would this be o.k.:
if 'phoenix' in wx.PlatformInfo:
do phoenix specific code
else:
here the existing code
I think that using wx.VERSION would be more stable, since 'phoenix' is a
development code name. How about:
if wx.VERSION[0] >= 3:
etc.
I believe there will be a wxPython 3.0 classic which above will not cover.
Should have mentioned it but above is also what Robin is suggestion for
code which should work with both classic and phoenix - see thread "What
is the approved way to detect Phoenix?" on wxPython-users in mid Feb 2013.
Following might be useful for anyone doing Phoenix related work.
http://wxpython.org/Phoenix/docs/html/MigrationGuide.html
http://wxpython.org/Phoenix/docs/html/classic_vs_phoenix.html#classic-vs-phoenix
Werner
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]