]> git.saurik.com Git - wxWidgets.git/blame - wxPython/docs/CHANGES.txt
Source cleaning: -1/wxID_ANY/wxDefaultCoord, ::, TRUE/true. FALSE/false, tabs, whites...
[wxWidgets.git] / wxPython / docs / CHANGES.txt
CommitLineData
73adcb01 1Recent Changes for wxPython
8eda5e35 2=====================================================================
6d75ea8f 3
4f5ff1b2
RD
42.5.2.9
5-------
6
7wxMac focus and border refreshes corrected.
8
9Updated internal PNG library.
10
11wxMac fix for metal appearance on wx.ToolBar.
12
13wx.grid.Grid fix allowing DoGetBestSize to be called before CreateGrid
14(which means that a min size doesn't need to be specified.)
15
16wxMac fix for not sending a native click to a control if it is not
17enabled (does an enable itself)
18
71e60f70 19Added wx.lib.ogl.DrawnShape
4f5ff1b2
RD
20
21Added support to XRC and XRCed for the 3-state checkbox flags and also
22for wx.ToggleButton. Updated the generic window styles supported by
23XRCed.
24
25It is now possible to create "stock" buttons. Basically this means
71e60f70
RD
26that you only have to provide one of the stock IDs (and either an
27empty label or a label that matches the stock label) when creating the
28button and wxWidgets will choose the stock label to go with it
29automatically. Additionally on the platforms that have a native
30concept of a stock button (currently only GTK2) then the native stock
31button will be used. For example, the following will result in a
32button with "Cancel" as the label and an accelerator on the "C", and
33if run on wxGTK2 then there will also be an image of a red X::
4f5ff1b2
RD
34
35 b = wx.Button(parent, wx.ID_CANCEL)
36
37
38Added wx.lib.ticker.Ticker class from Chris Mellon.
39
71e60f70
RD
40Fix some incorrect clipping regions in wxSTC on wxGTK.
41
42Added wrapper for wx.grid.Grid.GetOrCreateCellAttr.
43
4f5ff1b2
RD
44
45
3801d366
RD
46
472.5.2.8
48-------
49
b5f2d1f3
RD
50Predominantly a bug-fix release.
51
52 * Fixed fatal error due to improper wrapping of wx.FSFile.
53
54 * Fixed return type of EditableListBox.GetListCtrl
55
56 * Give generic tree and list controls a DoGetBestSize so they play
57 nicer with sizers when there is no minimal size.
58
59 * Some tweaks in the demo and samples to correct layout, some
60 flicker problems, and namespace use.
61
62 * Add wx.Image.ConvertAlphaToMask
63
64 * Minor corrections in wx.lib.dialogs
65
66 * wx.FileHistory constructor now accepts the documented 2nd
67 parameter.
68
69 * Corrections for exceptions in the new ogl
70
71 * Fixed XRCed to not use reparenting of windows to implement caching
72 of property panels, since Reparent on wxMac is not implemented.
73
74 * Add support for wxTAB_TRAVERSAL to the XRC handler for
75 wxScrolledWindow.
76
77 * Add support for all wxListBox styles to the XRC handler for
78 wxCheckListBox.
79
80 * Fix for wx.Listbook.DeleteAllPages to really delete everything.
81
82 * wxGTK2 now supports alpha blended bitmap drawing
83
9c618512
RD
84 * Made wx.grid.Grid play nicer with sizers.
85
b5f2d1f3 86 * etc.
3801d366
RD
87
88
89
90
e155ca47 912.5.2.7
95fed4d8
RD
92-------
93
94wx.ADJUST_MINSIZE is now the default behaviour for window items in
ffcb969e
RD
95sizers. This means that the item's GetMinSize and/or GetBestSize will
96be called when calculating layout and the return value from that will
cb8f28ba
RD
97be used for the minimum size used by the sizer. The wx.FIXED_MINSIZE
98flag was added that will cause the sizer to use the old behaviour in
99that it will *not* call the window's methods to determine the new best
100size, instead the minsize that the window had when added to the sizer
da2c7672
RD
101(or the size the window was created with) will always be used. Please
102see the Sizers section in the Migration Guide for more details.
cb8f28ba 103
c878ceea
RD
104Added new MaskedEditControl code from Will Sadkin. The modules are
105now locaed in their own sub-package, wx.lib.masked. Demos updated.
106
d7403ad2
RD
107The changes that implemented the incompatible wx.DC methods in 2.5.1.5
108have been reverted. The wx.DC methods are now compatible with the 2.4
109implemetation. In addition a set of renamed methods have been added
110that take wx.Point and/or wx.Size objects instead of individual
111parameters.
112
5841276a
RD
113Added wx.lib.mixins.listctrl.TextEditMixin, a mixin class that allows
114all columns of a wx.ListCtrl in report mode to be edited.
ba938c3d 115
165e6ca3
RD
116Deprecated the wx.iewin module.
117
118Deprecated the wx.Sizer.AddWindow, AddSizer, AddSpacer methods as well
119as their Insert* and Prepend* counterparts.
120
969d9b6f
RD
121Added a generic StaticBitmap class in wx.lib.statbmp for the same
122reasons that stattext was created, so it could be mouse sensitive on
123all platforms like normal windows. Also updated stattext.py and
124buttons.py to handle attribute (font & colour) defaults and
125inheritance the new way. If you have custom controls of your own you
126should review stattxt.py or one of the others to see how it is to be
127done.
165e6ca3 128
a3150741
RD
129wx.InitAllImageHandlers is now an empty function that does nothing but
130exist for backwards compatibility. The C++ version is now called
131automatically when wxPython is initialized. Since all the handlers
132are included in the wxWidgets shared library anyway, this imposes only
133a very small amount of overhead and removes several unneccessary
134problems.
135
d1e05453 136Replaced wx/lib/pubsub.py with a version that uses weak references to
89c876de
RD
137track the subscribers, plus other fixes/additions. Thanks go to
138Oliver Schoenborn and Robb Shecter.
d1e05453 139
89c876de
RD
140wxGTK now uses gtk_init_check so wxPython can raise an exception if
141there is no DISPLAY available or other initializaion problem.
142
143wx.GetKeyState now has an implementation for wxGTK and is able to
144detect the up/down or toggle state of modifier and toggle keys.
145
146The LC_NUMERIC locale is now reset back to "C" (compatibility) when
147running on wxGTK to work around the fact that GTK requires the locale
148to be set to the system settings but Python depends on LC_NUMERIC
149remaining compatible with "C".
a3150741 150
28eab81f
RD
151Switched gizmos.TreeListCtrl to the newer version of the code from the
152wxCode project.
153
f847103a
RD
154OGL is dead! LONG LIVE OGL! (Oops, sorry. A bit of my dramatic side
155leaked out there...) The wx.ogl module has been deprecated in favor
156of the new Python port of the OGL library located at wx.lib.ogl
157