GrandOrgue / GoOdf

A tool for creating/editing organ definition files for GrandOrgue
GNU General Public License v3.0
12 stars 2 forks source link

Assertion "CheckSizerFlags(!((flags) & (wxALIGN_CENTRE_VERTICAL)))" failed #69

Closed ahall41 closed 1 year ago

ahall41 commented 1 year ago

Running on Ubuntu Cinnamon:

/src/common/sizer.cpp(2258): assert "CheckSizerFlags(!((flags) & (wxALIGN_CENTRE_VERTICAL)))" failed in DoInsert(): wxALIGN_CENTRE_VERTICAL will be ignored in this sizer: only horizontal alignment flags can be used in vertical sizers

DO NOT PANIC !!

If you're an end user running a program not developed by you, please ignore this message, it is harmless, and please try reporting the problem to the program developers.

You may also set WXSUPPRESS_SIZER_FLAGS_CHECK environment variable to suppress all such checks when running this program.

If you're the developer, simply remove this flag from your code to avoid getting this message. You can also call wxSizerFlags::DisableConsistencyChecks() to globally disable all such checks, but this is strongly not recommended.

Reporting the message to the developer as suggested :-)

larspalo commented 1 year ago

Thanks for reporting! Yes, I remember seeing this warning when building with wx 3.2 a while ago. It's harmless but eventually needs fixing.

larspalo commented 1 year ago

Should be fixed with 97a0c5f5babc97b27b49c22ed31f5d9e963896b1.

ahall41 commented 1 year ago

:-)