corrected function name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -765,11 +765,11 @@ directly in site-packages. This is done to help facilitate having
|
|||||||
multiple versions of wxPython installed side-by-side. Why would you
|
multiple versions of wxPython installed side-by-side. Why would you
|
||||||
want to do this? One possible scenario is you have an app that
|
want to do this? One possible scenario is you have an app that
|
||||||
requires wxPython 2.4 but you want to use the newest 2.5 to do your
|
requires wxPython 2.4 but you want to use the newest 2.5 to do your
|
||||||
development with. Or perhaps you want to be able to test your app
|
own development with. Or perhaps you want to be able to test your app
|
||||||
with several different versions of wxPython to ensure compatibility.
|
with several different versions of wxPython to ensure compatibility.
|
||||||
Before everyone panics, rest asured that if you only install one
|
Before everyone panics, rest asured that if you only install one
|
||||||
version of wxPython then you should notice no difference in how
|
version of wxPython then you should notice no difference in how things
|
||||||
things work.</p>
|
work.</p>
|
||||||
<p>In addition to installing wxPython into a "versioned" subdirectory of
|
<p>In addition to installing wxPython into a "versioned" subdirectory of
|
||||||
site-packages, a file named <cite>wx.pth</cite> is optionally installed that will
|
site-packages, a file named <cite>wx.pth</cite> is optionally installed that will
|
||||||
contain the name of the versioned subdirectory. This will cause that
|
contain the name of the versioned subdirectory. This will cause that
|
||||||
@@ -788,7 +788,7 @@ runtime so your applications can select which version of wxPython they
|
|||||||
would like to to have imported. You use it like this:</p>
|
would like to to have imported. You use it like this:</p>
|
||||||
<pre class="literal-block">
|
<pre class="literal-block">
|
||||||
import wxversion
|
import wxversion
|
||||||
wxversion.require("2.4")
|
wxversion.select("2.4")
|
||||||
import wx
|
import wx
|
||||||
</pre>
|
</pre>
|
||||||
<p>Then eventhough a 2.5 version of wxPython may be the default the
|
<p>Then eventhough a 2.5 version of wxPython may be the default the
|
||||||
|
@@ -849,11 +849,11 @@ directly in site-packages. This is done to help facilitate having
|
|||||||
multiple versions of wxPython installed side-by-side. Why would you
|
multiple versions of wxPython installed side-by-side. Why would you
|
||||||
want to do this? One possible scenario is you have an app that
|
want to do this? One possible scenario is you have an app that
|
||||||
requires wxPython 2.4 but you want to use the newest 2.5 to do your
|
requires wxPython 2.4 but you want to use the newest 2.5 to do your
|
||||||
development with. Or perhaps you want to be able to test your app
|
own development with. Or perhaps you want to be able to test your app
|
||||||
with several different versions of wxPython to ensure compatibility.
|
with several different versions of wxPython to ensure compatibility.
|
||||||
Before everyone panics, rest asured that if you only install one
|
Before everyone panics, rest asured that if you only install one
|
||||||
version of wxPython then you should notice no difference in how
|
version of wxPython then you should notice no difference in how things
|
||||||
things work.
|
work.
|
||||||
|
|
||||||
In addition to installing wxPython into a "versioned" subdirectory of
|
In addition to installing wxPython into a "versioned" subdirectory of
|
||||||
site-packages, a file named `wx.pth` is optionally installed that will
|
site-packages, a file named `wx.pth` is optionally installed that will
|
||||||
@@ -874,7 +874,7 @@ runtime so your applications can select which version of wxPython they
|
|||||||
would like to to have imported. You use it like this::
|
would like to to have imported. You use it like this::
|
||||||
|
|
||||||
import wxversion
|
import wxversion
|
||||||
wxversion.require("2.4")
|
wxversion.select("2.4")
|
||||||
import wx
|
import wx
|
||||||
|
|
||||||
Then eventhough a 2.5 version of wxPython may be the default the
|
Then eventhough a 2.5 version of wxPython may be the default the
|
||||||
|
Reference in New Issue
Block a user