]>
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 | ||
19 | Added wx.ogl.DrawShape | |
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 | |
26 | that you only have to provide one of the stock IDs (and an empty | |
27 | label) when creating the button and wxWidgets will choose the stock | |
28 | label to go with it automatically. Additionally on the platforms that | |
29 | have a native concept of a stock button (currently only GTK2) then the | |
30 | native stock button will be used. For example, the following will | |
31 | result in a button with "Cancel" as the label and an accelerator on | |
32 | the "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 | ||
37 | Added wx.lib.ticker.Ticker class from Chris Mellon. | |
38 | ||
39 | ||
40 | ||
3801d366 RD |
41 | |
42 | 2.5.2.8 | |
43 | ------- | |
44 | ||
b5f2d1f3 RD |
45 | Predominantly 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 | 86 | 2.5.2.7 |
95fed4d8 RD |
87 | ------- |
88 | ||
89 | wx.ADJUST_MINSIZE is now the default behaviour for window items in | |
ffcb969e RD |
90 | sizers. This means that the item's GetMinSize and/or GetBestSize will |
91 | be called when calculating layout and the return value from that will | |
cb8f28ba RD |
92 | be used for the minimum size used by the sizer. The wx.FIXED_MINSIZE |
93 | flag was added that will cause the sizer to use the old behaviour in | |
94 | that it will *not* call the window's methods to determine the new best | |
95 | size, 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 |
97 | see the Sizers section in the Migration Guide for more details. | |
cb8f28ba | 98 | |
c878ceea RD |
99 | Added new MaskedEditControl code from Will Sadkin. The modules are |
100 | now locaed in their own sub-package, wx.lib.masked. Demos updated. | |
101 | ||
d7403ad2 RD |
102 | The changes that implemented the incompatible wx.DC methods in 2.5.1.5 |
103 | have been reverted. The wx.DC methods are now compatible with the 2.4 | |
104 | implemetation. In addition a set of renamed methods have been added | |
105 | that take wx.Point and/or wx.Size objects instead of individual | |
106 | parameters. | |
107 | ||
5841276a RD |
108 | Added wx.lib.mixins.listctrl.TextEditMixin, a mixin class that allows |
109 | all columns of a wx.ListCtrl in report mode to be edited. | |
ba938c3d | 110 | |
165e6ca3 RD |
111 | Deprecated the wx.iewin module. |
112 | ||
113 | Deprecated the wx.Sizer.AddWindow, AddSizer, AddSpacer methods as well | |
114 | as their Insert* and Prepend* counterparts. | |
115 | ||
969d9b6f RD |
116 | Added a generic StaticBitmap class in wx.lib.statbmp for the same |
117 | reasons that stattext was created, so it could be mouse sensitive on | |
118 | all platforms like normal windows. Also updated stattext.py and | |
119 | buttons.py to handle attribute (font & colour) defaults and | |
120 | inheritance the new way. If you have custom controls of your own you | |
121 | should review stattxt.py or one of the others to see how it is to be | |
122 | done. | |
165e6ca3 | 123 | |
a3150741 RD |
124 | wx.InitAllImageHandlers is now an empty function that does nothing but |
125 | exist for backwards compatibility. The C++ version is now called | |
126 | automatically when wxPython is initialized. Since all the handlers | |
127 | are included in the wxWidgets shared library anyway, this imposes only | |
128 | a very small amount of overhead and removes several unneccessary | |
129 | problems. | |
130 | ||
d1e05453 | 131 | Replaced wx/lib/pubsub.py with a version that uses weak references to |
89c876de RD |
132 | track the subscribers, plus other fixes/additions. Thanks go to |
133 | Oliver Schoenborn and Robb Shecter. | |
d1e05453 | 134 | |
89c876de RD |
135 | wxGTK now uses gtk_init_check so wxPython can raise an exception if |
136 | there is no DISPLAY available or other initializaion problem. | |
137 | ||
138 | wx.GetKeyState now has an implementation for wxGTK and is able to | |
139 | detect the up/down or toggle state of modifier and toggle keys. | |
140 | ||
141 | The LC_NUMERIC locale is now reset back to "C" (compatibility) when | |
142 | running on wxGTK to work around the fact that GTK requires the locale | |
143 | to be set to the system settings but Python depends on LC_NUMERIC | |
144 | remaining compatible with "C". | |
a3150741 | 145 | |
28eab81f RD |
146 | Switched gizmos.TreeListCtrl to the newer version of the code from the |
147 | wxCode project. | |
148 | ||
f847103a RD |
149 | OGL is dead! LONG LIVE OGL! (Oops, sorry. A bit of my dramatic side |
150 | leaked out there...) The wx.ogl module has been deprecated in favor | |
151 | of the new Python port of the OGL library located at wx.lib.ogl | |
152 |