On 10/11/2013 08:24 AM, Werner F. Bruhin wrote:
Hi Ed,

On 11/10/2013 17:07, Ed Leafe wrote:
On Oct 11, 2013, at 10:03 AM, Werner F. Bruhin <werner.bru...@free.fr> 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

Hey Werner,

I'd be more than willing to help! I could do some testing etc.. I have several projects that push Dabo. My guess it will help find errors and issues.

Why not setup a fork and we can test against the fork.

Johnf

_______________________________________________
Post Messages to: Dabo-users@leafe.com
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/52582042.8040...@jfcomputer.com

Reply via email to