]> git.saurik.com Git - wxWidgets.git/blame - wxPython/docs/CHANGES.txt
Missed reversions
[wxWidgets.git] / wxPython / docs / CHANGES.txt
Content-type: text/html ]> git.saurik.com Git - wxWidgets.git/blame - wxPython/docs/CHANGES.txt


500 - Internal Server Error

Malformed UTF-8 character (fatal) at /usr/lib/x86_64-linux-gnu/perl5/5.40/HTML/Entities.pm line 485, <$fd> line 568.
CommitLineData
73adcb01 1Recent Changes for wxPython
8eda5e35 2=====================================================================
6d75ea8f 3
28eab81f 42.5.2.0
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
10be used for the minimum size. The wx.FIXED_MINSIZE flag was added
11that will cause the sizer to *not* call window methods to determine
12the new best size, instead the minsize that the window had when added
13to the sizer (or the size the window was created with) will always be
14used. When a window is added to a sizer it's initial size, if any, is
15set as the window's minimal size using SetSizeHints if there isn't
d7403ad2
RD
16already a minimal size. You can set the window's minimal size (via
17SetSizeHints) to manually control wha tthe sizer will use when
18calculating layout.
ba938c3d 19
c878ceea
RD
20Added new MaskedEditControl code from Will Sadkin. The modules are
21now locaed in their own sub-package, wx.lib.masked. Demos updated.
22
d7403ad2
RD
23The changes that implemented the incompatible wx.DC methods in 2.5.1.5
24have been reverted. The wx.DC methods are now compatible with the 2.4
25implemetation. In addition a set of renamed methods have been added
26that take wx.Point and/or wx.Size objects instead of individual
27parameters.
28
5841276a
RD
29Added wx.lib.mixins.listctrl.TextEditMixin, a mixin class that allows
30all columns of a wx.ListCtrl in report mode to be edited.
ba938c3d 31
165e6ca3
RD
32Deprecated the wx.iewin module.
33
34Deprecated the wx.Sizer.AddWindow, AddSizer, AddSpacer methods as well
35as their Insert* and Prepend* counterparts.
36
969d9b6f
RD
37Added a generic StaticBitmap class in wx.lib.statbmp for the same
38reasons that stattext was created, so it could be mouse sensitive on
39all platforms like normal windows. Also updated stattext.py and
40buttons.py to handle attribute (font & colour) defaults and
41inheritance the new way. If you have custom controls of your own you
42should review stattxt.py or one of the others to see how it is to be
43done.
165e6ca3 44
a3150741
RD
45wx.InitAllImageHandlers is now an empty function that does nothing but
46exist for backwards compatibility. The C++ version is now called
47automatically when wxPython is initialized. Since all the handlers
48are included in the wxWidgets shared library anyway, this imposes only
49a very small amount of overhead and removes several unneccessary
50problems.
51
d1e05453 52Replaced wx/lib/pubsub.py with a version that uses weak references to
89c876de
RD
53track the subscribers, plus other fixes/additions. Thanks go to
54Oliver Schoenborn and Robb Shecter.
d1e05453 55
89c876de
RD
56wxGTK now uses gtk_init_check so wxPython can raise an exception if
57there is no DISPLAY available or other initializaion problem.
58
59wx.GetKeyState now has an implementation for wxGTK and is able to
60detect the up/down or toggle state of modifier and toggle keys.
61
62The LC_NUMERIC locale is now reset back to "C" (compatibility) when
63running on wxGTK to work around the fact that GTK requires the locale
64to be set to the system settings but Python depends on LC_NUMERIC
65remaining compatible with "C".
a3150741 66
28eab81f
RD
67Switched gizmos.TreeListCtrl to the newer version of the code from the
68wxCode project.
69
70
71
ba938c3d 72
95fed4d8 73
db4daa84 742.5.1.5
3ef86e32
RD
75-------
76
33ab916f 77(See also the MigrationGuide_ file for details about some of the
7ca4c2e1
RD
78big changes that have happened in this release and how you should
79adapt your code.)
80
33ab916f
RD
81.. _MigrationGuide: MigrationGuide.html
82
83
e8a71fa0
RD
84The wxWindows project and library is now known as wxWidgets. Please
85see http://www.wxwindows.org/name.htm for more details. This won't
86really affect wxPython all that much, other than the fact that the
87wxwindows.org domain name will be changing to wxwidgets.org, so mail
88list, CVS, and etc. addresses will be changing. We're going to try
89and smooth the transition as much as possible, but I wanted you all to
90be aware of this change if you run into any issues.
91
92
3ef86e32 93Many, many little fixes, changes and additions done as part of the move
b25cb7db 94to wxWidgets 2.5 that I have forgotten about.
3ef86e32 95
3ef86e32
RD
96Added wxMirrorDC.
97
98Added wxIconLocation
99
b25cb7db
RD
100Added Python wrappers and demos for the new wxVScrolledWindow,
101wxVListBox, and wxHtmlListBox classes.
3ef86e32 102
edadef3f
RD
103Added wrappers for wxBookCtrl and wxListbook. wxNotebook now derives
104from wxBookCtrl.
105
9d6685e2
RD
106Added Gordon Williams' PyPlot module to the library, available as the
107wx.lib.plot module.
3ef86e32 108
e6a5dac6
RD
109I made a small but important change in the code that aquires the
110Python Global Interpreter Lock to try and prevent deadlocks that can
111happen when there are nested attempts to aquire the GIL.
112
b25cb7db
RD
113The RPMs will now install menu items on Mandrake Linux in
114Applications/Development/Tools for PyCrust, XRCed, etc. The RPMs are
115also installing icons and ``*.desktop`` items in the generic KDE and
116GNOME locations, but I don't know yet if they are resulting in menu
117items on non-Mandrake systems. (It didn't automatically do it on my
118RH-9 build box but I didn't chase it very far...) If you have ideas
119for how to improve the .spec file to work better and/or on more
120distros please send me a patch.
e6a5dac6 121
b25cb7db
RD
122The RPMs are now built on a fairly generic RH-9 box, and I have tested
123installing them also on my main Mandrake 9.2 box.
e6a5dac6
RD
124
125There are some big changes in the OS X disk image. The actual
126Installer package now *only* installs the wxMac dynlibs, wxPython
653d2f0c 127extension modules and Python packages, and also the command-line tool
e6a5dac6
RD
128scripts. The remaining items (demo, samples, and application bundles
129for the Demo, PyCrust and XRCed) are now top-level items in the disk
130image (.dmg file) that users can just drag and drop to wherever they
131want to put them.
132
78862f24
RD
133The wxWave class has been renamed to wxSound, and now has a slightly
134different API.
e6a5dac6 135
1a31cb0a 136