The following minimal code fails. I got the error:
w32_GLcontext.m:112 Assertion failed in Win32Subwindow(instance), method initWithView:. request of a window attachment on a view that is not on a NSWindow.
I tried to debug it in parsing gnustep gui and backend sources. I found that it fails when setting the opengl context, just before calling CreateWindow (win32 function).
It exactly fails on this: [glview window], I mean it returns nil. I think maybe something is wrong in NSView::initWithFrame, the _window member is not initialized. mhh I was not able to find where this _window member of NSView is initialized.