]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/docs/CHANGES.txt
If no colour name then use "BLACK"
[wxWidgets.git] / wxPython / docs / CHANGES.txt
... / ...
CommitLineData
1Recent Changes for wxPython
2=====================================================================
3
42.5.2.2
5-------
6
7wx.ADJUST_MINSIZE is now the default behaviour for window items in
8sizers. This means that the item's GetMinSize and/or GetBestSize will
9be called when calculating layout and the return value from that will
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. Please
15see the Sizers section in the Migration Guide for more details.
16
17Added new MaskedEditControl code from Will Sadkin. The modules are
18now locaed in their own sub-package, wx.lib.masked. Demos updated.
19
20The changes that implemented the incompatible wx.DC methods in 2.5.1.5
21have been reverted. The wx.DC methods are now compatible with the 2.4
22implemetation. In addition a set of renamed methods have been added
23that take wx.Point and/or wx.Size objects instead of individual
24parameters.
25
26Added wx.lib.mixins.listctrl.TextEditMixin, a mixin class that allows
27all columns of a wx.ListCtrl in report mode to be edited.
28
29Deprecated the wx.iewin module.
30
31Deprecated the wx.Sizer.AddWindow, AddSizer, AddSpacer methods as well
32as their Insert* and Prepend* counterparts.
33
34Added a generic StaticBitmap class in wx.lib.statbmp for the same
35reasons that stattext was created, so it could be mouse sensitive on
36all platforms like normal windows. Also updated stattext.py and
37buttons.py to handle attribute (font & colour) defaults and
38inheritance the new way. If you have custom controls of your own you
39should review stattxt.py or one of the others to see how it is to be
40done.
41
42wx.InitAllImageHandlers is now an empty function that does nothing but
43exist for backwards compatibility. The C++ version is now called
44automatically when wxPython is initialized. Since all the handlers
45are included in the wxWidgets shared library anyway, this imposes only
46a very small amount of overhead and removes several unneccessary
47problems.
48
49Replaced wx/lib/pubsub.py with a version that uses weak references to
50track the subscribers, plus other fixes/additions. Thanks go to
51Oliver Schoenborn and Robb Shecter.
52
53wxGTK now uses gtk_init_check so wxPython can raise an exception if
54there is no DISPLAY available or other initializaion problem.
55
56wx.GetKeyState now has an implementation for wxGTK and is able to
57detect the up/down or toggle state of modifier and toggle keys.
58
59The LC_NUMERIC locale is now reset back to "C" (compatibility) when
60running on wxGTK to work around the fact that GTK requires the locale
61to be set to the system settings but Python depends on LC_NUMERIC
62remaining compatible with "C".
63
64Switched gizmos.TreeListCtrl to the newer version of the code from the
65wxCode project.
66
67OGL is dead! LONG LIVE OGL! (Oops, sorry. A bit of my dramatic side
68leaked out there...) The wx.ogl module has been deprecated in favor
69of the new Python port of the OGL library located at wx.lib.ogl
70