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