]> git.saurik.com Git - wxWidgets.git/blame - wxPython/docs/CHANGES.txt
Must have valid colours for X11 popup window implementation
[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 605.
CommitLineData
73adcb01 1Recent Changes for wxPython
8eda5e35 2=====================================================================
6d75ea8f 3
28eab81f 42.5.2.0
95fed4d8
RD
5-------
6
7wx.ADJUST_MINSIZE is now the default behaviour for window items in
ffcb969e
RD
8sizers. This means that the item's GetMinSize and/or GetBestSize will
9be called when calculating layout and the return value from that will
cb8f28ba
RD
10be used for the minimum size used by the sizer. The wx.FIXED_MINSIZE
11flag was added that will cause the sizer to use the old behaviour in
12that it will *not* call the window's methods to determine the new best
13size, instead the minsize that the window had when added to the sizer
14(or the size the window was created with) will always be used.
15
16Related to the above, when controls and some other window types are
17created either the size passed to the constructor, or their "best
18size" if an explicit size was not passed in, is set as the window's
19minimal size. For non top-level windows that hasn't meant much in the
20past, but now the sizers are sensitive to the window's minimal size.
21The key point to understand here is that it is no longer the window's
22size it has when added to the sizer that matters, but its minimal
23size. So you might have some issues to iron out if you create a
24control without a size and then set its size to something before
25adding it to the sizer. Since it's minimal size is probably not the
26size you set then the sizer will appear to be misbehaving. The fix is
27to either set the size when calling the window's constructor, or to
28reset the min size by calling SetSizeHints. You can call SetSizeHints
29at anytime to change the minsize of a window, just call the sizer's
30Layout method to redistribute the controls as needed.
31
ba938c3d 32
c878ceea
RD
33Added new MaskedEditControl code from Will Sadkin. The modules are
34now locaed in their own sub-package, wx.lib.masked. Demos updated.
35
d7403ad2
RD
36The changes that implemented the incompatible wx.DC methods in 2.5.1.5
37have been reverted. The wx.DC methods are now compatible with the 2.4
38implemetation. In addition a set of renamed methods have been added
39that take wx.Point and/or wx.Size objects instead of individual
40parameters.
41
5841276a
RD
42Added wx.lib.mixins.listctrl.TextEditMixin, a mixin class that allows
43all columns of a wx.ListCtrl in report mode to be edited.
ba938c3d 44
165e6ca3
RD
45Deprecated the wx.iewin module.
46
47Deprecated the wx.Sizer.AddWindow, AddSizer, AddSpacer methods as well
48as their Insert* and Prepend* counterparts.
49
969d9b6f
RD
50Added a generic StaticBitmap class in wx.lib.statbmp for the same
51reasons that stattext was created, so it could be mouse sensitive on
52all platforms like normal windows. Also updated stattext.py and
53buttons.py to handle attribute (font & colour) defaults and
54inheritance the new way. If you have custom controls of your own you
55should review stattxt.py or one of the others to see how it is to be
56done.
165e6ca3 57
a3150741
RD
58wx.InitAllImageHandlers is now an empty function that does nothing but
59exist for backwards compatibility. The C++ version is now called
60automatically when wxPython is initialized. Since all the handlers
61are included in the wxWidgets shared library anyway, this imposes only
62a very small amount of overhead and removes several unneccessary
63problems.
64
d1e05453 65Replaced wx/lib/pubsub.py with a version that uses weak references to
89c876de
RD
66track the subscribers, plus other fixes/additions. Thanks go to
67Oliver Schoenborn and Robb Shecter.
d1e05453 68
89c876de
RD
69wxGTK now uses gtk_init_check so wxPython can raise an exception if
70there is no DISPLAY available or other initializaion problem.
71
72wx.GetKeyState now has an implementation for wxGTK and is able to
73detect the up/down or toggle state of modifier and toggle keys.
74
75The LC_NUMERIC locale is now reset back to "C" (compatibility) when
76running on wxGTK to work around the fact that GTK requires the locale
77to be set to the system settings but Python depends on LC_NUMERIC
78remaining compatible with "C".
a3150741 79
28eab81f
RD
80Switched gizmos.TreeListCtrl to the newer version of the code from the
81wxCode project.
82
83
84
ba938c3d 85
95fed4d8 86
db4daa84 872.5.1.5
3ef86e32
RD
88-------
89
33ab916f 90(See also the MigrationGuide_ file for details about some of the
7ca4c2e1
RD
91big changes that have happened in this release and how you should
92adapt your code.)
93
33ab916f
RD
94.. _MigrationGuide: MigrationGuide.html
95
96
e8a71fa0
RD
97The wxWindows project and library is now known as wxWidgets. Please
98see http://www.wxwindows.org/name.htm for more details. This won't
99really affect wxPython all that much, other than the fact that the
100wxwindows.org domain name will be changing to wxwidgets.org, so mail
101list, CVS, and etc. addresses will be changing. We're going to try
102and smooth the transition as much as possible, but I wanted you all to
103be aware of this change if you run into any issues.
104
105
3ef86e32 106Many, many little fixes, changes and additions done as part of the move
b25cb7db 107to wxWidgets 2.5 that I have forgotten about.
3ef86e32 108
3ef86e32
RD
109Added wxMirrorDC.
110
111Added wxIconLocation
112
b25cb7db
RD
113Added Python wrappers and demos for the new wxVScrolledWindow,
114wxVListBox, and wxHtmlListBox classes.
3ef86e32 115
edadef3f
RD
116Added wrappers for wxBookCtrl and wxListbook. wxNotebook now derives
117from wxBookCtrl.
118
9d6685e2
RD
119Added Gordon Williams' PyPlot module to the library, available as the
120wx.lib.plot module.
3ef86e32 121
e6a5dac6
RD
122I made a small but important change in the code that aquires the
123Python Global Interpreter Lock to try and prevent deadlocks that can
124happen when there are nested attempts to aquire the GIL.
125
b25cb7db
RD
126The RPMs will now install menu items on Mandrake Linux in
127Applications/Development/Tools for PyCrust, XRCed, etc. The RPMs are
128also installing icons and ``*.desktop`` items in the generic KDE and
129GNOME locations, but I don't know yet if they are resulting in menu
130items on non-Mandrake systems. (It didn't automatically do it on my
131RH-9 build box but I didn't chase it very far...) If you have ideas
132for how to improve the .spec file to work better and/or on more
133distros please send me a patch.
e6a5dac6 134
b25cb7db
RD
135The RPMs are now built on a fairly generic RH-9 box, and I have tested
136installing them also on my main Mandrake 9.2 box.
e6a5dac6
RD
137
138There are some big changes in the OS X disk image. The actual
139Installer package now *only* installs the wxMac dynlibs, wxPython
653d2f0c 140extension modules and Python packages, and also the command-line tool
e6a5dac6
RD
141scripts. The remaining items (demo, samples, and application bundles
142for the Demo, PyCrust and XRCed) are now top-level items in the disk
143image (.dmg file) that users can just drag and drop to wherever they
144want to put them.
145
78862f24
RD
146The wxWave class has been renamed to wxSound, and now has a slightly
147different API.
e6a5dac6 148
1a31cb0a 149