]>
Commit | Line | Data |
---|---|---|
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 | |
21 | nicer with sizers when there is no minimal size.</li> | |
22 | <li>Some tweaks in the demo and samples to correct layout, some | |
23 | flicker 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 | |
27 | parameter.</li> | |
28 | <li>Corrections for exceptions in the new ogl</li> | |
29 | <li>Fixed XRCed to not use reparenting of windows to implement caching | |
30 | of property panels, since Reparent on wxMac is not implemented.</li> | |
31 | <li>Add support for wxTAB_TRAVERSAL to the XRC handler for | |
32 | wxScrolledWindow.</li> | |
33 | <li>Add support for all wxListBox styles to the XRC handler for | |
34 | wxCheckListBox.</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 |
45 | sizers. This means that the item's GetMinSize and/or GetBestSize will | |
46 | be called when calculating layout and the return value from that will | |
47 | be used for the minimum size used by the sizer. The wx.FIXED_MINSIZE | |
48 | flag was added that will cause the sizer to use the old behaviour in | |
49 | that it will <em>not</em> call the window's methods to determine the new best | |
50 | size, 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 |
52 | see 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 |
54 | now 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 | |
56 | have been reverted. The wx.DC methods are now compatible with the 2.4 | |
57 | implemetation. In addition a set of renamed methods have been added | |
58 | that take wx.Point and/or wx.Size objects instead of individual | |
59 | parameters.</p> | |
60 | <p>Added wx.lib.mixins.listctrl.TextEditMixin, a mixin class that allows | |
61 | all 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 | |
64 | as their Insert* and Prepend* counterparts.</p> | |
65 | <p>Added a generic StaticBitmap class in wx.lib.statbmp for the same | |
66 | reasons that stattext was created, so it could be mouse sensitive on | |
67 | all platforms like normal windows. Also updated stattext.py and | |
68 | buttons.py to handle attribute (font & colour) defaults and | |
69 | inheritance the new way. If you have custom controls of your own you | |
70 | should review stattxt.py or one of the others to see how it is to be | |
71 | done.</p> | |
72 | <p>wx.InitAllImageHandlers is now an empty function that does nothing but | |
73 | exist for backwards compatibility. The C++ version is now called | |
74 | automatically when wxPython is initialized. Since all the handlers | |
75 | are included in the wxWidgets shared library anyway, this imposes only | |
76 | a very small amount of overhead and removes several unneccessary | |
77 | problems.</p> | |
78 | <p>Replaced wx/lib/pubsub.py with a version that uses weak references to | |
79 | track the subscribers, plus other fixes/additions. Thanks go to | |
80 | Oliver Schoenborn and Robb Shecter.</p> | |
81 | <p>wxGTK now uses gtk_init_check so wxPython can raise an exception if | |
82 | there is no DISPLAY available or other initializaion problem.</p> | |
83 | <p>wx.GetKeyState now has an implementation for wxGTK and is able to | |
84 | detect the up/down or toggle state of modifier and toggle keys.</p> | |
85 | <p>The LC_NUMERIC locale is now reset back to "C" (compatibility) when | |
86 | running on wxGTK to work around the fact that GTK requires the locale | |
87 | to be set to the system settings but Python depends on LC_NUMERIC | |
88 | remaining compatible with "C".</p> | |
89 | <p>Switched gizmos.TreeListCtrl to the newer version of the code from the | |
90 | wxCode project.</p> | |
91 | <p>OGL is dead! LONG LIVE OGL! (Oops, sorry. A bit of my dramatic side | |
92 | leaked out there...) The wx.ogl module has been deprecated in favor | |
93 | of the new Python port of the OGL library located at wx.lib.ogl | |
94 |