]> git.saurik.com Git - wxWidgets.git/blame - wxPython/docs/CHANGES.txt
Fixed typo
[wxWidgets.git] / wxPython / docs / CHANGES.txt
CommitLineData
73adcb01 1Recent Changes for wxPython
8eda5e35 2=====================================================================
6d75ea8f 3
857878df 42.5.2.2
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
da2c7672
RD
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.
cb8f28ba 16
c878ceea
RD
17Added new MaskedEditControl code from Will Sadkin. The modules are
18now locaed in their own sub-package, wx.lib.masked. Demos updated.
19
d7403ad2
RD
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
5841276a
RD
26Added wx.lib.mixins.listctrl.TextEditMixin, a mixin class that allows
27all columns of a wx.ListCtrl in report mode to be edited.
ba938c3d 28
165e6ca3
RD
29Deprecated the wx.iewin module.
30
31Deprecated the wx.Sizer.AddWindow, AddSizer, AddSpacer methods as well
32as their Insert* and Prepend* counterparts.
33
969d9b6f
RD
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.
165e6ca3 41
a3150741
RD
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
d1e05453 49Replaced wx/lib/pubsub.py with a version that uses weak references to
89c876de
RD
50track the subscribers, plus other fixes/additions. Thanks go to
51Oliver Schoenborn and Robb Shecter.
d1e05453 52
89c876de
RD
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".
a3150741 63
28eab81f
RD
64Switched gizmos.TreeListCtrl to the newer version of the code from the
65wxCode project.
66
f847103a
RD
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