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