<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="generator" content="Docutils 0.4: http://docutils.sourceforge.net/" />
-<title>Building wxPython 2.7 for Development and Testing</title>
+<title>Building wxPython 2.8 for Development and Testing</title>
<link rel="stylesheet" href="default.css" type="text/css" />
</head>
<body>
-<div class="document" id="building-wxpython-2-7-for-development-and-testing">
-<h1 class="title">Building wxPython 2.7 for Development and Testing</h1>
+<div class="document" id="building-wxpython-2-8-for-development-and-testing">
+<h1 class="title">Building wxPython 2.8 for Development and Testing</h1>
<p>This file describes how I build wxWidgets and wxPython while doing
development and testing, and is meant to help other people that want
to do the same thing. I'll assume that you are using either a CVS
snapshot from <a class="reference" href="http://wxWidgets.org/snapshots/">http://wxWidgets.org/snapshots/</a>, a checkout from CVS, or
-one of the released wxPython-src-2.7.* tarballs. I'll also assume that
+one of the released wxPython-src-2.8.* tarballs. I'll also assume that
you know your way around your system, the compiler, etc. and most
importantly, that you know what you are doing! ;-)</p>
<p>If you want to also install the version of wxPython you build to be in
cd $WXDIR
mkdir bld
cd bld
-../configure --prefix=/opt/wx/2.7 \
+../configure --prefix=/opt/wx/2.8 \
--with-gtk \
--with-gnomeprint \
--with-opengl \
</pre>
<p>On OS X of course you'll want to use --with-mac instead of
--with-gtk and --with-gnomeprint.</p>
-<p>Notice that above I used a prefix option of "/opt/wx/2.7". You can
+<p>Notice that above I used a prefix option of "/opt/wx/2.8". You can
use whatever path you want, such as a path in your HOME dir or even
one of the standard prefix paths such as /usr or /usr/local if you
like, but using /opt this way lets me easily have multiple versions
and ports of wxWidgets "installed" and makes it easy to switch
between them, without impacting any versions of wxWidgets that may
have been installed via an RPM or whatever. For the rest of the
-steps below be sure to also substitute "/opt/wx/2.7" with whatever
+steps below be sure to also substitute "/opt/wx/2.8" with whatever
prefix you choose for your build.</p>
<p><strong>NOTE</strong>: Due to a recent change there is currently a dependency
problem in the multilib builds of wxWidgets on OSX, so I have
.make install
</pre>
<p>When it's done you should have an installed set of files under
-/opt/wx/2.7 containing just wxWidgets. Now to use this version of
-wxWidgets you just need to add /opt/wx/2.7/bin to the PATH and set
-LD_LIBRARY_PATH (or DYLD_LIBRARY_PATH on OS X) to /opt/wx/2.7/lib.</p>
+/opt/wx/2.8 containing just wxWidgets. Now to use this version of
+wxWidgets you just need to add /opt/wx/2.8/bin to the PATH and set
+LD_LIBRARY_PATH (or DYLD_LIBRARY_PATH on OS X) to /opt/wx/2.8/lib.</p>
</li>
<li><p class="first">I also have a script to help me build wxPython and it is checked in
to the CVS as wxWidgets/wxPython/b, but you probably don't want to
other version of it found first, then you can add this to the
command line to ensure your new one is used instead:</p>
<pre class="literal-block">
-WX_CONFIG=/opt/wx/2.7/bin/wx-config
+WX_CONFIG=/opt/wx/2.8/bin/wx-config
</pre>
<p>By default setup.py will assume that you built wxWidgets to use
GTK2. If you built wxWidgets to use GTK 1.2.x then you should add
PYTHONPATH to the wxPython dir located in the source tree. For
example:</p>
<pre class="literal-block">
-export LD_LIBRARY_PATH=/opt/wx/2.7/lib
+export LD_LIBRARY_PATH=/opt/wx/2.8/lib
export PYTHONPATH=$WXDIR/wxPython
cd $WXDIR/wxPython/demo
python2.5 demo.py
<div class="document" id="recent-changes-for-wxpython">
<h1 class="title">Recent Changes for wxPython</h1>
<div class="section">
-<h1><a id="id1" name="id1">2.7.2.0</a></h1>
+<h1><a id="id1" name="id1">2.8.0.0</a></h1>
+<ul class="simple">
+<li></li>
+</ul>
+<p>Lots of fixes and updates to the AUI classes.</p>
+<p>Added wx.CollapsiblePane. On wxGTK it uses a native expander widget,
+on the other platforms a regular button is used to control the
+collapsed/expanded state.</p>
+<p>Added the wx.combo module, which contains the ComboCtrl and ComboPopup
+classes. These classes allow you to implement a wx.ComboBox-like
+widget where the popup can be nearly any kind of widget, and where you
+have a lot of control over other aspects of the combo widget as well.
+It works very well on GTK and MSW, using native renderers for drawing
+the combo button, but is unfortunatly still a bit klunky on OSX...</p>
+<p>Use system default paper size for printing instead of A4 by default.</p>
+<p>Added wx.combo.OwnerDrawnComboBox, which is a ComboCtrl that delegates
+the drawing of the items in the popup and in the control itself to
+overridden methods of a derived class, similarly to how wx.VListBox
+works.</p>
+<p>Added wx.combo.BitmapComboBox which is a combobox that displays a
+bitmap in front of the list items.</p>
+</div>
+<div class="section">
+<h1><a id="id2" name="id2">2.7.2.0</a></h1>
<ul class="simple">
<li>7-Nov-2006</li>
</ul>
(assuming the quicktime DLLs are available on the system.)</p>
</div>
<div class="section">
-<h1><a id="id2" name="id2">2.7.1.3</a></h1>
+<h1><a id="id3" name="id3">2.7.1.3</a></h1>
<ul class="simple">
<li>26-Oct-2006</li>
</ul>
the new wx.GraphicsContext and wx.GraphicsPath classes.</p>
</div>
<div class="section">
-<h1><a id="id3" name="id3">2.7.1.2</a></h1>
+<h1><a id="id4" name="id4">2.7.1.2</a></h1>
<ul class="simple">
<li>21-Oct-2006</li>
</ul>
<p>Fixed refcount leak in wx.Window.GetChildren.</p>
</div>
<div class="section">
-<h1><a id="id4" name="id4">2.7.1.1</a></h1>
+<h1><a id="id5" name="id5">2.7.1.1</a></h1>
<ul class="simple">
<li>18-Oct-2006</li>
</ul>
project. This has resulted in some minor API changes, most of which
were worked around in the wrapper code.</p>
<p>Added wx.lib.delayedresult from Oliver Schoenborn.</p>
-<p>Added wx.lib.expando, a multi-line textctrl that exands as more lines
+<p>Added wx.lib.expando, a multi-line textctrl that expands as more lines
are needed.</p>
<p>wx.Image.Scale and Rescale methods now take an extra parameter
specifying type of method to use for resampling the image. It
provide a way to show a standard About box for the application, which
will either be a native dialog or a generic one depending on what info
is provided and if it can all be shown with the native dialog.</p>
-<p>The code in the animate contrib has been moved into the code wxWidgets
+<p>The code in the animate contrib has been moved into the core wxWidgets
library, and refactored a bit along the way. For wxPython it still
exists in the wx.animate module, but has basically been reduced to two
classes, wx.animate.Animation, and wx.animate.AnimationCtrl. You load
wx.Window.IsDoubleBuffered method.</p>
</div>
<div class="section">
-<h1><a id="id5" name="id5">2.6.3.3</a></h1>
+<h1><a id="id6" name="id6">2.6.3.3</a></h1>
<ul class="simple">
<li>15-July-2006</li>
</ul>
have been resolved.</p>
</div>
<div class="section">
-<h1><a id="id6" name="id6">2.6.3.2</a></h1>
+<h1><a id="id7" name="id7">2.6.3.2</a></h1>
<ul class="simple">
<li>3-April-2006</li>
</ul>
is selected only with the keyboard.</p>
</div>
<div class="section">
-<h1><a id="id7" name="id7">2.6.3.0</a></h1>
+<h1><a id="id8" name="id8">2.6.3.0</a></h1>
<ul class="simple">
<li>27-March-2006</li>
</ul>
<p>Added wx.StandardPaths.GetDocumentsDir() (patch 1214360)</p>
</div>
<div class="section">
-<h1><a id="id8" name="id8">2.6.2.1</a></h1>
+<h1><a id="id9" name="id9">2.6.2.1</a></h1>
<ul class="simple">
<li>10-Jan-2006</li>
</ul>
pair: (...x, y, ...) ---> (...(x,y), ...)</blockquote>
</div>
<div class="section">
-<h1><a id="id9" name="id9">2.6.1.0</a></h1>
+<h1><a id="id10" name="id10">2.6.1.0</a></h1>
<ul class="simple">
<li>4-June-2005</li>
</ul>
change will get written at the next flush.</p>
</div>
<div class="section">
-<h1><a id="id10" name="id10">2.6.0.1</a></h1>
+<h1><a id="id11" name="id11">2.6.0.1</a></h1>
<ul class="simple">
<li>30-May-2005</li>
</ul>
of a wx.TextCtrl.)</p>
</div>
<div class="section">
-<h1><a id="id11" name="id11">2.6.0.0</a></h1>
+<h1><a id="id12" name="id12">2.6.0.0</a></h1>
<ul class="simple">
<li>26-Apr-2005</li>
</ul>
</dl>
</div>
<div class="section">
-<h1><a id="id12" name="id12">2.5.5.1</a></h1>
+<h1><a id="id13" name="id13">2.5.5.1</a></h1>
<ul class="simple">
<li>8-Apr-2005</li>
</ul>
<p>Added the ActiveGrid IDE as a sample application.</p>
</div>
<div class="section">
-<h1><a id="id13" name="id13">2.5.4.1</a></h1>
+<h1><a id="id14" name="id14">2.5.4.1</a></h1>
<ul class="simple">
<li>16-Mar-2005</li>
</ul>
</dl>
</div>
<div class="section">
-<h1><a id="id14" name="id14">2.5.3.1</a></h1>
+<h1><a id="id15" name="id15">2.5.3.1</a></h1>
<ul class="simple">
<li>9-Nov-2004</li>
</ul>
version installs, and comes with an uninstaller script.</p>
</div>
<div class="section">
-<h1><a id="id15" name="id15">2.5.2.8</a></h1>
+<h1><a id="id16" name="id16">2.5.2.8</a></h1>
<ul class="simple">
<li>27-Aug-2004</li>
</ul>
</blockquote>
</div>
<div class="section">
-<h1><a id="id16" name="id16">2.5.2.7</a></h1>
+<h1><a id="id17" name="id17">2.5.2.7</a></h1>
<ul class="simple">
<li>14-Aug-2004</li>
</ul>
<p>Floats are allowed again as function parameters where ints are expected.</p>
</div>
<div class="section">
-<h1><a id="id18" name="id18">2.4.2.4</a></h1>
+<h1><a id="id19" name="id19">2.4.2.4</a></h1>
<ul class="simple">
<li>1-Oct-2003</li>
</ul>
<p>Added Chris Barker's FloatCanvas.</p>
</div>
<div class="section">
-<h1><a id="id19" name="id19">2.4.1.2</a></h1>
+<h1><a id="id20" name="id20">2.4.1.2</a></h1>
<ul class="simple">
<li>19-Jun-2003</li>
</ul>
<p>Added wxCursorFromBits.</p>
</div>
<div class="section">
-<h1><a id="id20" name="id20">2.4.0.7</a></h1>
+<h1><a id="id21" name="id21">2.4.0.7</a></h1>
<ul class="simple">
<li>24-Mar-2003</li>
</ul>
<p>Updated to 0.9b of PyCrust.</p>
</div>
<div class="section">
-<h1><a id="id21" name="id21">2.4.0.4</a></h1>
+<h1><a id="id22" name="id22">2.4.0.4</a></h1>
<ul class="simple">
<li>7-Mar-2003</li>
</ul>
<p>Updated to the 0.9a version of PyCrust</p>
</div>
<div class="section">
-<h1><a id="id22" name="id22">2.4.0.2</a></h1>
+<h1><a id="id23" name="id23">2.4.0.2</a></h1>
<ul class="simple">
<li>23-Jan-2003</li>
</ul>
<p>Added wxPyColourChooser by Michael Gilfix.</p>
</div>
<div class="section">
-<h1><a id="id23" name="id23">2.4.0.1</a></h1>
+<h1><a id="id24" name="id24">2.4.0.1</a></h1>
<ul class="simple">
<li>10-Jan-2003</li>
</ul>
wxPython/lib/dialogs.py for more details.</p>
</div>
<div class="section">
-<h1><a id="id24" name="id24">2.3.4.2</a></h1>
+<h1><a id="id25" name="id25">2.3.4.2</a></h1>
<ul class="simple">
<li>21-Dec-2002</li>
</ul>
<p>Various bug fixes.</p>
</div>
<div class="section">
-<h1><a id="id25" name="id25">2.3.4.1</a></h1>
+<h1><a id="id26" name="id26">2.3.4.1</a></h1>
<ul class="simple">
<li>18-Dec-2002</li>
</ul>
and added a script to launch the doc viewer.</p>
</div>
<div class="section">
-<h1><a id="id26" name="id26">2.3.3.1</a></h1>
+<h1><a id="id27" name="id27">2.3.3.1</a></h1>
<ul class="simple">
<li>19-Sep-2002</li>
</ul>
<p>Added wxTimeCtrl from Will Sadkin.</p>
</div>
<div class="section">
-<h1><a id="id27" name="id27">2.3.2.1</a></h1>
+<h1><a id="id28" name="id28">2.3.2.1</a></h1>
<ul class="simple">
<li>20-Dec-2001</li>
</ul>
<p>Added some patches from library contributors.</p>
</div>
<div class="section">
-<h1><a id="id28" name="id28">2.3.2</a></h1>
+<h1><a id="id29" name="id29">2.3.2</a></h1>
<ul class="simple">
<li>11-Dec-2001</li>
</ul>
details.</p>
</div>
<div class="section">
-<h1><a id="id29" name="id29">2.3.1</a></h1>
+<h1><a id="id30" name="id30">2.3.1</a></h1>
<ul class="simple">
<li>10-Jul-2001</li>
</ul>
<p>Added enhanced wxVTKRenderWindow by Prabhu Ramachandran</p>
</div>
<div class="section">
-<h1><a id="id30" name="id30">2.3.0</a></h1>
+<h1><a id="id31" name="id31">2.3.0</a></h1>
<ul class="simple">
<li>22-May-2001</li>
</ul>
wxPython/samples.</p>
</div>
<div class="section">
-<h1><a id="id31" name="id31">2.2.7</a></h1>
+<h1><a id="id32" name="id32">2.2.7</a></h1>
<ul class="simple">
<li>19-Jun-2001</li>
</ul>
changes and fixes in the wxWindows library.</p>
</div>
<div class="section">
-<h1><a id="id32" name="id32">2.2.5</a></h1>
+<h1><a id="id33" name="id33">2.2.5</a></h1>
<ul class="simple">
<li>30-Jan-2001</li>
</ul>