]>
Commit | Line | Data |
---|---|---|
73adcb01 | 1 | Recent Changes for wxPython |
8eda5e35 | 2 | ===================================================================== |
6d75ea8f | 3 | |
4f5ff1b2 RD |
4 | 2.5.2.9 |
5 | ------- | |
6 | ||
7 | wxMac focus and border refreshes corrected. | |
8 | ||
9 | Updated internal PNG library. | |
10 | ||
11 | wxMac fix for metal appearance on wx.ToolBar. | |
12 | ||
13 | wx.grid.Grid fix allowing DoGetBestSize to be called before CreateGrid | |
14 | (which means that a min size doesn't need to be specified.) | |
15 | ||
16 | wxMac fix for not sending a native click to a control if it is not | |
17 | enabled (does an enable itself) | |
18 | ||
71e60f70 | 19 | Added wx.lib.ogl.DrawnShape |
4f5ff1b2 RD |
20 | |
21 | Added support to XRC and XRCed for the 3-state checkbox flags and also | |
22 | for wx.ToggleButton. Updated the generic window styles supported by | |
23 | XRCed. | |
24 | ||
25 | It is now possible to create "stock" buttons. Basically this means | |
71e60f70 RD |
26 | that you only have to provide one of the stock IDs (and either an |
27 | empty label or a label that matches the stock label) when creating the | |
28 | button and wxWidgets will choose the stock label to go with it | |
29 | automatically. Additionally on the platforms that have a native | |
30 | concept of a stock button (currently only GTK2) then the native stock | |
31 | button will be used. For example, the following will result in a | |
32 | button with "Cancel" as the label and an accelerator on the "C", and | |
33 | if 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 | ||
38 | Added wx.lib.ticker.Ticker class from Chris Mellon. | |
39 | ||
71e60f70 RD |
40 | Fix some incorrect clipping regions in wxSTC on wxGTK. |
41 | ||
42 | Added wrapper for wx.grid.Grid.GetOrCreateCellAttr. | |
43 | ||
4f5ff1b2 RD |
44 | |
45 | ||
3801d366 RD |
46 | |
47 | 2.5.2.8 | |
48 | ------- | |
49 | ||
b5f2d1f3 RD |
50 | Predominantly 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 | 91 | 2.5.2.7 |
95fed4d8 RD |
92 | ------- |
93 | ||
94 | wx.ADJUST_MINSIZE is now the default behaviour for window items in | |
ffcb969e RD |
95 | sizers. This means that the item's GetMinSize and/or GetBestSize will |
96 | be called when calculating layout and the return value from that will | |
cb8f28ba RD |
97 | be used for the minimum size used by the sizer. The wx.FIXED_MINSIZE |
98 | flag was added that will cause the sizer to use the old behaviour in | |
99 | that it will *not* call the window's methods to determine the new best | |
100 | size, 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 |
102 | see the Sizers section in the Migration Guide for more details. | |
cb8f28ba | 103 | |
c878ceea RD |
104 | Added new MaskedEditControl code from Will Sadkin. The modules are |
105 | now locaed in their own sub-package, wx.lib.masked. Demos updated. | |
106 | ||
d7403ad2 RD |
107 | The changes that implemented the incompatible wx.DC methods in 2.5.1.5 |
108 | have been reverted. The wx.DC methods are now compatible with the 2.4 | |
109 | implemetation. In addition a set of renamed methods have been added | |
110 | that take wx.Point and/or wx.Size objects instead of individual | |
111 | parameters. | |
112 | ||
5841276a RD |
113 | Added wx.lib.mixins.listctrl.TextEditMixin, a mixin class that allows |
114 | all columns of a wx.ListCtrl in report mode to be edited. | |
ba938c3d | 115 | |
165e6ca3 RD |
116 | Deprecated the wx.iewin module. |
117 | ||
118 | Deprecated the wx.Sizer.AddWindow, AddSizer, AddSpacer methods as well | |
119 | as their Insert* and Prepend* counterparts. | |
120 | ||
969d9b6f RD |
121 | Added a generic StaticBitmap class in wx.lib.statbmp for the same |
122 | reasons that stattext was created, so it could be mouse sensitive on | |
123 | all platforms like normal windows. Also updated stattext.py and | |
124 | buttons.py to handle attribute (font & colour) defaults and | |
125 | inheritance the new way. If you have custom controls of your own you | |
126 | should review stattxt.py or one of the others to see how it is to be | |
127 | done. | |
165e6ca3 | 128 | |
a3150741 RD |
129 | wx.InitAllImageHandlers is now an empty function that does nothing but |
130 | exist for backwards compatibility. The C++ version is now called | |
131 | automatically when wxPython is initialized. Since all the handlers | |
132 | are included in the wxWidgets shared library anyway, this imposes only | |
133 | a very small amount of overhead and removes several unneccessary | |
134 | problems. | |
135 | ||
d1e05453 | 136 | Replaced wx/lib/pubsub.py with a version that uses weak references to |
89c876de RD |
137 | track the subscribers, plus other fixes/additions. Thanks go to |
138 | Oliver Schoenborn and Robb Shecter. | |
d1e05453 | 139 | |
89c876de RD |
140 | wxGTK now uses gtk_init_check so wxPython can raise an exception if |
141 | there is no DISPLAY available or other initializaion problem. | |
142 | ||
143 | wx.GetKeyState now has an implementation for wxGTK and is able to | |
144 | detect the up/down or toggle state of modifier and toggle keys. | |
145 | ||
146 | The LC_NUMERIC locale is now reset back to "C" (compatibility) when | |
147 | running on wxGTK to work around the fact that GTK requires the locale | |
148 | to be set to the system settings but Python depends on LC_NUMERIC | |
149 | remaining compatible with "C". | |
a3150741 | 150 | |
28eab81f RD |
151 | Switched gizmos.TreeListCtrl to the newer version of the code from the |
152 | wxCode project. | |
153 | ||
f847103a RD |
154 | OGL is dead! LONG LIVE OGL! (Oops, sorry. A bit of my dramatic side |
155 | leaked out there...) The wx.ogl module has been deprecated in favor | |
156 | of the new Python port of the OGL library located at wx.lib.ogl | |
157 |