Supporting both unicode-compiled and non-uni code-compiled wxPython.

It would be much easier for me if I could just set a global switch to
tell wxPython to only return ANSI strings (my application is a
programming tool, and all values entered are things like variable and
method names which are all ANSI strings).

Something like this could probably also be done, but I don't think it
would be worth it. Just use an ansi build of wxPython instead.

-- Alain:
The problem I can see is the following. What if some of my users need to
have the unicode build of wxPython installed on their machine for some other
application that needs it? In a situation like this, those users could not
run both applications on the same machine, unless I make my application
compatible with a unicode build.

It would be nicer if each application was able to tell wxPython whether they
want it to run with or without unicode support.

···

----

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Hi James,

James Carroll wrote:

I would like to run Boa Constructor on my machine, and currently have
wxPython version 2.5.3.1 installed. When I try to run Boa, I get a
message telling me to go back to wxPython 2.4.2.4. Can I insert
something into Boa to run under 2.5.3.1?

Boa 0.3.1 (current release) does not support wxPython 2.5.x. Latest news I have seen from Riaan (developer of Boa) is that 0.4 (which will support wx Python 2.5.x) will be out pretty soon, maybe my xMas!?

Maybe something like:
       import wxversion
      wxversion.select("2.4.2.4")
      import wx

Where would I put it?

Would I have to install 2.4.2.4 or does 2.5.3.1 have a backward

Yes, installing 2.4.2.4 is the version to use with Boa.

See you
Werner

···

compatible binary interface?

Thanks! It's been a while since I've been able to use Boa.
-Jim

On Mon, 13 Dec 2004 12:45:31 -0800, Robin Dunn <robin@alldunn.com> wrote:

Desilets, Alain wrote:
   

The problem I can see is the following. What if some of my users need to
have the unicode build of wxPython installed on their machine for some other
application that needs it? In a situation like this, those users could not
run both applications on the same machine, unless I make my application
compatible with a unicode build.

It would be nicer if each application was able to tell wxPython whether they
want it to run with or without unicode support.
     

I borrowed Guido's time machine and have already implemeted this. Both
ansi and unicode builds can be installed side-by-side. See
http://wiki.wxpython.org/index.cgi/MultiVersionInstalls

       import wxversion
       wxversion.select("2.5-ansi")
       import wx

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org