]> git.saurik.com Git - wxWidgets.git/blame - wxPython/docs/CHANGES.html
A unicode hack for the Rez/Derez hack
[wxWidgets.git] / wxPython / docs / CHANGES.html
CommitLineData
8eda5e35
RD
1<?xml version="1.0" encoding="iso-8859-1" ?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
6<meta name="generator" content="Docutils 0.3.1: http://docutils.sourceforge.net/" />
73adcb01 7<title>Recent Changes for wxPython</title>
8eda5e35
RD
8<link rel="stylesheet" href="default.css" type="text/css" />
9</head>
10<body>
73adcb01
RD
11<div class="document" id="recent-changes-for-wxpython">
12<h1 class="title">Recent Changes for wxPython</h1>
fc33e5e1 13<div class="section" id="id1">
df1a2934
RD
14<h1><a name="id1">2.5.2.8</a></h1>
15<p>Predominantly a bug-fix release.</p>
16<blockquote>
17<ul class="simple">
18<li>Fixed fatal error due to improper wrapping of wx.FSFile.</li>
19<li>Fixed return type of EditableListBox.GetListCtrl</li>
20<li>Give generic tree and list controls a DoGetBestSize so they play
21nicer with sizers when there is no minimal size.</li>
22<li>Some tweaks in the demo and samples to correct layout, some
23flicker problems, and namespace use.</li>
24<li>Add wx.Image.ConvertAlphaToMask</li>
25<li>Minor corrections in wx.lib.dialogs</li>
26<li>wx.FileHistory constructor now accepts the documented 2nd
27parameter.</li>
28<li>Corrections for exceptions in the new ogl</li>
29<li>Fixed XRCed to not use reparenting of windows to implement caching
30of property panels, since Reparent on wxMac is not implemented.</li>
31<li>Add support for wxTAB_TRAVERSAL to the XRC handler for
32wxScrolledWindow.</li>
33<li>Add support for all wxListBox styles to the XRC handler for
34wxCheckListBox.</li>
35<li>Fix for wx.Listbook.DeleteAllPages to really delete everything.</li>
36<li>wxGTK2 now supports alpha blended bitmap drawing</li>
37<li>Made wx.grid.Grid play nicer with sizers.</li>
38<li>etc.</li>
39</ul>
40</blockquote>
41</div>
42<div class="section" id="id2">
43<h1><a name="id2">2.5.2.7</a></h1>
40efbdda
RD
44<p>wx.ADJUST_MINSIZE is now the default behaviour for window items in
45sizers. This means that the item's GetMinSize and/or GetBestSize will
46be called when calculating layout and the return value from that will
47be used for the minimum size used by the sizer. The wx.FIXED_MINSIZE
48flag was added that will cause the sizer to use the old behaviour in
49that it will <em>not</em> call the window's methods to determine the new best
50size, instead the minsize that the window had when added to the sizer
da2c7672
RD
51(or the size the window was created with) will always be used. Please
52see the Sizers section in the Migration Guide for more details.</p>
40efbdda
RD
53<p>Added new MaskedEditControl code from Will Sadkin. The modules are
54now locaed in their own sub-package, wx.lib.masked. Demos updated.</p>
55<p>The changes that implemented the incompatible wx.DC methods in 2.5.1.5
56have been reverted. The wx.DC methods are now compatible with the 2.4
57implemetation. In addition a set of renamed methods have been added
58that take wx.Point and/or wx.Size objects instead of individual
59parameters.</p>
60<p>Added wx.lib.mixins.listctrl.TextEditMixin, a mixin class that allows
61all columns of a wx.ListCtrl in report mode to be edited.</p>
62<p>Deprecated the wx.iewin module.</p>
63<p>Deprecated the wx.Sizer.AddWindow, AddSizer, AddSpacer methods as well
64as their Insert* and Prepend* counterparts.</p>
65<p>Added a generic StaticBitmap class in wx.lib.statbmp for the same
66reasons that stattext was created, so it could be mouse sensitive on
67all platforms like normal windows. Also updated stattext.py and
68buttons.py to handle attribute (font &amp; colour) defaults and
69inheritance the new way. If you have custom controls of your own you
70should review stattxt.py or one of the others to see how it is to be
71done.</p>
72<p>wx.InitAllImageHandlers is now an empty function that does nothing but
73exist for backwards compatibility. The C++ version is now called
74automatically when wxPython is initialized. Since all the handlers
75are included in the wxWidgets shared library anyway, this imposes only
76a very small amount of overhead and removes several unneccessary
77problems.</p>
78<p>Replaced wx/lib/pubsub.py with a version that uses weak references to
79track the subscribers, plus other fixes/additions. Thanks go to
80Oliver Schoenborn and Robb Shecter.</p>
81<p>wxGTK now uses gtk_init_check so wxPython can raise an exception if
82there is no DISPLAY available or other initializaion problem.</p>
83<p>wx.GetKeyState now has an implementation for wxGTK and is able to
84detect the up/down or toggle state of modifier and toggle keys.</p>
85<p>The LC_NUMERIC locale is now reset back to &quot;C&quot; (compatibility) when
86running on wxGTK to work around the fact that GTK requires the locale
87to be set to the system settings but Python depends on LC_NUMERIC
88remaining compatible with &quot;C&quot;.</p>
89<p>Switched gizmos.TreeListCtrl to the newer version of the code from the
90wxCode project.</p>
91<p>OGL is dead! LONG LIVE OGL! (Oops, sorry. A bit of my dramatic side
92leaked out there...) The wx.ogl module has been deprecated in favor
93of the new Python port of the OGL library located at wx.lib.ogl
94