<div class="document" id="recent-changes-for-wxpython">
<h1 class="title">Recent Changes for wxPython</h1>
<div class="section" id="id1">
-<h1><a name="id1">2.6.0.1</a></h1>
+<h1><a name="id1">2.6.1.0</a></h1>
+<ul class="simple">
+<li>4-June-2005</li>
+</ul>
+<p>wx.ListCtrl: patch #1210352, fixes editing in generic wx.ListCtrl with
+wx.LC_EDIT_LABELS.</p>
+<p>Applied patch #208286, MediaCtrl DirectShow rewrite.</p>
+<p>DocView patches from Morgan Hua: bug fixes, and additional SVN
+commands, also added a default template that uses the text editor for
+any unknown file type.</p>
+<p>wxMSW: Use the system IDC_HAND cursor for wx.CURSOR_HAND and only fallback
+to the strange wxWidgets version if the system one is not available.</p>
+<p>wx.grid.Grid: Merge the cell size attribute the same way that other
+attributes are merged, e.g., if it is already set to a non-default
+value in the current GridCellAttr object then don't merge from the
+other.</p>
+<p>wx.lib.evtmgr: Fixed to use wx._core._wxPyDeadObject</p>
+<p>wx.lib.gridmovers: Don't scroll when the mouse is dragged outside of
+the grid, unless the mouse is kept in motion.</p>
+<p>wxMSW: Applied patch #1213290 incorrect logic in
+wx.TopLevelWindow.ShowFullScreen.</p>
+<p>Applied patch #1213066 correct device names for Joystick in Linux.</p>
+<p>wxGTK: Applied patch #1207162 wx.TextCtrl.SetStyle fix for overlapping
+calls.</p>
+<p>wx.FileConfig: fixed DeleteEntry to set the dirty flag properly so the
+change will get written at the next flush.</p>
+</div>
+<div class="section" id="id2">
+<h1><a name="id2">2.6.0.1</a></h1>
+<ul class="simple">
+<li>30-May-2005</li>
+</ul>
<p>Added wx.BrushFromBitmap to create a stippled brush in a single step.
Also added missing brysh style flags: wx.STIPPLE_MASK
wx.STIPPLE_MASK_OPAQUE.</p>
-<p>wxMSW: Fix for controls when the system text fg colour is not black.</p>
+<p>wxMSW: Fix for default control colours when the system text fg colour
+is not black.</p>
<p>wxGTK: Patch #1171754, It is now possible to have a menu item that
both has an icon and is a submenu.</p>
<p>wxMSW: Patch #1197009, better refreshes when windows are moved and
DeferWindowPos set, then the pending values can be used for defaults
instead of current values.</p>
<p>Fixed the typemap that converts a Python list of strings to a
-wxArrayString so it uses the wxPy default encoding.</p>
+wxArrayString so it uses the wxPython default encoding.</p>
<p>Several docstrings added and updated. Lots more to go.</p>
+<p>wxMac: Strings added to the clipboard or used in DnD no longer have an
+extra null character at the end.</p>
+<p>Added wx.GetXDisplay that returns a raw swigified pointer for the X11
+Display, or None for the non-X11 platforms.</p>
+<p>wxMenu: Don't send an event when selecting an already selected radio
+item.</p>
+<p>Added wx.LaunchDefaultBrowser.</p>
+<p>wxMSW: Fixed erroneous selection of content in wx.ComboBox when within
+a wx.StaticBox.</p>
+<p>wxMSW: Fixed alpha blitting to take into account source position.</p>
+<p>Ensure that Python is still in an initialized state before doing any
+locking or unlocking in wxPyBeginBlockThreads and wxPyEndBlockThreads
+as these can be triggered after Python has been finalized in embedding
+situations.</p>
+<p>Added alternate constructors for wx.Font: wx.FontFromPixelSize,
+wx.FFont, wx.FFontFromPixelSize. See the docstrings or new api docs
+for details.</p>
+<p>Added wx.lib.hyperlink from Andrea Gavana. It is a control like
+static text that acts like a hyper-link, launching the system's
+default browser in response to the clicks.</p>
+<p>Added an optional parameter to wxversion.select that allows you to
+specify that the extra components specified in the version string are
+required. For example, if you ask for "2.6-unicode" but only the ansi
+version is installed then by default the ansi version will be selected
+as it considered close enough since the version numbers match. If you
+want to force the options to be required then you can just add a True
+parameter, like this:</p>
+<pre class="literal-block">
+import wxversion
+wxversion.select("2.6-unicode", True)
+import wx
+</pre>
+<p>Tweaked wx.lib.buttons such that flat buttons (e.g. have no bevel and
+a wx.BORDER_NONE style flag) paint themed backgrounds if there are
+transparent areas and the parent is displaying a theme.</p>
+<p>wxMSW: Fix for wrong sash colour of wx.SplitterWindow in the silver
+theme on XP.</p>
+<p>Added a wx.xrc.XmlResourceHandler for the Ticker class. See
+wx/lib/ticker_xrc.py</p>
+<p>wxSTC: Fixed CmdKeyAssign key bindings for Ctrl-Backspace.</p>
+<p>wxMSW: Fixed a bug in wx.TextCtrl where all the lines were being used
+to calculate the best size, instead of using a reasonable limit.</p>
+<p>XRCed: Use wx.GetDefaultPyEncoding/wx.SetDefaultPyEncoding for
+changing active encoding. Fixed pasting siblings (Ctrl key pressed
+while pasting).</p>
+<p>wx.lib.filebrowsebutton: Bug fix from Chad Netzer for when
+self.history is None.</p>
+<p>wx.ogl: Patch from Davide Salomoni that adds an optional point
+parameter to LineShape.InsertLineControlPoint allowing one to
+optionally specify where the new control point has to be drawn.</p>
+<p>wxMSW: setting foreground colour for wx.CheckBox now works when using
+XP themes.</p>
+<p>More updates to the docview library modules and sample apps from the
+ActiveGrid folks. Their sample IDE is now able to integrate with
+Subversion.</p>
+<p>wx.grid.Grid: Ensure that the grid gets the focus when it is
+left-clicked. Note that if you have custom widgets that handle the
+EVT_LEFT_DOWN event but do not call event.Skip() then you will
+probably want to add a call to self.SetFocus in the event handler.</p>
+<p>wxGTK: Add wxSTAY_ON_TOP support [Patch 1206023]</p>
+<p>wx.TreeCtrl: wx.EVT_TREE_ITEM_MENU event made consistent on all
+platforms. The location of the click or the item is included in the
+event as well.</p>
+<p>wxGTK: Setting background colour of a window now only affects the
+window itself, not the borders, scrollbars, etc. (Bug #1204069)</p>
+<p>Print framework: Add more paper sizes and code to fallback to an
+explicit paper size if a known paper size is not found for the
+printer.</p>
+<p>wxMac: Applied patch for bug #1206181 Option-key decodes are wrong,
+also applied patch for bug #1205691 Modified Fn keys don't work.</p>
+<p>wx.Image: Fixed to preserve alpha channel in Rotate90 method.</p>
+<p>wxMSW: Fixed incorrect background colour on wx.CheckListBox.</p>
+<p>wxMSW: Fixed drawing of owner drawn buttons with multiline labels</p>
+<p>Removed a bunch of unnecessary files, and removed or replaced images
+that we're not sure of their origin or license.</p>
+<p>The default DoGetBestSize is updated to not always return the current
+size if the window has no sizer, children, or minsize set. Instead
+the current size is set as the minsize. This solves the occasional
+problem where a sizer may cause a childless panel to grow but never
+shrink.</p>
+<p>wxMSW: When converting a wx.Icon to a bitmap check if the icon has an
+alpha channel and set the bitmap to use it.</p>
+<p>Fixed the wrong class name used in wx.PyScrolledWindow's call to
+_setCallbackInfo.</p>
+<p>wxMSW: patch #1207202, Fixes GDI leak when using stock cursors.</p>
+<p>wx.calendar.CalendarCtrl: Patch #1207531, Keeps the CalendarCtrl wide
+enough even when the weekday names for the locale are shorter than
+usual.</p>
+<p>Made GridCellNumberEditor.StartingKey also insert the typed char when
+there is a range of allowed values (so a wx.SpinCtrl is used instead
+of a wx.TextCtrl.)</p>
</div>
-<div class="section" id="id2">
-<h1><a name="id2">2.6.0.0</a></h1>
+<div class="section" id="id3">
+<h1><a name="id3">2.6.0.0</a></h1>
<ul class="simple">
<li>26-Apr-2005</li>
</ul>
</dd>
</dl>
</div>
-<div class="section" id="id3">
-<h1><a name="id3">2.5.5.1</a></h1>
+<div class="section" id="id4">
+<h1><a name="id4">2.5.5.1</a></h1>
<ul class="simple">
<li>8-Apr-2005</li>
</ul>
folks.</p>
<p>Added the ActiveGrid IDE as a sample application.</p>
</div>
-<div class="section" id="id4">
-<h1><a name="id4">2.5.4.1</a></h1>
+<div class="section" id="id5">
+<h1><a name="id5">2.5.4.1</a></h1>
<ul class="simple">
<li>16-Mar-2005</li>
</ul>
</dd>
</dl>
</div>
-<div class="section" id="id5">
-<h1><a name="id5">2.5.3.1</a></h1>
+<div class="section" id="id6">
+<h1><a name="id6">2.5.3.1</a></h1>
<ul class="simple">
<li>9-Nov-2004</li>
</ul>
<p>wxPython on OSX can now be built in Unicode mode, can support multiple
version installs, and comes with an uninstaller script.</p>
</div>
-<div class="section" id="id6">
-<h1><a name="id6">2.5.2.8</a></h1>
+<div class="section" id="id7">
+<h1><a name="id7">2.5.2.8</a></h1>
<ul class="simple">
<li>27-Aug-2004</li>
</ul>
</ul>
</blockquote>
</div>
-<div class="section" id="id7">
-<h1><a name="id7">2.5.2.7</a></h1>
+<div class="section" id="id8">
+<h1><a name="id8">2.5.2.7</a></h1>
<ul class="simple">
<li>14-Aug-2004</li>
</ul>
MigrationGuide for more details on using the new module.</p>
<p>Floats are allowed again as function parameters where ints are expected.</p>
</div>
-<div class="section" id="id9">
-<h1><a name="id9">2.4.2.4</a></h1>
+<div class="section" id="id10">
+<h1><a name="id10">2.4.2.4</a></h1>
<ul class="simple">
<li>1-Oct-2003</li>
</ul>
<p>Added wxMaskedNumCtrl.</p>
<p>Added Chris Barker's FloatCanvas.</p>
</div>
-<div class="section" id="id10">
-<h1><a name="id10">2.4.1.2</a></h1>
+<div class="section" id="id11">
+<h1><a name="id11">2.4.1.2</a></h1>
<ul class="simple">
<li>19-Jun-2003</li>
</ul>
and Spacers can be specified with a wxSize (or 2-tuple) parameter</p>
<p>Added wxCursorFromBits.</p>
</div>
-<div class="section" id="id11">
-<h1><a name="id11">2.4.0.7</a></h1>
+<div class="section" id="id12">
+<h1><a name="id12">2.4.0.7</a></h1>
<ul class="simple">
<li>24-Mar-2003</li>
</ul>
<p>Updated pycolourchooser.</p>
<p>Updated to 0.9b of PyCrust.</p>
</div>
-<div class="section" id="id12">
-<h1><a name="id12">2.4.0.4</a></h1>
+<div class="section" id="id13">
+<h1><a name="id13">2.4.0.4</a></h1>
<ul class="simple">
<li>7-Mar-2003</li>
</ul>
<p>Fixed typemaps for wxGridCellCoordsArray.</p>
<p>Updated to the 0.9a version of PyCrust</p>
</div>
-<div class="section" id="id13">
-<h1><a name="id13">2.4.0.2</a></h1>
+<div class="section" id="id14">
+<h1><a name="id14">2.4.0.2</a></h1>
<ul class="simple">
<li>23-Jan-2003</li>
</ul>
<p>Added wxIntCtrl from Will Sadkin.</p>
<p>Added wxPyColourChooser by Michael Gilfix.</p>
</div>
-<div class="section" id="id14">
-<h1><a name="id14">2.4.0.1</a></h1>
+<div class="section" id="id15">
+<h1><a name="id15">2.4.0.1</a></h1>
<ul class="simple">
<li>10-Jan-2003</li>
</ul>
<p>Added function wrappers for the common dialogs from Kevin Altis. See
wxPython/lib/dialogs.py for more details.</p>
</div>
-<div class="section" id="id15">
-<h1><a name="id15">2.3.4.2</a></h1>
+<div class="section" id="id16">
+<h1><a name="id16">2.3.4.2</a></h1>
<ul class="simple">
<li>21-Dec-2002</li>
</ul>
<p>Various bug fixes.</p>
</div>
-<div class="section" id="id16">
-<h1><a name="id16">2.3.4.1</a></h1>
+<div class="section" id="id17">
+<h1><a name="id17">2.3.4.1</a></h1>
<ul class="simple">
<li>18-Dec-2002</li>
</ul>
HTMLHelp viewer does. Changed how the wxPythonDocs tarball is built
and added a script to launch the doc viewer.</p>
</div>
-<div class="section" id="id17">
-<h1><a name="id17">2.3.3.1</a></h1>
+<div class="section" id="id18">
+<h1><a name="id18">2.3.3.1</a></h1>
<ul class="simple">
<li>19-Sep-2002</li>
</ul>
<p>Added wxPython.lib.mixins.rubberband module from Robb Shecter.</p>
<p>Added wxTimeCtrl from Will Sadkin.</p>
</div>
-<div class="section" id="id18">
-<h1><a name="id18">2.3.2.1</a></h1>
+<div class="section" id="id19">
+<h1><a name="id19">2.3.2.1</a></h1>
<ul class="simple">
<li>20-Dec-2001</li>
</ul>
without barfing and is also still compatible with Python debuggers.</p>
<p>Added some patches from library contributors.</p>
</div>
-<div class="section" id="id19">
-<h1><a name="id19">2.3.2</a></h1>
+<div class="section" id="id20">
+<h1><a name="id20">2.3.2</a></h1>
<ul class="simple">
<li>11-Dec-2001</li>
</ul>
wxPython/contrib/dllwidget and wxPython/demo/dllwidget for more
details.</p>
</div>
-<div class="section" id="id20">
-<h1><a name="id20">2.3.1</a></h1>
+<div class="section" id="id21">
+<h1><a name="id21">2.3.1</a></h1>
<ul class="simple">
<li>10-Jul-2001</li>
</ul>
<p>Fixed img2py to work correctly with Python 2.1.</p>
<p>Added enhanced wxVTKRenderWindow by Prabhu Ramachandran</p>
</div>
-<div class="section" id="id21">
-<h1><a name="id21">2.3.0</a></h1>
+<div class="section" id="id22">
+<h1><a name="id22">2.3.0</a></h1>
<ul class="simple">
<li>22-May-2001</li>
</ul>
by having smaller functional apps to play with. They can be found in
wxPython/samples.</p>
</div>
-<div class="section" id="id22">
-<h1><a name="id22">2.2.7</a></h1>
+<div class="section" id="id23">
+<h1><a name="id23">2.2.7</a></h1>
<ul class="simple">
<li>19-Jun-2001</li>
</ul>
<p>No changes happened in the Python wrappers for this release, only
changes and fixes in the wxWindows library.</p>
</div>
-<div class="section" id="id23">
-<h1><a name="id23">2.2.5</a></h1>
+<div class="section" id="id24">
+<h1><a name="id24">2.2.5</a></h1>
<ul class="simple">
<li>30-Jan-2001</li>
</ul>