Avoid warnings when combining wxStaticText styles with C++20
Because wxStaticText can contain arbitrary combinations of both
alignment and border flags, we need to allow using "|" on them, just as
it was done for a few other enums in 3d278ee75f (Avoid warnings about
operations on different enums in C++20 mode, 2021-04-25).
See #22656.
Closes #22657.
This commit is contained in:
parent
8e2c683bf7
commit
5477d4faa8
1 changed files with 1 additions and 0 deletions
|
|
@ -1468,6 +1468,7 @@ enum wxBorder
|
|||
wxALLOW_COMBINING_ENUMS(wxAlignment, wxDirection)
|
||||
wxALLOW_COMBINING_ENUMS(wxAlignment, wxGeometryCentre)
|
||||
wxALLOW_COMBINING_ENUMS(wxAlignment, wxStretch)
|
||||
wxALLOW_COMBINING_ENUMS(wxAlignment, wxBorder)
|
||||
wxALLOW_COMBINING_ENUMS(wxDirection, wxStretch)
|
||||
wxALLOW_COMBINING_ENUMS(wxDirection, wxGeometryCentre)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue