git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9660
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
//SetWindowLong(GetHwnd(), 0, (long)this);
wxModelessWindows.Append(this);
//SetWindowLong(GetHwnd(), 0, (long)this);
wxModelessWindows.Append(this);
+
+ // Necessary to make ResetWindowStyle() work
+ // and will be called eventually anyway
+ Activate();
+
+ // Without this, a maximized child will still
+ // a double border around the child
+ ResetWindowStyle((void *)NULL); // Set the Client ExStyle right
+