]> git.saurik.com Git - wxWidgets.git/blame - wxPython/docs/CHANGES.txt
Remove use of m_bestSize
[wxWidgets.git] / wxPython / docs / CHANGES.txt
Content-type: text/html ]> git.saurik.com Git - wxWidgets.git/blame - wxPython/docs/CHANGES.txt


500 - Internal Server Error

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