because some WMs don't respect the hints sufficiently.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14605
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// TODO: if we want no border, caption etc.,
// I think we set this to True to remove decorations
// No. RR.
// TODO: if we want no border, caption etc.,
// I think we set this to True to remove decorations
// No. RR.
- xattributes.override_redirect = False;
+ // Yes :-) JACS (because some WMs don't respect
+ // the hints)
+ xattributes.override_redirect = (style & wxNO_BORDER) ? True : False;