No changes, just simplify some code in wxX11.
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
This commit is contained in:
@@ -726,8 +726,7 @@ bool wxSetWMDecorations(Window w, long style)
|
||||
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 ;
|
||||
|
||||
Reference in New Issue
Block a user