]> git.saurik.com Git - wxWidgets.git/blame - wxPython/docs/CHANGES.html
fixed sending 2 events (normal and bogus cancel one) when ending to edit a tree ctrl...
[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">
5fcb35d9 14<h1><a name="id1">2.5.2.2</a></h1>
40efbdda
RD
15<p>wx.ADJUST_MINSIZE is now the default behaviour for window items in
16sizers. This means that the item's GetMinSize and/or GetBestSize will
17be called when calculating layout and the return value from that will
18be used for the minimum size used by the sizer. The wx.FIXED_MINSIZE
19flag was added that will cause the sizer to use the old behaviour in
20that it will <em>not</em> call the window's methods to determine the new best
21size, instead the minsize that the window had when added to the sizer
da2c7672
RD
22(or the size the window was created with) will always be used. Please
23see the Sizers section in the Migration Guide for more details.</p>
40efbdda
RD
24<p>Added new MaskedEditControl code from Will Sadkin. The modules are
25now locaed in their own sub-package, wx.lib.masked. Demos updated.</p>
26<p>The changes that implemented the incompatible wx.DC methods in 2.5.1.5
27have been reverted. The wx.DC methods are now compatible with the 2.4
28implemetation. In addition a set of renamed methods have been added
29that take wx.Point and/or wx.Size objects instead of individual
30parameters.</p>
31<p>Added wx.lib.mixins.listctrl.TextEditMixin, a mixin class that allows
32all columns of a wx.ListCtrl in report mode to be edited.</p>
33<p>Deprecated the wx.iewin module.</p>
34<p>Deprecated the wx.Sizer.AddWindow, AddSizer, AddSpacer methods as well
35as their Insert* and Prepend* counterparts.</p>
36<p>Added a generic StaticBitmap class in wx.lib.statbmp for the same
37reasons that stattext was created, so it could be mouse sensitive on
38all platforms like normal windows. Also updated stattext.py and
39buttons.py to handle attribute (font &amp; colour) defaults and
40inheritance the new way. If you have custom controls of your own you
41should review stattxt.py or one of the others to see how it is to be
42done.</p>
43<p>wx.InitAllImageHandlers is now an empty function that does nothing but
44exist for backwards compatibility. The C++ version is now called
45automatically when wxPython is initialized. Since all the handlers
46are included in the wxWidgets shared library anyway, this imposes only
47a very small amount of overhead and removes several unneccessary
48problems.</p>
49<p>Replaced wx/lib/pubsub.py with a version that uses weak references to
50track the subscribers, plus other fixes/additions. Thanks go to
51Oliver Schoenborn and Robb Shecter.</p>
52<p>wxGTK now uses gtk_init_check so wxPython can raise an exception if
53there is no DISPLAY available or other initializaion problem.</p>
54<p>wx.GetKeyState now has an implementation for wxGTK and is able to
55detect the up/down or toggle state of modifier and toggle keys.</p>
56<p>The LC_NUMERIC locale is now reset back to &quot;C&quot; (compatibility) when
57running on wxGTK to work around the fact that GTK requires the locale
58to be set to the system settings but Python depends on LC_NUMERIC
59remaining compatible with &quot;C&quot;.</p>
60<p>Switched gizmos.TreeListCtrl to the newer version of the code from the
61wxCode project.</p>
62<p>OGL is dead! LONG LIVE OGL! (Oops, sorry. A bit of my dramatic side
63leaked out there...) The wx.ogl module has been deprecated in favor
64of the new Python port of the OGL library located at wx.lib.ogl
65