Follow-up Comment #1, bug #27930 (project gnustep):

and I've found a workaround...

My code replaces the window content view with the new main view,
if instead the main view is itself set as a subview of the pre-existing
content view,  things work as expected.

i.e. in the sample code,  in do_window(),  replace
        [window setContentView: mainView];
with
        [[window contentView] addSubview:mainView];

Which may give a hint as to what is happening.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27930>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to