Validate wxBoxSizer flags instead of silently ignoring invalid combinations.

Detect using flags corresponding to the major sizer direction (which doesn't
make sense as only the proportion governs the behaviour in this direction) and
also combinations of alignment flags with wxEXPAND.
This commit is contained in:
Vadim Zeitlin
2015-04-03 16:32:32 +02:00
parent 7811394694
commit 78b98bf00c
4 changed files with 121 additions and 2 deletions

View File

@@ -24,6 +24,8 @@ Changes in behaviour not resulting in compilation errors
- Creating wxBitmap with 0 width or height now always fails in all ports
(it used to succeed in wxMSW).
- Using invalid flags with wxBoxSizer items now triggers asserts.
Changes in behaviour which may result in build errors
-----------------------------------------------------