Don't use redundantly weird flags tests.
Closes #14020.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70654
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wmProp.flags |= GR_WM_FLAGS_PROPS ;
}
- if (((style & wxBORDER) != wxBORDER) && ((style & wxRESIZE_BORDER) != wxRESIZE_BORDER)
- && ((style & wxRESIZE_BORDER) != wxRESIZE_BORDER))
+ if ( !(style & wxBORDER) && !(style & wxRESIZE_BORDER) )
{
wmProp.props |= GR_WM_PROPS_NODECORATE ;
wmProp.flags |= GR_WM_FLAGS_PROPS ;