From: Eric F. <ef...@ha...> - 2009-03-06 22:00:58
|
Sandro Tosi wrote: > On Fri, Mar 6, 2009 at 22:12, Sandro Tosi <mo...@de...> wrote: >>>>> import wxversion >>>>> wxversion.select('2.8') >>>>> from wx import * >>>>> wx.__version__ >> '2.8.7.1' >> >> That solves the problem of multi-wx on a system. >> >> What do you think about adding those 2 line into wx examples? > > Moreover, I will provide a patch to move from > >>>> from wx import * > > to > >>>> import wx > > that's much more clear. Just let me know if in the patch I will add > the wxversion.select or no. > > Regards, Sounds good to me, but I am not a wx user, so I might be missing something. The only reservation that occurs to me is this: suppose version 2.10 comes out, and someone has only that installed. Is there a way to select 2.8 or higher, instead of requiring 2.8? Eric |