Skip to content

Commit

Permalink
Add a note about the sizer item flags validation to the Migration Guide
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinD42 committed Aug 7, 2020
1 parent 8b67017 commit 10dbdaa
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/MigrationGuide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 10dbdaa

Please sign in to comment.