mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 09:40:07 +01:00
Update ANNOUNCE.txt
This commit is contained in:
@@ -9,109 +9,87 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Announcing wxPython 4.1.0
|
Announcing wxPython 4.1.1
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
PyPI: https://pypi.org/project/wxPython/4.1.0
|
PyPI: https://pypi.org/project/wxPython/4.1.1
|
||||||
Extras: https://extras.wxPython.org/wxPython4/extras/
|
Extras: https://extras.wxPython.org/wxPython4/extras/
|
||||||
Pip: ``pip install wxPython==4.1.0``
|
Pip: ``pip install wxPython==4.1.1``
|
||||||
|
|
||||||
Starting with this release wxPython has switched to tracking the
|
|
||||||
wxWidgets master branch (version 3.1.x) for the wxWidgets source code,
|
|
||||||
which wxPython is built upon, and which is included in the wxPython
|
|
||||||
source archives.
|
|
||||||
|
|
||||||
This will be the last release to include binaries for Python 2.7. The
|
|
||||||
code will likely still compile and be compatible with Python 2.7 for
|
|
||||||
some time, but no effort will be put into keeping it that way.
|
|
||||||
|
|
||||||
|
|
||||||
New and improved in this release:
|
New and improved in this release:
|
||||||
|
|
||||||
* Add a sample for wx.Font.AddPrivateFont to the demo.
|
* This should have been mentioned in the notes for the last release,
|
||||||
|
but alas, it wandered away and got lost. wxWidgets is now validating
|
||||||
|
the flags passed when adding items to a sizer, to ensure that they
|
||||||
|
are the correct flags for the type of the sizer. If the given flags
|
||||||
|
do not make sense, for example using horizontal alignment flags in a
|
||||||
|
horizontal box sizer, then a wxAssertionError error is raised.
|
||||||
|
|
||||||
* Added wrappers for the OSXEnableAutomaticQuoteSubstitution,
|
* Fixed missing binder for wxEVT_STC_AUTOCOMP_SELECTION_CHANGE. (#1613)
|
||||||
OSXEnableAutomaticDashSubstitution, and
|
|
||||||
OSXDisableAllSmartSubstitutions methods in wx.TextCtrl. Also added
|
|
||||||
OSXEnableAutomaticTabbing in wx.App.
|
|
||||||
|
|
||||||
* Added wx.ColourDialogEvent, wx.DCTextBgColourChanger,
|
* DataViewModel.HasValue can be overridden and will inform the
|
||||||
wx.DCTextBgModeChanger, wx.grid.GridCellDateRenderer,
|
DataViewCtrl whether or not an item and column has data. If HasValue
|
||||||
wx.grid.GridCellDateEditor, wx.SystemAppearance, etc.
|
returns False, then GetValue for that item/col will not be called.
|
||||||
|
This allows a distinction between a truly empty cell, and one that
|
||||||
|
has a value even if it is an empty string. (#1600)
|
||||||
|
|
||||||
* Many of the deprecated items in wxWidgets and wxPython are being or
|
* Added flag that allows blocking of item dragging in the
|
||||||
have been removed. Be sure to test your code in a recent 4.0.x
|
UltimateListControl class. (PR#1620)
|
||||||
release with warnings enabled so you can see which class, method or
|
|
||||||
function calls you need to change.
|
|
||||||
|
|
||||||
* Bug fixes in wx.lib.calendar: key navigation across month boundaries
|
* Add the column index to notification events in UltimateListControl
|
||||||
is now possible; key navigation now sets the date and fires the
|
(PR#1630)
|
||||||
EVT_CALENDAR event; setter APIs now set the date correctly (#1230).
|
|
||||||
|
|
||||||
* Switch to using a wx.Overlay in the Widget Inspection Tool to
|
* Added orientation parameter to UltimateListControl.GetScrollPos.
|
||||||
highlight widgets when running on a GTK3 port.
|
(PR#1632)
|
||||||
|
|
||||||
* Fixed issue in wx.lib.agw.customtreectrl where the label editor
|
* wx.lib.agw.aui.AuiNotebook RemovePage() now hides the removed page,
|
||||||
could remain stuck forever (#1235).
|
so it needs to be shown again if it is reused in another place.
|
||||||
|
(PR#1668)
|
||||||
|
|
||||||
* Grafted on a EnableSystemTheme method to the classes which support
|
* Fixed issue that could modify `bytes` objects under Python. (PR#1680)
|
||||||
it. This can be used to disable the default system theme on Windows
|
|
||||||
for native widgets like wx.ListCtrl, wx.TreeCtrl and
|
|
||||||
wx.dataview.DataViewCtrl. It has no effect on the other platforms.
|
|
||||||
|
|
||||||
* The wx.WS_EX_VALIDATE_RECURSIVELY extended style flag is obsolete,
|
* Added wx.lib.agw.aui.EVT_AUI_PANE_CLOSE event which is sent when a
|
||||||
as it is now the default (and only) behavior. The style flag has
|
AUI (the agw version) Pane has been closed (after it has been
|
||||||
been added back into wxPython for compatibility, but with a zero
|
closed, not when it is about to be closed, which is when
|
||||||
value. You can just stop using it in your code with no change in
|
EVT_AUI_PANE_CLOSE is sent.) (PR#1628)
|
||||||
behavior. (#1278)
|
|
||||||
|
|
||||||
* Fix a sometimes crash when using a wx.Overlay by letting the
|
* Exposed the wx.DC methods GetGraphicsContext and SetGraphicsContext.
|
||||||
wx.DCOverlay hold a reference to the DC, to ensure that the
|
Depending on the platform and the type of the DC, there may be a
|
||||||
DCOverlay is destroyed first. (PR#1301)
|
wx.GraphicsContext used for the implementation of the DC. If so, the
|
||||||
|
GetGraphicsContext method enables access to it. Be sure to check
|
||||||
|
that the return value is not None before trying to use it.
|
||||||
|
|
||||||
* Replaced the Vagrant VMs used for building wxPython for various
|
* Simplified the implementation of the wx.App.InitLocale method. See the
|
||||||
Linux distros with Docker images.
|
MigrationGuide for more information.
|
||||||
|
|
||||||
* Add some missing methods in wx.adv.BitmapComboBox (#1307)
|
* Added wx.lib.agw.aui.AUI_DOCKART_HINT_WINDOW_BORDER_COLOUR constant
|
||||||
|
so the hint window border color can be themed as well.
|
||||||
|
|
||||||
* Added the wx.svg package which contains code for parsing SVG
|
* The wx.lib.mixins.listCtrl.CheckListCtrlMixin is now obsolete
|
||||||
(Scalable Vector Graphics) files, and also code for integrating with
|
because wx.ListCtrl has new functionality which does pretty much the
|
||||||
wxPython. It can rasterize the SVG to a wx.Bitmap of any size with
|
same thing. In fact there is some overlap in method names which may
|
||||||
no loss of quality, and it can also render the SVG directly to a
|
trip up some use cases. It is advised to drop the use of
|
||||||
wx.GraphicsContext using the GC's drawing primitives. (PR #1323)
|
CheckListCtrlMixin and just use the wx.ListBox functionality. You
|
||||||
|
will need to call EnableCheckBoxes to turn it on, and you may need
|
||||||
|
to change some event handlers or overloaded methods.
|
||||||
|
|
||||||
* Ported the embedding sample from Classic, which shows how to use
|
* wx.html2.WebView is now able to use Microsoft's Edge browser
|
||||||
wxPython from a C++ wxWidgets application that embeds Python. (PR
|
component as its backend renderer. This should improve the
|
||||||
#1353)
|
capabilities of the WebView widget on Windows, and be more
|
||||||
|
consistent with the WebViews on the other platforms, compared to the
|
||||||
|
original IE 11 backend. Using this backed requires that a new-ish
|
||||||
|
version of the Edge browser is installed on the end user's computer.
|
||||||
|
|
||||||
* Fixed wx.GetApp() to use wxWidgets' global wxApp instance instead of
|
* Added the wx.Image.ConvertToRegion method. This lets you create a
|
||||||
maintaining its own pointer. This way, if the wxApp is created by
|
wx.Region from an image and a specified color or the mask if the
|
||||||
C++ code wxPython will still be able to get access to it. (#1126)
|
image has one. This was done to workaround a bug in wxMac, but it
|
||||||
|
seems worthwhile enough to keep it around even after the bug was
|
||||||
|
fixed.
|
||||||
|
|
||||||
* Added wrappers for the wx.ActivityIndicator class.
|
* Added the missing context manager methods for wx.LogNull. (#1842)
|
||||||
|
|
||||||
* Added wrappers for the wx.CollapsibleHeaderCtrl class.
|
* Refactored ScrolledThumbnail out of agw.ThumbnailCtrl so as to be
|
||||||
|
usable outside of ThumbnailCtrl.
|
||||||
* Fixed issues in PlotCanvas around displaying and using
|
|
||||||
scrollbars. (#1428)
|
|
||||||
|
|
||||||
* Added wx.msw.CHMHelpController, and also a wx.HelpController factory
|
|
||||||
function that creates an instance of the best Help Controller for
|
|
||||||
the platform. (#1536)
|
|
||||||
|
|
||||||
* Added wx.adv.GenericAnimationCtrl so the generic version of the
|
|
||||||
animation classes can be used even on the platforms that have a
|
|
||||||
native version. Note that due to internal changes to support both
|
|
||||||
types of animations, some API changes in how the Animation objects
|
|
||||||
are created. See the AnimationCtrl.py sample in the demo for the
|
|
||||||
various usage patterns (#1579)
|
|
||||||
|
|
||||||
* Added wrappers for the wx.grid.GridBlockCoords, wx.grid.GridBlocks,
|
|
||||||
and wx.grid.GridBlockDiffResult classes, as well as associated new
|
|
||||||
methods in the wx.grid.Grid class. These provide a new way to
|
|
||||||
interact with blocks of selected cells, including an iterator
|
|
||||||
interface in wx.grid.GridBlocks which should be a more efficient
|
|
||||||
(time and memory) way to process large groups of selections.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user