]>
Commit | Line | Data |
---|---|---|
1 | Recent Changes for wxPython | |
2 | ===================================================================== | |
3 | ||
4 | 2.5.1.6 | |
5 | ------- | |
6 | ||
7 | wx.ADJUST_MINSIZE is now the default behaviour for window items in | |
8 | sizers. This means that the item's GetAdjustedBestSize will be called | |
9 | when calculating layout and the return value from that will be used | |
10 | for the minimum size. Added wx.FIXED_MINSIZE flag for when you would | |
11 | like the old behavior but you should only need it when your desired | |
12 | size is smaller than the item's GetBestSize. When a window is added | |
13 | to a sizer it's initial size, if any, is set as the window's minimal | |
14 | size using SetSizeHints if there isn't already a minimal size. | |
15 | ||
16 | Added some convenience methods to wx.Bitmap: SetSize, GetSize, and | |
17 | wx.EmptyBitmap can be called with a wx.Size (or a 2-element sequence) | |
18 | object too. Similar changes were done for wx.Image as well. | |
19 | ||
20 | Added new MaskedEditControl code from Will Sadkin. The modules are | |
21 | now locaed in their own sub-package, wx.lib.masked. Demos updated. | |
22 | ||
23 | ||
24 | ||
25 | ||
26 | 2.5.1.5 | |
27 | ------- | |
28 | ||
29 | (See also the MigrationGuide_ file for details about some of the | |
30 | big changes that have happened in this release and how you should | |
31 | adapt your code.) | |
32 | ||
33 | .. _MigrationGuide: MigrationGuide.html | |
34 | ||
35 | ||
36 | The wxWindows project and library is now known as wxWidgets. Please | |
37 | see http://www.wxwindows.org/name.htm for more details. This won't | |
38 | really affect wxPython all that much, other than the fact that the | |
39 | wxwindows.org domain name will be changing to wxwidgets.org, so mail | |
40 | list, CVS, and etc. addresses will be changing. We're going to try | |
41 | and smooth the transition as much as possible, but I wanted you all to | |
42 | be aware of this change if you run into any issues. | |
43 | ||
44 | ||
45 | Many, many little fixes, changes and additions done as part of the move | |
46 | to wxWidgets 2.5 that I have forgotten about. | |
47 | ||
48 | Added wxMirrorDC. | |
49 | ||
50 | Added wxIconLocation | |
51 | ||
52 | Added Python wrappers and demos for the new wxVScrolledWindow, | |
53 | wxVListBox, and wxHtmlListBox classes. | |
54 | ||
55 | Added wrappers for wxBookCtrl and wxListbook. wxNotebook now derives | |
56 | from wxBookCtrl. | |
57 | ||
58 | Added Gordon Williams' PyPlot module to the library, available as the | |
59 | wx.lib.plot module. | |
60 | ||
61 | I made a small but important change in the code that aquires the | |
62 | Python Global Interpreter Lock to try and prevent deadlocks that can | |
63 | happen when there are nested attempts to aquire the GIL. | |
64 | ||
65 | The RPMs will now install menu items on Mandrake Linux in | |
66 | Applications/Development/Tools for PyCrust, XRCed, etc. The RPMs are | |
67 | also installing icons and ``*.desktop`` items in the generic KDE and | |
68 | GNOME locations, but I don't know yet if they are resulting in menu | |
69 | items on non-Mandrake systems. (It didn't automatically do it on my | |
70 | RH-9 build box but I didn't chase it very far...) If you have ideas | |
71 | for how to improve the .spec file to work better and/or on more | |
72 | distros please send me a patch. | |
73 | ||
74 | The RPMs are now built on a fairly generic RH-9 box, and I have tested | |
75 | installing them also on my main Mandrake 9.2 box. | |
76 | ||
77 | There are some big changes in the OS X disk image. The actual | |
78 | Installer package now *only* installs the wxMac dynlibs, wxPython | |
79 | extension modules and Python pacakges, and also the command-line tool | |
80 | scripts. The remaining items (demo, samples, and application bundles | |
81 | for the Demo, PyCrust and XRCed) are now top-level items in the disk | |
82 | image (.dmg file) that users can just drag and drop to wherever they | |
83 | want to put them. | |
84 | ||
85 | The wxWave class has been renamed to wxSound, and now has a slightly | |
86 | different API. | |
87 | ||
88 | Content-type: text/html ]>