mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-08 21:10:06 +01:00
Add a note about the sizer item flags validation to the Migration Guide
This commit is contained in:
@@ -711,6 +711,17 @@ override `InitLocale` if needed.
|
||||
|
||||
|
||||
|
||||
Sizer item flags validation
|
||||
---------------------------
|
||||
|
||||
Starting with wxPython 4.1, 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.
|
||||
|
||||
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
:hidden:
|
||||
|
||||
Reference in New Issue
Block a user